Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ nmap --script unittest --script-args unittest.tests=sasl.lua,unittest.run -d2
- Starting Nmap 7.12SVN ( https://nmap.org ) at 2016-07-07 22:17 IST
- Warning: File ./nmap-services exists, but Nmap is using /usr/local/bin/../share/nmap/nmap-services for security and consistency reasons. set NMAPDIR=. to give priority to files in your local directory (may affect the other data files too).
- Fetchfile found /usr/local/bin/../share/nmap/nmap-services
- PORTS: Using top 1000 ports found open (TCP:1000, UDP:0, SCTP:0)
- Fetchfile found /usr/local/bin/../share/nmap/nmap.xsl
- The max # of sockets we are using is: 0
- --------------- Timing report ---------------
- hostgroups: min 1, max 100000
- rtt-timeouts: init 1000, min 100, max 10000
- max-scan-delay: TCP 1000, UDP 1000, SCTP 1000
- parallelism: min 0, max 0
- max-retries: 10, host-timeout: 0
- min-rate: 0, max-rate: 0
- ---------------------------------------------
- NSE: Using Lua 5.2.
- Fetchfile found /usr/local/bin/../share/nmap/nse_main.lua
- Fetchfile found /usr/local/bin/../share/nmap/nselib/lpeg-utility.lua
- Fetchfile found /usr/local/bin/../share/nmap/nselib/stdnse.lua
- Fetchfile found /usr/local/bin/../share/nmap/nselib/strict.lua
- Fetchfile found /usr/local/bin/../share/nmap/scripts/script.db
- NSE: Arguments from CLI: unittest.tests=sasl.lua,unittest.run
- NSE: Arguments parsed: unittest.tests=sasl.lua,unittest.run
- NSE: {
- [1] = "unittest.run",
- ["unittest.tests"] = "sasl.lua",
- }
- Fetchfile found /usr/local/bin/../share/nmap/scripts/unittest.nse
- NSE: Script unittest.nse was selected by name.
- Fetchfile found /usr/local/bin/../share/nmap/nselib/unittest.lua
- Fetchfile found /usr/local/bin/../share/nmap/nselib/nsedebug.lua
- Fetchfile found /usr/local/bin/../share/nmap/nselib/listop.lua
- NSE: Loaded 1 scripts for scanning.
- NSE: Loaded '/usr/local/bin/../share/nmap/scripts/unittest.nse'.
- NSE: Script Pre-scanning.
- NSE: Starting runlevel 1 (of 1) scan.
- Initiating NSE at 22:17
- NSE: Starting unittest M:18d5ea0.
- NSE: unittest M:18d5ea0 threw an error!
- /usr/local/bin/../share/nmap/nselib/unittest.lua:162: bad argument #1 to 'ipairs' (table expected, got string)
- stack traceback:
- [C]: in function 'ipairs'
- /usr/local/bin/../share/nmap/nselib/unittest.lua:162: in function 'run_tests'
- /usr/local/bin/../share/nmap/scripts/unittest.nse:35: in function </usr/local/bin/../share/nmap/scripts/unittest.nse:31>
- (...tail calls...)
- Completed NSE at 22:17, 0.00s elapsed
- NSE: Script Post-scanning.
- NSE: Starting runlevel 1 (of 1) scan.
- Initiating NSE at 22:17
- Completed NSE at 22:17, 0.00s elapsed
- Read from /usr/local/bin/../share/nmap: nmap-services.
- WARNING: No targets were specified, so 0 hosts scanned.
- Nmap done: 0 IP addresses (0 hosts up) scanned in 0.23 seconds
Add Comment
Please, Sign In to add comment