Karan-S-Mittal / pync

arbitrary TCP and UDP connections and listens (Netcat for Python).

Home Page:https://pync.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pync pync


Name

pync - arbitrary TCP and UDP connections and listens (Netcat for Python).

Synopsis

Unix
pync [-46bCDdhklnruvz] [-e command] [-I length] [-i interval]
     [-O length] [-P proxy_username] [-p source_port] [-q seconds]
     [-s source] [-T toskeyword] [-X proxy_protocol]
     [-x proxy_address[:port]] [dest] [port]
Windows
py -m pync [-46bCDdhklnruvz] [-e command] [-I length] [-i interval]
           [-O length] [-P proxy_username] [-p source_port] [-q seconds]
           [-s source] [-T toskeyword] [-X proxy_protocol]
           [-x proxy_address[:port]] [dest] [port]
Python
from pync import pync
args = '''[-46bCDdhklnruvz] [-e command] [-I length] [-i interval]
          [-O length] [-P proxy_username] [-p source_port] [-q seconds]
          [-s source] [-T toskeyword] [-X proxy_protocol]
          [-x proxy_address[:port]] [dest] [port]'''
pync(args, stdin, stdout, stderr)

Description

Inspired by the Black Hat Python book, the goal of pync was to create an easy to use library that provides Netcat-like functionality for Python developers.

Common uses include:

Installation

pync should work on any system with Python installed (version 2.7 or higher).

Use Python's pip command to install pync straight from github:

Unix
pip install https://github.com/brenw0rth/pync/archive/main.zip
Windows
py -m pip install https://github.com/brenw0rth/pync/archive/main.zip

Documentation

See Also

License

See LICENSE

About

arbitrary TCP and UDP connections and listens (Netcat for Python).

https://pync.readthedocs.io

License:MIT License


Languages

Language:Python 100.0%