metasploit-framework/lib/rex/post
pks 50241faa57 Implement a sniffer for posix meterpreter using libpcap.
This version of the sniffer supports packet filtering after the packet count variable, like so:

meterpreter > sniffer_interfaces

1 - 'eth0' ( type:0 mtu:1514 usable:false dhcp:false wifi:false )
2 - 'any' ( type:0 mtu:1514 usable:false dhcp:false wifi:false )
3 - 'lo' ( type:0 mtu:1514 usable:false dhcp:false wifi:false )

meterpreter > use sniffer
Loading extension sniffer...success.
meterpreter > sniffer_start 1 500000 icmp <-- picks up only icmp packets.
[*] Capture started on interface 1 (500000 packet buffer)
meterpreter > sniffer_stop 1
[*] Capture stopped on interface 1

git-svn-id: file:///home/svn/framework3/trunk@10424 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-21 11:43:30 +00:00
..
meterpreter Implement a sniffer for posix meterpreter using libpcap. 2010-09-21 11:43:30 +00:00
dir.rb Code cleanups 2008-10-19 21:03:39 +00:00
file.rb Mostly cosmetic 2009-11-16 15:16:08 +00:00
file_stat.rb more tabs vs spaces, and fix a few mismatched indentation levels (def/end, etc) 2009-10-20 17:24:33 +00:00
gen.pl What what what, Post-Exploitation attack! 2005-04-03 21:52:10 +00:00
io.rb Code cleanups 2008-10-19 21:03:39 +00:00
meterpreter.rb Code cleanups 2008-10-19 21:03:39 +00:00
permission.rb Code cleanups 2008-10-19 21:03:39 +00:00
process.rb Code cleanups 2008-10-19 21:03:39 +00:00
thread.rb Code cleanups 2008-10-19 21:03:39 +00:00
ui.rb Code cleanups 2008-10-19 21:03:39 +00:00