1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-27 01:49:03 +00:00

Use stdnse.silent_require where needed.

This is required for scripts that require "openssl", but also
transitively for script that require a library that requires "openssl".
This commit is contained in:
david
2012-03-09 18:06:49 +00:00
parent 7452fbc800
commit 515dbe7f2f
11 changed files with 23 additions and 14 deletions

View File

@@ -49,10 +49,10 @@ categories = {"discovery","safe","broadcast"}
require "nmap"
require "stdnse"
require "packet"
require "openssl"
require "bin"
require "tab"
require "target"
stdnse.silent_require("openssl")
prerule = function()
if not nmap.is_privileged() then