Skip to main content

Unified io lib for pwning development written in python.

Project description

zio

zio is an easy-to-use io library for pwning development, supporting an unified interface for local process pwning and TCP socket io.

The primary goal of zio is to provide unified io interface between process stdin/stdout and TCP socket io. So when you have done local pwning development, you only need to change the io target to pwn the remote server.

The following code illustrate the basic idea.

from zio import *

debug_local = True

if debug_local:
    io = zio('./buggy-server')            # used for local pwning development
elif you_are_pwning_remote_server:
    io = zio(('1.2.3.4', 1337))           # used to exploit remote service

io.read_until(b'Welcome banner')
io.write(your_awesome_ropchain_or_shellcode)
# hey, we got an interactive shell!
io.interact()

License

zio use SATA License (Star And Thank Author License), so you have to star this project before using. Read the LICENSE.txt carefully.

Installation

This is a single-file project so in most cases you can just download zio.py and start using.

pip is also supported, so you can also install by running

$ pip install zio

More Info

Goto zio <https://github.com/zTrix/zio> for more information.

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

zio-2.1.3.tar.gz (25.0 kB view details)

Uploaded Source

File details

Details for the file zio-2.1.3.tar.gz.

File metadata

  • Download URL: zio-2.1.3.tar.gz
  • Upload date:
  • Size: 25.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for zio-2.1.3.tar.gz
Algorithm Hash digest
SHA256 b884769c27dd57ad424e2d521e49cc7e6730ca2f257d4d0d792509356845b979
MD5 d745c43d0545e1739e839ed166f96e33
BLAKE2b-256 30b2fd84a8ebe07080b0ed03ecf8cbb8cf9108768fa74833ae5a45f2ba07ab9d

See more details on using hashes here.

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