Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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

Release History

Release History

This version
History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
tcpextract-1.1.tar.gz (18.0 kB) Copy SHA256 Checksum SHA256 Source Oct 29, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting