Skip to content

Commit 8ca45f1

Browse files
authored
Update shell.py
1 parent 6c43709 commit 8ca45f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dlls/shell.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def execute_command(command):
1010
exit_code = process.wait()
1111
return exit_code
1212

13-
def inject_shell(pid, bp:None):
13+
def inject_shell(pid, bp=None):
1414
if bp == None:
1515
exit_code = execute_command(['dlls\\NativeInjector.exe', os.path.abspath("dlls\\pyshell.dll"), pid])
1616
else:
@@ -22,7 +22,7 @@ def inject_shell(pid, bp:None):
2222
else:
2323
return (None, False)
2424

25-
def stealth_inject_shell(pid, bp:None):
25+
def stealth_inject_shell(pid, bp=None):
2626
file_name = ''.join(random.choice(string.ascii_letters + string.digits) for _ in range(random.randint(5,20)))
2727
if bp == None:
2828
shutil.copy2('dlls\\NativeInjector.exe', f'dlls\\{file_name}.exe')

0 commit comments

Comments
 (0)