Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 months ago
JSON representation
A script that automates generation of OpenSSL reverse shells
- Host: GitHub
- URL: https://github.com/redcode-labs/Revssl
- Owner: redcode-labs
- License: mit
- Created: 2019-07-14T20:48:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-24T17:54:00.000Z (about 4 years ago)
- Last Synced: 2024-07-30T05:18:22.818Z (3 months ago)
- Topics: openssl, openssl-reverse, reverse-shell
- Language: Shell
- Homepage:
- Size: 127 KB
- Stars: 298
- Watchers: 13
- Forks: 42
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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## License
This software is under [MIT License](https://en.wikipedia.org/wiki/MIT_License)