1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00
metasploit-framework/lib/packetfu
James Lee 9a6025aacc Add a plugin to capture packets
git-svn-id: file:///home/svn/framework3/trunk@6213 4d416f70-5f16-0410-b530-b9f4589650da
2009-02-12 16:21:50 +00:00
..
arp.rb Code cleanups 2008-10-19 21:03:39 +00:00
capture.rb Add a plugin to capture packets 2009-02-12 16:21:50 +00:00
config.rb Code cleanups 2008-10-19 21:03:39 +00:00
eth.rb Code cleanups 2008-10-19 21:03:39 +00:00
icmp.rb Code cleanups 2008-10-19 21:03:39 +00:00
inject.rb Code cleanups 2008-10-19 21:03:39 +00:00
invalid.rb Code cleanups 2008-10-19 21:03:39 +00:00
ip.rb Code cleanups 2008-10-19 21:03:39 +00:00
ipv6.rb Code cleanups 2008-10-19 21:03:39 +00:00
LICENSE Import the bindata and packetfu libraries (thanks Tod) 2008-10-10 02:23:05 +00:00
packet.rb Code cleanups 2008-10-19 21:03:39 +00:00
pcap.rb Code cleanups 2008-10-19 21:03:39 +00:00
read.rb Code cleanups 2008-10-19 21:03:39 +00:00
README Import the bindata and packetfu libraries (thanks Tod) 2008-10-10 02:23:05 +00:00
tcp.rb Code cleanups 2008-10-19 21:03:39 +00:00
tcpopts.rb Code cleanups 2008-10-19 21:03:39 +00:00
udp.rb Code cleanups 2008-10-19 21:03:39 +00:00
utils.rb Code cleanups 2008-10-19 21:03:39 +00:00
write.rb Add a plugin to capture packets 2009-02-12 16:21:50 +00:00

= PacketFu

A library for reading a writing packets to an interface or to a libpcap-formatted file.
It is maintained at http://code.google.com/p/packetfu

== Installation

PacketFu should live somewhere in your path. I haven't decided yet on packaging, will probably succumb to gems; your best bet is to just drop it into /usr/local/lib/site_ruby/1.8 or where ever you install bindata to.

== Requirements

BinData: http://bindata.rubyforge.org

Dion Mendel's BinData is absolutely critical for PacketFu. Specifically, BinData's subversion r99 or later is required, in order to make use of the :eof patch. So, BinData r101 is included in this distribution until 0.9.3 or later is released.

PcapRub: www.metasploit.com/svn/framework3/trunk/external/pcaprub

Marshall Beddoe's PcapRub is required only for packet reading and writing from a network interfaces (which is a pretty big only). PcapRub itself relies on libpcap 0.9.8 or later for packet injection. It also requires root privilieges to access the interface directly. Perhaps most noteworthy, PcapRub is <b>not</b> included in this distribution, as the vagaries of libpcap driver install can lead to some unexpected results. You are on your own for that.

== Examples

Wouldn't that be nice? The best way to learn right now is to pore over the documentation, and mess around with packetfu-shell.rb

== Author

PacketFu is maintained primarily by Tod Beardsley <todb@planb-security.net>

== License