Skip to main content

Xnet - Just like Xmas, but on your networks!

xnet is a framework and a collection of command-line tools utilizing microthreads (from the python library gevent).

All tools developed in Xnet have a common set of command-line parameters for parallelization and other functionality, which is provided by the framework. Try the –help option for each tool for more details. Reading the source code of some existing tool should suffice to produce new tools under the same flag.

Current list of tools:

  • xnet (meta-tool)

  • tcpstate

  • netcats

  • resolv

  • iprange

  • iissn

  • sslinfo

  • webget

xnet install instructions

Debian 6

Development packages are needed to build a newer gevent than what debian ships with.

$ sudo apt-get install gcc
$ sudo apt-get install libevent-dev
$ sudo apt-get install python-dev
$ sudo apt-get install python-pip
$ sudo apt-get install python-openssl

Optionally, if you want to contain xnet in a local directory instead of making a system installation:

$ sudo apt-get install python-virtualenv
$ virtualenv pyenv && cd pyenv && . bin/activate

Finally, install gevent and xnet:

$ pip install gevent==0.13.8
$ pip install xnet

Debian 7

The same procedure as for Debian 6 but we can use the python-gevent package right away instead of compiling our own.

$ sudo apt-get install python-pip
$ sudo apt-get install python-openssl
$ sudo apt-get install python-gevent

Optionally, if you want to contain xnet in a local directory instead of making a system installation:

$ sudo apt-get install python-virtualenv
$ virtualenv pyenv && cd pyenv && . bin/activate

Finally, install xnet:

$ pip install xnet

Backtrack 5R2

$ sudo apt-get install python-dev
$ sudo apt-get install python-openssl
$ sudo apt-get install python-pip
$ sudo apt-get install libevent-dev

Optionally, if you want to contain xnet in a local directory instead of making a system installation:

$ sudo apt-get install python-virtualenv
$ virtualenv pyenv && cd pyenv && . bin/activate

Finally, install gevent and xnet:

$ pip install gevent==0.13.8
$ pip install xnet

OSX

Gevent 0.13.8 misbehaves under OSX, but the development release 1.0rc2 works. This must be compiled so Xcode is a requirement. The list below may be incomplete.

Optional if you want to contain xnet in a local directory instead of making a system installation.

$ sudo port install py-virtualenv
$ virtualenv pyenv && cd pyenv && . bin/activate

And then gevent.

$ pip install cython -e git://github.com/surfly/gevent.git@1.0rc2#egg=gevent

Release files for xnet 0.3.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xnet 0.3.0.3
File Size Uploaded
xnet-0.3.0.3.tar.gz 59.0 kB Details

Release files / xnet-0.3.0.3.tar.gz

Download URL xnet-0.3.0.3.tar.gz
Size 59.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0100e03743e650a132ba3defc9339f90a5aae642adf3544983f1e9f83fc0e309
BLAKE2b-256 checksum
How to use checksums
bbb989c4d4a6764b25d74f47ee456b6b65e199b19ea868c133215b716718e8e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.0.3 This release

1 release file

0.3.0.2

1 release file

0.3.0.1

1 release file

0.1.4.1

1 release file

0.1.4.0

1 release file

0.1.3.1

1 release file

0.1.2.2

1 release file

0.1.2.1

1 release file

0.1.2.0

1 release file

0.1.1.2

1 release file

0.1.1

1 release file

0.1.1.0

1 release file

0.1.0

1 release file

0.0.15

1 release file

0.0.14

1 release file

0.0.12

1 release file

0.0.10

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release 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