tremblerz

not_working

Jul 7th, 2016
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1. $ nmap --script unittest --script-args unittest.tests=sasl.lua,unittest.run -d2
  2.  
  3. Starting Nmap 7.12SVN ( https://nmap.org ) at 2016-07-07 22:17 IST
  4. 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).
  5. Fetchfile found /usr/local/bin/../share/nmap/nmap-services
  6. PORTS: Using top 1000 ports found open (TCP:1000, UDP:0, SCTP:0)
  7. Fetchfile found /usr/local/bin/../share/nmap/nmap.xsl
  8. The max # of sockets we are using is: 0
  9. --------------- Timing report ---------------
  10. hostgroups: min 1, max 100000
  11. rtt-timeouts: init 1000, min 100, max 10000
  12. max-scan-delay: TCP 1000, UDP 1000, SCTP 1000
  13. parallelism: min 0, max 0
  14. max-retries: 10, host-timeout: 0
  15. min-rate: 0, max-rate: 0
  16. ---------------------------------------------
  17. NSE: Using Lua 5.2.
  18. Fetchfile found /usr/local/bin/../share/nmap/nse_main.lua
  19. Fetchfile found /usr/local/bin/../share/nmap/nselib/lpeg-utility.lua
  20. Fetchfile found /usr/local/bin/../share/nmap/nselib/stdnse.lua
  21. Fetchfile found /usr/local/bin/../share/nmap/nselib/strict.lua
  22. Fetchfile found /usr/local/bin/../share/nmap/scripts/script.db
  23. NSE: Arguments from CLI: unittest.tests=sasl.lua,unittest.run
  24. NSE: Arguments parsed: unittest.tests=sasl.lua,unittest.run
  25. NSE: {
  26. [1] = "unittest.run",
  27. ["unittest.tests"] = "sasl.lua",
  28. }
  29. Fetchfile found /usr/local/bin/../share/nmap/scripts/unittest.nse
  30. NSE: Script unittest.nse was selected by name.
  31. Fetchfile found /usr/local/bin/../share/nmap/nselib/unittest.lua
  32. Fetchfile found /usr/local/bin/../share/nmap/nselib/nsedebug.lua
  33. Fetchfile found /usr/local/bin/../share/nmap/nselib/listop.lua
  34. NSE: Loaded 1 scripts for scanning.
  35. NSE: Loaded '/usr/local/bin/../share/nmap/scripts/unittest.nse'.
  36. NSE: Script Pre-scanning.
  37. NSE: Starting runlevel 1 (of 1) scan.
  38. Initiating NSE at 22:17
  39. NSE: Starting unittest M:18d5ea0.
  40. NSE: unittest M:18d5ea0 threw an error!
  41. /usr/local/bin/../share/nmap/nselib/unittest.lua:162: bad argument #1 to 'ipairs' (table expected, got string)
  42. stack traceback:
  43. [C]: in function 'ipairs'
  44. /usr/local/bin/../share/nmap/nselib/unittest.lua:162: in function 'run_tests'
  45. /usr/local/bin/../share/nmap/scripts/unittest.nse:35: in function </usr/local/bin/../share/nmap/scripts/unittest.nse:31>
  46. (...tail calls...)
  47.  
  48. Completed NSE at 22:17, 0.00s elapsed
  49. NSE: Script Post-scanning.
  50. NSE: Starting runlevel 1 (of 1) scan.
  51. Initiating NSE at 22:17
  52. Completed NSE at 22:17, 0.00s elapsed
  53. Read from /usr/local/bin/../share/nmap: nmap-services.
  54. WARNING: No targets were specified, so 0 hosts scanned.
  55. Nmap done: 0 IP addresses (0 hosts up) scanned in 0.23 seconds
Add Comment
Please, Sign In to add comment