feature: ui: sections in exes/

This commit is contained in:
Dobin
2024-04-19 21:02:16 +01:00
parent f9aa7e84d8
commit ab6823c7aa
2 changed files with 56 additions and 6 deletions
+15 -1
View File
@@ -31,7 +31,21 @@ def exe_view(exe_name):
def exes_view():
exes = []
for file in os.listdir(PATH_EXES):
exes.append(file)
if not file.endswith(".dll") and not file.endswith(".exe"):
continue
if '.verify' in file or '.test' in file:
continue
superpe = SuperPe("{}/{}".format(PATH_EXES, file))
e = {
'name': file,
#'exports': superpe.get_exports_full(),
#'iat': superpe.get_iat_entries(),
'sections': superpe.pe_sections,
}
exes.append(e)
#break
return render_template('exes.html', exes=exes)