Skip to main content

nclib is netcat as a python library, or at least a couple of common things netcat can do.

nclib provides: - Easy-to-use interfaces for connecting to and listening on TCP and UDP sockets - recv_until, receiving until a given substring comes over the wire - Highly customizable logging, including logging in hex encoding - 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 - A script (serve-stdio) to easily daemonize command-line scripts, requires socat

run help(nclib) for help.

If 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nclib-0.5-py2-none-any.whl (7.1 kB view details)

Uploaded Python 2

File details

Details for the file nclib-0.5-py2-none-any.whl.

File metadata

  • Download URL: nclib-0.5-py2-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nclib-0.5-py2-none-any.whl
Algorithm Hash digest
SHA256 8b3e88e7309a60fb3cd1b556bb767a555d8ea67b7ddf17412f9566f3f623af88
MD5 31278f58c309b25cd732075a8a63ab34
BLAKE2b-256 677437e28836e8f421bc4b7be205f0fd5b84917c986810ffc9246c89e40f5a34

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.8

2 files

1.0.7

2 files

1.0.6

2 files

1.0.5

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

1 file

1.0.0

1 file

0.8.3

1 file

0.8.2.post1

1 file

0.8.2

1 file

0.8.1

1 file

0.8.0

1 file

0.7.3

1 file

0.7.2

1 file

0.7.1

1 file

0.7.0

1 file

0.6.1

1 file

0.6.0

1 file

0.5.1

1 file

This release

0.5 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page