- Notifications
You must be signed in to change notification settings - Fork0
rsrdjan/srsh
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Simple TLS-enabled reverse shell framework (agent and server)
git clone https://github.com/rsrdjan/srsh.gitcd srshmake all
You canmake
individual components orall
. Individual components are:
make cert
- invocatesopenssl
command-line tool to generate self-signed x509 certificate and private key (both needed forsrsh-server
) in interactive mode. Certificate outputs tocert.crt
file and private key topriv.key
file.
make server
- builds server
make agent
- builds agent
make clean
- removes object files
srsh-server -c certfile -k privkeyfile [-p port]
Loadscertfile
andprivkeyfile
previously generated withmake cert
and starts listening onport
. Ifport
is omitted, 1982 is the default one.
srsh-agent [-p port] ip/fqdn
Connects toip/fqdn
onport
. Ifport
is omitted, 1982 is the default one. Agent forks and goes into background.
List of changes is contained inchangelog.
Tested onOpenBSD and Linux. Enjoy.