1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 22:21:29 +00:00

Spelling fixes for Lua files

Mostly in documentation/comments, but a couple code bugs were caught,
including a call to stdnse.pirnt_debug and a mis-declared variable.
This commit is contained in:
dmiller
2014-02-19 04:15:46 +00:00
parent 54fa265f5c
commit 1b71f75aad
202 changed files with 532 additions and 532 deletions

View File

@@ -171,7 +171,7 @@ Helper = {
-- Create a new instance of the class
-- @param host table containing the host table
-- @param port table containing the port table
-- @param options table containing library options, currenlty:
-- @param options table containing library options, currently:
-- <code>timeout</code> - socket timeout in ms
-- @return o instance of Helper
new = function(self, host, port, options)
@@ -197,7 +197,7 @@ Helper = {
-- Connects to the SOCKS server
-- @param auth_method table containing the auth. methods to request
-- @return status true on success, false on failure
-- @return response table containing the respons or err string on failure
-- @return response table containing the response or err string on failure
connect = function(self, auth_method)
self.socket = nmap.new_socket()
self.socket:set_timeout(self.options.timeout or 10000)
@@ -267,7 +267,7 @@ Helper = {
end
if ( auth:isSuccess() ) then
return true, "Authentication was successfull"
return true, "Authentication was successful"
else
return false, "Authentication failed"
end