mirror of
https://github.com/nmap/nmap.git
synced 2026-02-10 07:26:34 +00:00
Use BruteSocket in a bunch of brute scripts
This commit is contained in:
@@ -45,7 +45,7 @@ Driver = {
|
||||
end,
|
||||
|
||||
connect = function( self )
|
||||
self.socket = nmap.new_socket()
|
||||
self.socket = brute.new_socket()
|
||||
self.socket:set_timeout(5000)
|
||||
return self.socket:connect(self.host, self.port, "tcp")
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user