Nmap Development mailing list archives

Re: help with script smb.pwdump.nse


From: hernani <coelho.hernani () sapo pt>
Date: Sun, 13 Dec 2015 13:44:52 +0000

sorry i forget put line give error, file smb.pwdump.nse line give me error ---> return smb.get_port(host) ~= nil



On 13-12-2015 13:39, hernani wrote:
hello,

i'm using nmap 7.0.1

*when i make this command -->* sudo nmap -p 135,139,445 --script=/home/hernani/Downloads/smb-pwdump.nse --script-args=smbuser=**********,smbpass=******* localhost


*give me this error --->* |_smb-pwdump: ERROR: Script execution failed (use -d to debug)

*when i use debug give me this ---->*

NSE: smb-pwdump against localhost (127.0.0.1) threw an error!
/home/hernani/Downloads/smb-pwdump.nse:46: variable 'smb' is not declared
stack traceback:
    [C]: in function 'error'
/home/hernani/Downloads/nmap-7.01/nselib/strict.lua:80: in function '__index'
    /home/hernani/Downloads/smb-pwdump.nse:46: in function '?'
/home/hernani/Downloads/nmap-7.01/nse_main.lua:457: in function </home/hernani/Downloads/nmap-7.01/nse_main.lua:452>


someone can help me??

thanks

hernani


_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: