Skip to content

perl Module for scripting pcap files instead of capturing traffic

License

Notifications You must be signed in to change notification settings

noxxi/p5-net-pcapwriter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Net::PcapWriter
perl library for easy creation of pcap files from script instead of capturing
data. Useful for testing IDS etc.

 | my $w = Net::PcapWriter->new('test.pcap');
 | my $conn = $w->tcp_conn('1.2.3.4',1234,'5.6.7.8',80) or die;
 | $conn->write(0,"GET / HTTP/1.0 200 Ok\r\n\r\n");
 | $conn->write(1,"HTTP/1.0 12345 ab\r\nContent-length: 0\r\n\r\n");

About

perl Module for scripting pcap files instead of capturing traffic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •