mirror of
https://github.com/nmap/nmap.git
synced 2026-10-20 19:01:56 +00:00
New system for silent require errors. Use the new function
stdnse.silent_require. The Lua require function is back in its usual spot (_G.require).
This commit is contained in:
parent
e37cfc5d0e
commit
dc9a35bc9d
14 changed files with 25 additions and 17 deletions
|
|
@ -57,7 +57,7 @@ categories = {"safe", "discovery"}
|
|||
|
||||
require "shortport"
|
||||
require "stdnse"
|
||||
require "openssl"
|
||||
stdnse.silent_require "openssl"
|
||||
|
||||
portrule = shortport.port_or_service(22, "ssh")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue