correct a bug on capture module when pcapfile are used
git-svn-id: file:///home/svn/framework3/trunk@13269 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
88125b53b8
commit
b7ca38f212
|
@ -103,7 +103,7 @@ module Exploit::Capture
|
|||
|
||||
if (not self.capture)
|
||||
raise RuntimeError, "Could not start the capture process"
|
||||
elsif (arp and !self.arp_capture)
|
||||
elsif (arp and !self.arp_capture and cap.empty?)
|
||||
raise RuntimeError, "Could not start the ARP capture process"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue