mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 21:21:31 +00:00
In r23085 (part of the silent require change), the require for ssh2 was accidentally deleted and that broke the script. Restored.
This commit is contained in:
@@ -58,6 +58,7 @@ categories = {"safe", "discovery"}
|
|||||||
require "shortport"
|
require "shortport"
|
||||||
require "stdnse"
|
require "stdnse"
|
||||||
stdnse.silent_require "openssl"
|
stdnse.silent_require "openssl"
|
||||||
|
stdnse.silent_require "ssh2"
|
||||||
|
|
||||||
portrule = shortport.port_or_service(22, "ssh")
|
portrule = shortport.port_or_service(22, "ssh")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user