Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thesecondsun/revssl
A script that automates generation of OpenSSL reverse shells
https://github.com/thesecondsun/revssl
openssl openssl-reverse reverse-shell
Last synced: 3 days ago
JSON representation
A script that automates generation of OpenSSL reverse shells
- Host: GitHub
- URL: https://github.com/thesecondsun/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-10-25T14:00:00.322Z (about 2 months ago)
- Topics: openssl, openssl-reverse, reverse-shell
- Language: Shell
- Homepage:
- Size: 127 KB
- Stars: 299
- Watchers: 13
- Forks: 42
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-network-stuff - **251**星
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)