diff --git a/app/templates/injectables.html b/app/templates/injectables.html
index 6befd6a..38169cd 100644
--- a/app/templates/injectables.html
+++ b/app/templates/injectables.html
@@ -14,15 +14,27 @@
{{injectable['name']}}
More details
+
+ - Image base: {{ injectable['superpe'].get_image_base()|hexint }}
+ - Entry point: {{ injectable['superpe'].get_entrypoint()|hexint }}
+ - Code section: {{ injectable['superpe'].get_code_section().Name }}
+
+
| name |
+ raw offset |
raw size |
+ RVA |
+ VA |
- {% for section in injectable['sections'] %}
+ {% for section in injectable['superpe'].pe_sections %}
- | {{section['name']}} |
- {{section['raw_size']}} |
+ {{section.name}} |
+ {{section.raw_addr}} |
+ {{section.raw_size}} |
+ {{section.virt_addr|hexint}} |
+ {{(section.virt_addr + injectable['superpe'].get_image_base())|hexint}} |
{% endfor %}
diff --git a/app/views.py b/app/views.py
index 9804765..95f68d4 100644
--- a/app/views.py
+++ b/app/views.py
@@ -48,11 +48,13 @@ def injectables_view():
'name': file,
#'exports': superpe.get_exports_full(),
#'iat': superpe.get_iat_entries(),
- 'sections': superpe.pe_sections,
+ 'superpe': superpe,
+ #'sections': superpe.pe_sections,
}
injectables.append(e)
#break
- return render_template('injectables.html', injectables=injectables)
+ return render_template('injectables.html',
+ injectables=injectables)
@views.app_template_filter('hexint')