mirror of
https://github.com/dobin/SuperMega
synced 2026-06-02 17:27:10 +00:00
refactor: fix tester, remove dlls/
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
<h3>Injectable</h3>
|
||||
<code>--inject <filename.exe> </code><br>
|
||||
|
||||
A 64-bit Windows PE executable used as a trojan. The shellcode will be injected in this EXE.
|
||||
The original functionality of the EXE will not work anymore (it will only execute the carrier
|
||||
A 64-bit Windows PE executable used as a trojan. The shellcode will be injected in this EXE or DLL.
|
||||
The original functionality of the EXE/DLL will not work anymore (it will only execute the carrier
|
||||
with the shellcode it is carrying)
|
||||
<br>
|
||||
Located in the <code>data/binary/exes/</code> directory. <br>
|
||||
|
||||
+1
-4
@@ -15,16 +15,13 @@ logger = logging.getLogger("Views")
|
||||
@views.route("/")
|
||||
def index():
|
||||
return render_template('index.html')
|
||||
return redirect("/project/default", code=302)
|
||||
|
||||
|
||||
@views.route("/exes/<exe_name>")
|
||||
def exe_view(exe_name):
|
||||
filepath = "{}{}".format(PATH_EXES, exe_name)
|
||||
if not os.path.exists(filepath):
|
||||
filepath = "{}{}".format(PATH_EXES_MORE, exe_name)
|
||||
if not os.path.exists(filepath):
|
||||
return "File not found: {}".format(exe_name)
|
||||
return "File not found: {}".format(exe_name)
|
||||
|
||||
superpe = SuperPe(filepath)
|
||||
|
||||
|
||||
@@ -98,7 +98,6 @@ def project(name):
|
||||
project_dir = os.path.dirname(os.getcwd() + "\\" + project_setting.project_path)
|
||||
log_files = get_logfiles(project_setting.project_path)
|
||||
exes = list_files_and_sizes(PATH_EXES)
|
||||
#exes += list_files_and_sizes(PATH_EXES_MORE, prepend=PATH_EXES_MORE)
|
||||
shellcodes = list_files_and_sizes(PATH_SHELLCODES)
|
||||
|
||||
carrier_names = get_template_names()
|
||||
|
||||
Reference in New Issue
Block a user