1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-04 12:36:34 +00:00

Use BruteSocket in a bunch of brute scripts

This commit is contained in:
dmiller
2018-03-10 03:09:39 +00:00
parent 4c1d93405a
commit 8ee963caee
47 changed files with 65 additions and 65 deletions

View File

@@ -46,7 +46,7 @@ Driver = {
-- @return false, brute.Error object on failure
connect = function(self)
self.socket = nmap.new_socket()
self.socket = brute.new_socket()
local opts = {timeout=10000, recv_before=true}
local best_opt, line, _
self.socket, _, best_opt, line = comm.tryssl(self.host, self.port, "" , opts)