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

@ -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