Skip to main content

Python reverse bash shell

Project description

Install

pip install reshell

Usage

On the host launch receiver with

$ nc -lvp 12345

On destination host launch shell:

$ export RESHELL_TARGET=127.0.0.1:12345
$ reshell

Background

Imagine crazy environment. You can deploy Python package to remote host and have it running. And for some reason it doesn’t work. But you don’t have SSH access and can’t debug it or see startup logs. Also you don’t know in advance what will be network address of the remote host.

But you have a dev machine in the same network, where you are free to run anything. So you deploy reverse shell through regular deployment process and poke around and figure out what’s wrong.

History

0.1.0 (2015-02-30)

  • First release on PyPI.

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

reshell-0.1.2.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

reshell-0.1.2-py2.py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 2 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