Skip to content

simonfalke-01/rsh

Repository files navigation

Rust Reverse Shell

Contents

What is rsh?

rsh is a reverse shell written in Rust.
It is a Work In Progress, and not ready for use yet.

In a reverse shell, the server listens for connections, and the client connects to it. The client is the one that executes the commands and sends it back to the server. This project is licensed under the GPL-3 License.

Installation

Note: Installation instructions do not currently work.
rsh can be installed on your system by running one of the commands below in your terminal. An installation script will be run. You must have git, and either curl or wget installed.

Commands

Method Command
curl /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/simonfalke-01/rsh/main/install.sh)"
wget /bin/bash -c "$(wget -O- https://raw.githubusercontent.com/simonfalke-01/rsh/main/install.sh)"
fetch /bin/bash -c "$(fetch -o - https://raw.githubusercontent.com/simonfalke-01/rsh/main/install.sh)"

Inspection

If you would like to inspect the script before running it, you can download the script by running the following command:

wget https://raw.githubusercontent.com/simonfalke-01/rsh/main/install.sh

After you are done, you can run the script with

chmod +x ./install.sh && ./install.sh

Usage

The server script should be run first, which sets up a listener (default on port 8080, localhost, if none are specified).
Run the following commands on the respective systems. Substitute <address> and <port> for the address and port that you would like to bind/connect to.

Server

rsh server <address> <port>

Client

rshc client <address> <port>

Contributing

Please read the Contributing Guidelines for more info.

FAQ

- Why is it "rsh"? Shouldn't it be "rrs"?

A simple diagram for this:


rsh


Don't ask.

- Why Rust? Why not C/C++?

Image of C segfaulting





michelle please be my girlfriend

About

rsh - Rust Reverse Shell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages