Minor update for capture backend
git-svn-id: file:///home/svn/framework3/trunk@5326 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
e189b2f6cd
commit
93f80dd562
|
@ -42,7 +42,7 @@ class Auxiliary::TestPcap < Msf::Auxiliary
|
|||
print_status("Opening the network interface...")
|
||||
open_pcap()
|
||||
print_status("Sniffing HTTP requests...")
|
||||
capture.each_packet do |pkt|
|
||||
capture.each do |pkt|
|
||||
next if not pkt.tcp?
|
||||
next if not pkt.tcp_data
|
||||
if (pkt.tcp_data =~ /^GET\s+([^\s]+)\s+HTTP/)
|
||||
|
|
Loading…
Reference in New Issue