mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 12:41:29 +00:00
removed obsolete debug output
This commit is contained in:
@@ -34,7 +34,6 @@ function login_user(socket, user, pw)
|
|||||||
socket:send("USER " .. user .. "\r\n")
|
socket:send("USER " .. user .. "\r\n")
|
||||||
status, line = socket:receive_lines(1)
|
status, line = socket:receive_lines(1)
|
||||||
if not stat(line) then return false, err.user_error end
|
if not stat(line) then return false, err.user_error end
|
||||||
print("my way")
|
|
||||||
socket:send("PASS " .. pw .. "\r\n")
|
socket:send("PASS " .. pw .. "\r\n")
|
||||||
|
|
||||||
status, line = socket:receive_lines(1)
|
status, line = socket:receive_lines(1)
|
||||||
@@ -142,7 +141,6 @@ function capabilities(host, port)
|
|||||||
|
|
||||||
socket:send("CAPA\r\n")
|
socket:send("CAPA\r\n")
|
||||||
status, line = socket:receive_buf("\r\n", false)
|
status, line = socket:receive_buf("\r\n", false)
|
||||||
-- print("resp " .. line)
|
|
||||||
if not stat(line) then
|
if not stat(line) then
|
||||||
capas.capa = false
|
capas.capa = false
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user