Skip to content

Commit bf2dc97

Browse files
committed
Merge branch 'poisonivyscanner' of github.com:SeawolfRN/metasploit-framework into poisonivyscanner
2 parents ae7a015 + 60b5771 commit bf2dc97

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/auxiliary/scanner/misc/poisonivy_control_scanner.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ def run_host(ip)
4242

4343
ports = Rex::Socket.portspec_crack(datastore['PORTS'])
4444

45+
if ports.empty?
46+
raise Msf::OptionValidateError.new(['PORTS'])
47+
end
48+
4549
while(ports.length > 0)
4650
t = []
4751
r = []

0 commit comments

Comments
 (0)