1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-24 08:29:04 +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

@@ -21,7 +21,8 @@ Performs brute force password auditing against the rsync remote file syncing pro
require 'shortport'
require 'brute'
require 'rsync'
require 'stdnse'
stdnse.silent_require('rsync')
author = "Patrik Karlsson"
license = "Same as Nmap--See http://nmap.org/book/man-legal.html"