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.1-py2-none-any.whl (7.1 kB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for nclib-0.5.1-py2-none-any.whl
Algorithm Hash digest
SHA256 0b5cd63c0206c52e6533f8ab246127df1d54b4d48b32bca37f73d5886c906906
MD5 c793e415e92d263802356a3b250ed7ec
BLAKE2b-256 edb1c21ee14d448b21ac8a92ebb10d91bce2cc690c92a921fb0252bc2c62a1ee

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

This release

0.5.1 This release

1 file

0.5

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