Wireplay
// March 17th, 2010 // Projects
Name: wireplay
Category: Generic Fuzzer
Author/Owner: Abhisek Datta
URL: http://code.google.com/p/wireplay/
Description:
A minimalist approach to replay pcap dumped TCP sessions with modification as required.
Current Features
user@linux$ ./wireplay Wireplay - The TCP Replay Tool v0.2 Options: -r --role [ROLE] Specify the role to play (client/server) -F --file [FILE] Specify the pcap dump file to read packets -t --target [TARGET] Specify the target IP to connect to when in client role -p --port [PORT] Specify the port to connect/listen -S --shost [SOURCE] Specify the source host for session selection -D --dhost [DEST] Specify the destination host for session selection -E --sport [SPORT] Specify the source port for session selection -G --dport [DPORT] Specify the destination port for session selection -n --isn [ISN] Specify the TCP ISN for session selection -c --count [NUMBER] Specify the number of times to repeat the replay -H --hook [FILE] Specify the Ruby script to load as hook -L --log Enable logging of data sent/receive -K --disable-checksum Disable NIDS TCP checksum verification -T --timeout [MS] Set socket read timeout in microsecond -Q --simulate Simulate Socket I/O only, do not send/recv In case the --shost && --dhost && --isn && --sport && --dport parameters are not supplied, the program will load all the TCP sessions from file and ask the user to select a session to replay
Basic Usage
./wireplay -K --role client --port 80 --target 127.0.0.1 -L -F ./pcap/http.dump
./wireplay --role client -F ./pcap/dcedump.dump --target 172.16.34.129 --port 135
What to do ?
Ruby Hook Interface
For a brief guide on writing Wireplay hooks in Ruby, read the Wireplay Hook Guide
Compilation
Wireplay uses a modified version of libnids library for TCP session reassembly from pcap frames. Read the Compilation Guide for some pointers.



