We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c43709 commit 8ca45f1Copy full SHA for 8ca45f1
dlls/shell.py
@@ -10,7 +10,7 @@ def execute_command(command):
10
exit_code = process.wait()
11
return exit_code
12
13
-def inject_shell(pid, bp:None):
+def inject_shell(pid, bp=None):
14
if bp == None:
15
exit_code = execute_command(['dlls\\NativeInjector.exe', os.path.abspath("dlls\\pyshell.dll"), pid])
16
else:
@@ -22,7 +22,7 @@ def inject_shell(pid, bp:None):
22
23
return (None, False)
24
25
-def stealth_inject_shell(pid, bp:None):
+def stealth_inject_shell(pid, bp=None):
26
file_name = ''.join(random.choice(string.ascii_letters + string.digits) for _ in range(random.randint(5,20)))
27
28
shutil.copy2('dlls\\NativeInjector.exe', f'dlls\\{file_name}.exe')
0 commit comments