Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rhelmot/nclib
Netcat as a python library
https://github.com/rhelmot/nclib
daemonize easy-to-use netcat pwntools python socat socket
Last synced: 7 days ago
JSON representation
Netcat as a python library
- Host: GitHub
- URL: https://github.com/rhelmot/nclib
- Owner: rhelmot
- License: mit
- Created: 2016-09-15T08:30:36.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2023-10-04T09:31:13.000Z (about 1 year ago)
- Last Synced: 2024-05-01T21:29:06.763Z (6 months ago)
- Topics: daemonize, easy-to-use, netcat, pwntools, python, socat, socket
- Language: Python
- Size: 152 KB
- Stars: 68
- Watchers: 8
- Forks: 11
- Open Issues: 6
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
- awesome-network-stuff - **33**星
README
nclib
=====nclib is a python socket library that wants to be your friend.
nclib provides:
- Easy-to-use interfaces for connecting to and listening on TCP and UDP sockets
- The ability to handle any python stream-like object with a single interface
- A better socket class, the Netcat object- Convenient receive methods for common socket usage patterns
- Highly customizable logging
- Interactive mode, connecting the socket to your stdin/stdout
- Intelligent detection of socket closes and connection drops
- Long-running functions cleanly abortable with ctrl-c
- Lots of aliases in case you forget the right method name- Mechanisms to launch processes with their in/out streams connected to sockets
- Launch a process with gdb attached
- TCP and UDP server classes for writing simple python daemons
- A script to easily daemonize command-line programsIf you are familiar with pwntools, nclib provides much of the functionaly that
pwntools' socket wrappers do, but with the bonus feature of not being pwntools.Installation
------------.. code-block:: bash
pip install nclib
Documentation
-------------https://nclib.readthedocs.io/