Skip to content

bw0rth/pync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pync pync


Name

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

Synopsis

Unix
pync [-46bCDdhklnruvz] [-c string] [-e filename] [-I length]
     [-i interval] [-O length] [-P proxy_username] [-p source_port]
     [-q seconds] [-s source] [-T toskeyword] [-w timeout]
     [-X proxy_protocol] [-x proxy_address[:port]] [dest] [port]
Windows
py -m pync [-46bCDdhklnruvz] [-c string] [-e filename] [-I length]
           [-i interval] [-O length] [-P proxy_username] [-p source_port]
           [-q seconds] [-s source] [-T toskeyword] [-w timeout]
           [-X proxy_protocol] [-x proxy_address[:port]] [dest] [port]
Python
from pync import pync
args = '''[-46bCDdhklnruvz] [-c string] [-e filename] [-I length]
          [-i interval] [-O length] [-P proxy_username] [-p source_port]
          [-q seconds] [-s source] [-T toskeyword] [-w timeout]
          [-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