From 70c4a95b1b957a18ff252217bab4c09a6520b2ab Mon Sep 17 00:00:00 2001 From: Dobin Date: Sun, 14 Apr 2024 21:37:54 +0100 Subject: [PATCH] ui: more information --- app/templates/exe.html | 35 ++++++++++++++++++++++++----------- app/templates/project.html | 26 +++++++++++++++----------- app/views.py | 6 +++++- app/views_project.py | 13 +++++++++++++ model/rangemanager.py | 31 ++++++++++++++++++++++++++++++- pe/superpe.py | 6 +++++- tests/test_rangemanager.py | 3 +++ 7 files changed, 95 insertions(+), 25 deletions(-) diff --git a/app/templates/exe.html b/app/templates/exe.html index 97a742c..f0a25a1 100644 --- a/app/templates/exe.html +++ b/app/templates/exe.html @@ -7,10 +7,30 @@ {% include 'navigation.html' %}
+
+ +

Sections

-

Exports

+
+ {% if iat|length > 0 %} +

Imports - IAT

+ {% for dll in iat %} +
    + {% for entry in iat[dll] %} +
  • {{ entry.dll_name }}: {{ entry.func_name }} ({{ entry.iat_vaddr | hexint }})
  • + {% endfor%} +
+ {% endfor %} + {% endif %} +
+ + +
+ +{% if exports|length > 0 %} +

DLL Exports

@@ -25,19 +45,12 @@ {% endfor %}
Name
+{% endif %} -

IAT

- -{% for dll in iat %} -

DLL: {{dll}}

-
    - {% for entry in iat[dll] %} -
  • {{ entry.dll_name }}: {{ entry.func_name }} ({{ entry.iat_vaddr | hexint }})
  • - {% endfor%} -
-{% endfor %} +
+
\ No newline at end of file diff --git a/app/templates/project.html b/app/templates/project.html index 8054dce..cbc1a58 100644 --- a/app/templates/project.html +++ b/app/templates/project.html @@ -10,7 +10,6 @@

{{project_name}}

-
@@ -72,7 +71,7 @@ + {{exe | basename}} {% endfor %} @@ -84,11 +83,10 @@ > {{export['name']}} ({{export['size']}}) {% endfor %} - + + INFO {% endif %} - - Is x64: {{ is_64}}
- Is Dotnet: {{ is_dotnet}} +
@@ -109,10 +107,6 @@ {% endfor %} -
- - -