Skip to main content

XNet - Your Swiss Army Pitchfork of Networking

Project description

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

Project details


Download files

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

Source Distribution

xnet-0.3.0.3.tar.gz (59.0 kB view details)

Uploaded Source

File details

Details for the file xnet-0.3.0.3.tar.gz.

File metadata

  • Download URL: xnet-0.3.0.3.tar.gz
  • Upload date:
  • Size: 59.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for xnet-0.3.0.3.tar.gz
Algorithm Hash digest
SHA256 0100e03743e650a132ba3defc9339f90a5aae642adf3544983f1e9f83fc0e309
MD5 da7e93b8da9364233d56486af831d8fa
BLAKE2b-256 bbb989c4d4a6764b25d74f47ee456b6b65e199b19ea868c133215b716718e8e4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page