Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Extract files from captured TCP sessions. Support live streams and pcap files.

Project description

Extract files from captured TCP sessions. Support live streams and pcap files.

Supported protocols are:

  • HTTP (GET)



Gentoo users:

You should first enable the Abnorm Overlay then you can install it:

emerge tcpextract

Using pip:

pip install tcpextract

Manual installation and git installation:

To manually install last stable release or older releases dowload the tarball and extract it:

$ tar xzvvf tcpextract-*.tar.gz
$ cd tcpextract-*
$ sudo python install

To install from git please run:

$ git clone
$ cd tcpextract
$ sudo python install


When you run tcpextract, by default, it will listen on any avaible interface and will put extracted files in ‘./output’. Please remember that capturing live streams will require root privileges. Live sniffing is really slow. If you can, use tcpdump or something else to capture data.

If you want further information on how to change default behavior please run:

$ tcpextract --help


tcpextract is modular, so it is easy to extend.

If you are looking for further information about writing modules to support more protocols please read the Wiki


tcpextract is released under GPLv3 or later.


You can contact the Author using this form

Project details

Download files

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

Files for tcpextract, version 1.1
Filename, size File type Python version Upload date Hashes
Filename, size tcpextract-1.1.tar.gz (18.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page