Skip to content

Commit db77061

Browse files
author
MatToufoutu
committed
do not add closed ports to database
1 parent 9a5d5ee commit db77061

File tree

1 file changed

+0
-1
lines changed
  • modules/auxiliary/scanner/portscan

1 file changed

+0
-1
lines changed

modules/auxiliary/scanner/portscan/tcp.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ def run_host(ip)
8686
end
8787
rescue ::Rex::ConnectionRefused
8888
vprint_status("#{ip}:#{port} - TCP closed")
89-
r << [ip,port,"closed"]
9089
rescue ::Rex::ConnectionError, ::IOError, ::Timeout::Error
9190
rescue ::Rex::Post::Meterpreter::RequestError
9291
rescue ::Interrupt

0 commit comments

Comments
 (0)