Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/redcode-labs/Revssl

A script that automates generation of OpenSSL reverse shells
https://github.com/redcode-labs/Revssl

openssl openssl-reverse reverse-shell

Last synced: about 1 month ago
JSON representation

A script that automates generation of OpenSSL reverse shells

Awesome Lists containing this project

README

        



Revssl


A simple Bash script that makes generation of OpenSSL reverse shells painless

## Table of Contents

- [Introduction](#introduction)
- [Usage](#usage)
- [Screenshot](#screenshot)
- [License](#license)

## Introduction
Revssl was created mainly to automate the OpenSSL reverse shell idea [from here](https://medium.com/@int0x33/day-43-reverse-shell-with-openssl-1ee2574aa998), and pack it into a single
script. It can generate agents both for Linux and Windows, providing a secure and encrypted remote control channel. I am still working on OSX implementation.
This code isn't perfect, so feel free to open new issues and contribute :D

## Usage
```
usage: revssl [-h] [-i] [-e ] [-d ] [-l ]
[-p ] [-k ] [-c ] [-p ]
[-o] [-n ] [-s ] [-r]
options:
-h Show help message
-i Initiate listener in OpenSSL
-e
Choose encryption type (default: rsa:4096)
-d
Set certificates lifetime
-l
Set listening host (default: 192.168.1.102)
-p
Set listening port (default: 443)
-k
Set name of generated key file (default: key.pem)
-c
Set name of generated cert file (default: cert.pem)
-p
Select agent platform (windows or linux, default: linux)
-s
Domain name for Windows Powershell agent (default: domain.xyz)
-o Write agent to a file
-n
Select name of the agent file (default: openssl_revshell)
-r Remove generated certificates after established session
```
## Screenshot



screenshot

## License
This software is under [MIT License](https://en.wikipedia.org/wiki/MIT_License)