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
* Prompt for interface instead of defaulting to localhost
* Remove unused function
* Node reverse shell support
* Add option to pass in a list of bins to test, ignoring others
Automate converting webshells into reverse shells.
13
13
@@ -16,13 +16,14 @@ positional arguments:
16
16
17
17
options:
18
18
-h, --help show this help message and exit
19
+
-v, --verbose verbose command output
19
20
-i INTERFACE, --interface INTERFACE
20
-
the interface to use when listening for a remote shell. Default is localhost.
21
+
the interface to use when listening for a remote shell. If none is provided you will be prompted to select one.
21
22
--force force command execution even if initial check is invalid
22
23
--ip IP IP address of your own listener (skips listener setup if both IP and port are set)
23
24
--port PORT port of your own listener
24
25
--nc NC path to local nc binary
25
-
--verbose verbose command output
26
+
--only [ONLY ...]list of bins to test, ignores all others. ex: --only python php node
26
27
```
27
28
28
29
Providing an IP and port will cause the program to skip the listener setup and assume you already have netcat/a comparable listener running at that address.
@@ -46,7 +47,7 @@ The included payloads have all been tested on a simple webshell and work. If you
46
47
Example execution on local Docker image (see `demo/README.md`)
Copy file name to clipboardExpand all lines: demo/README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,13 @@
4
4
2. Run the image (`docker run -it -p 8080:80 webshell`)
5
5
3. Use web2shell to secure a remote connection on the docker0 interface (`python3 web2shell.py --interface docker0 http://127.0.0.1:8080/cmd.php?cmd=SHELL`)
6
6
7
+
You can test individual shells with the `--only` flag. Please read the help menu for more info.
8
+
7
9
Note: This Docker container has the binaries for all supported reverse shells. They are as follows:
0 commit comments