Nmap Development mailing list archives
Re: bug ? with whois-ip
From: jah <jah () zadkiel plus com>
Date: Thu, 30 Oct 2014 22:51:39 +0000
On 29/10/2014 13:55, mercier laurent wrote:
hi, some information os: kali linux nmap version: 6.47 i try to use whois-ip script, with the command: nmap -v -A -Pn -T4 XX.XXX.XXX.XXX --script whois-ip -d1 but a part of result is: NSE: whois-ip against 78.229.188.129 threw an error! /usr/bin/../share/nmap/nselib/shortport.lua:200: attempt to index field 'version' (a nil value) stack traceback: /usr/bin/../share/nmap/nselib/shortport.lua:200: in function </usr/bin/../share/nmap/nselib/shortport.lua:199> (...tail calls...) /usr/bin/../share/nmap/nselib/comm.lua:155: in function 'bestoption' /usr/bin/../share/nmap/nselib/comm.lua:249: in function 'tryssl' /usr/bin/../share/nmap/nselib/http.lua:1212: in function </usr/bin/../share/nmap/nselib/http.lua:1193> (...tail calls...) /usr/bin/../share/nmap/nselib/http.lua:1480: in function </usr/bin/../share/nmap/nselib/http.lua:1470> (...tail calls...) /usr/bin/../share/nmap/scripts/whois-ip.nse:1999: in function 'conditional_download' /usr/bin/../share/nmap/scripts/whois-ip.nse:1760: in function 'get_local_assignments_data' /usr/bin/../share/nmap/scripts/whois-ip.nse:1639: in function 'script_init' /usr/bin/../share/nmap/scripts/whois-ip.nse:153: in function </usr/bin/../share/nmap/scripts/whois-ip.nse:122> (...tail calls...) Completed NSE at 14:22, 0.01s elapsed How can i fix this problem, i've read many post on many forum bt any answer :( excuse my bad english.
Hi Laurent and thank you for reporting this. The probleme is in the ssl() function in nselib/shortport.lua and it was fixed in May in revision 32900. I believe that the fix has not yet been released, but you can make the change for yourself:- Change line 200 of nselib/shortport.lua from:- return port.version.service_tunnel == "ssl" or to:- return (port.version and port.version.service_tunnel == "ssl") or jah
_______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- bug ? with whois-ip mercier laurent (Oct 30)
- Re: bug ? with whois-ip jah (Oct 30)