File tree Expand file tree Collapse file tree 3 files changed +49
-0
lines changed
Background-Payload-Runner Expand file tree Collapse file tree 3 files changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ # A PYTHON SCRIPT TO RUN PAYLOADS IN THE BACKGROUND
2
+
3
+
4
+ Input:
5
+ 1 . Which command line to use (command prompt or powershell)
6
+ 2 . time delay after which payload will run
7
+ 3 . Payload that is to be executed in the background
8
+
9
+
10
+
11
+ The payload can be any payload
12
+ > can be a harmless rickroll payload
13
+ > can be a payload that connects to a hacker's computer with reverse-shell
14
+
15
+ Possibilities of the payload are endless , SKY IS THE LIMIT
Original file line number Diff line number Diff line change
1
+ background == 0.2.1
Original file line number Diff line number Diff line change
1
+ import time
2
+ import background
3
+ import os
4
+
5
+ ##select which command line you want to run the payload on
6
+ ##commandline="cmd /c "
7
+ commandline = "powershell "
8
+
9
+ time_delay = 0 ##in seconds
10
+
11
+ ##CUSTOM PAYLOAD
12
+ payload = "Start-process chrome.exe https://www.youtube.com/watch?v=dQw4w9WgXcQ" ##rickroll payload
13
+
14
+
15
+ ##other payloads (example)
16
+ ##payload="shutdown"
17
+ ## --shuts down the machine without any confirmation
18
+
19
+ ##payload="shutdown -force -restart"
20
+ ## --restarts the machine without any confirmation
21
+ ##payload="netsh wlan disconnect"
22
+ ## --disconnects the wifi of the machine
23
+
24
+ ##THESE ARE JUST A FEW. The possibilities are endless
25
+
26
+
27
+
28
+ @background .task
29
+ def work ():
30
+ if (time_delay != 0 ):
31
+ time .sleep (time_delay )
32
+ os .system (commandline + payload )
33
+ work ()
You can’t perform that action at this time.
0 commit comments