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 + + + + + - {% for section in injectable['sections'] %} + {% for section in injectable['superpe'].pe_sections %} - - + + + + + {% endfor %}
nameraw offset raw sizeRVAVA
{{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}}
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')