mirror of
https://github.com/nmap/nmap.git
synced 2025-12-24 00:19:01 +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:
@@ -17,8 +17,9 @@ Performs brute force password auditing against the MongoDB database.
|
||||
--
|
||||
|
||||
require 'brute'
|
||||
require 'mongodb'
|
||||
require 'shortport'
|
||||
require 'stdnse'
|
||||
stdnse.silent_require('mongodb')
|
||||
|
||||
author = "Patrik Karlsson"
|
||||
license = "Same as Nmap--See http://nmap.org/book/man-legal.html"
|
||||
|
||||
Reference in New Issue
Block a user