mirror of
https://github.com/nmap/nmap.git
synced 2026-08-27 03:48:14 +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:
parent
7452fbc800
commit
515dbe7f2f
11 changed files with 23 additions and 14 deletions
|
|
@ -22,9 +22,10 @@ license = "Same as Nmap--See http://nmap.org/book/man-legal.html"
|
|||
categories = {"discovery", "safe"}
|
||||
|
||||
require 'shortport'
|
||||
require 'bitcoin'
|
||||
require 'tab'
|
||||
require 'target'
|
||||
require 'stdnse'
|
||||
stdnse.silent_require('bitcoin')
|
||||
|
||||
--
|
||||
-- Version 0.1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue