GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sparrowt/replayproxy: Replay HTTP traffic live from a PCAP file

BranchesTags
Open more actions menu

Latest commit

 

History

10 Commits
10 Commits

Folders and files

NameName
Last commit message
Last commit date
COPYRIGHT
COPYRIGHT
 
 
INSTALL.md
INSTALL.md
 
 
README.md
README.md
 
 
replayproxy.py
replayproxy.py
 
 
test.pcap
test.pcap
 
 

Repository files navigation

Origin

This project is originally from https://code.google.com/p/replayproxy/ by Armin Buescher.

This fork fixes some bugs & provides more details for usage & installation.

Summary

replayproxy allows you to "re-live" a HTTP session which has been captured in a .pcap file (e.g. in Wireshark). It parses the HTTP streams, caches them, and starts a HTTP proxy. It then replies to HTTP requests with the matching response from the .pcap, ignoring all other requests.

Usage

replayproxy.py [-h] [-H HOST] [-p PORT] [-v[v]] FILENAME

Arguments:

  • -h|--help Show usage information
  • -H HOST IP to start the proxy on (DEFAULT: 127.0.0.1)
  • -p PORT Port to listen on (DEFAULT: 3128)
  • -v[v] Verbose output (DEFAULT: log only ERRORs, -v = INFO, -vv = DEBUG)
  • FILENAME Path to the .pcap file to parse (required)

Normal usage:

  • obtain a .pcap file containing the captured HTTP session (e.g. using tcpdump or Wireshark)
  • run replayproxy to start the HTTP proxy (see details above)
  • configure your browser to use the proxy settings (IP & port) on which replayproxy is running
  • browse to the site that was captured

To get you started test.pcap in this repository contains a capture of a visit to http://www.honeynet.org

Dependencies and Installation

  • Python 2.7+
  • dpkt library (http://code.google.com/p/dpkt/)
  • pynids library (http://jon.oberheide.org/pynids/)

For detailed installation instructions, see the INSTALL.md file

About

Replay HTTP traffic live from a PCAP file

Resources

Readme
License
Activity

Stars

23 stars

Watchers

1 watching

Forks

5 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.