mirror of
https://github.com/nmap/nmap.git
synced 2025-12-17 21:19:01 +00:00
o [NSE] Fixed bug that would prevent brute scripts from running if no service
field was present in the port table. [Patrik]
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
# Nmap Changelog ($Id$); -*-text-*-
|
# Nmap Changelog ($Id$); -*-text-*-
|
||||||
|
|
||||||
|
o [NSE] Fixed bug that would prevent brute scripts from running if no service
|
||||||
|
field was present in the port table. [Patrik]
|
||||||
|
|
||||||
o [NSE] Added the scripts bitcoin-info, bitcoin-getaddr and a supporting
|
o [NSE] Added the scripts bitcoin-info, bitcoin-getaddr and a supporting
|
||||||
Bitcoin library. The script bitcoin-info retrieves information about the
|
Bitcoin library. The script bitcoin-info retrieves information about the
|
||||||
remote server, while the bitcoin-getaddr script retrieves a list of
|
remote server, while the bitcoin-getaddr script retrieves a list of
|
||||||
|
|||||||
@@ -604,7 +604,8 @@ Engine =
|
|||||||
local condvar = nmap.condvar( cvar )
|
local condvar = nmap.condvar( cvar )
|
||||||
|
|
||||||
assert(self.options.script_name, "SCRIPT_NAME was not set in options.script_name")
|
assert(self.options.script_name, "SCRIPT_NAME was not set in options.script_name")
|
||||||
assert(self.port.number and self.port.protocol and self.port.service, "Invalid port table detected")
|
assert(self.port.number and self.port.protocol, "Invalid port table detected")
|
||||||
|
self.port.service = self.port.service or "unknown"
|
||||||
|
|
||||||
-- Only run the check method if it exist. We should phase this out
|
-- Only run the check method if it exist. We should phase this out
|
||||||
-- in favor of a check in the action function of the script
|
-- in favor of a check in the action function of the script
|
||||||
|
|||||||
Reference in New Issue
Block a user