Minor update for capture backend

git-svn-id: file:///home/svn/framework3/trunk@5326 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2008-01-23 02:23:52 +00:00
parent e189b2f6cd
commit 93f80dd562
1 changed files with 1 additions and 1 deletions

View File

@ -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/)