refactor: cleanup 3

This commit is contained in:
Dobin
2024-03-01 14:07:18 +00:00
parent 112964c11c
commit 9e551d9a19
8 changed files with 36 additions and 42 deletions
+1 -5
View File
@@ -48,11 +48,7 @@ def inject():
settings.exec_style = ExecStyle[exec_style]
inject_style = request.form['inject_style']
inject_style = InjectStyle[inject_style]
if inject_style == InjectStyle.ENTRY:
settings.inject_mode = 1
elif inject_style == InjectStyle.HIJACK:
settings.inject_mode = 2
settings.inject_style = InjectStyle[inject_style]
print(str(settings))
start(settings)