Library mongodb
Library methods for handling MongoDB, creating and parsing packets.
Author:
Copyright © Same as Nmap--See https://nmap.org/book/man-legal.html Version 0.1
Source: https://svn.nmap.org/nmap/nselib/mongodb.lua
Script Arguments
- mongodb.db
- the database to use for authentication
Functions
- queryResultToTable (resultTable)
Converts a query result as received from MongoDB query into nmap "result" table
- testBson ()
Test-code for debugging purposes below
Functions
- queryResultToTable (resultTable)
-
Converts a query result as received from MongoDB query into nmap "result" table
Parameters
- resultTable
- table as returned from a query
Return value:
table suitable forstdnse.format_output
- testBson ()
-
Test-code for debugging purposes below