Nmap Development mailing list archives

Re: NSE: http-google-malware against (IP address) threw an error!


From: "peter () hackertarget com" <peter () hackertarget com>
Date: Sun, 7 Dec 2014 07:31:05 +1100

Hi,

This looks like the bug in shortport.lua, it has affected a number of the
NSE scripts.

The latest version of shortport.lua in svn should resolve the issue (
https://svn.nmap.org/nmap/).


Regards,

Peter


On Wed, Dec 3, 2014 at 12:16 AM, GBytze Bytze <gbytze () gmail com> wrote:

I am a little stumped here, as to why this is throwing an error and how to
correct it.
I have my own API Key. I have also reloaded and updated all repositories
and even tried using different Linux machines - still throws this error.

Any help would be kindly appreciated.

*Here is the syntax I am using; *
nmap -p80 -–script http-google-malware -–script-args
http-google-malware.api=<MYAPIKEY> <Target>

*Here is the version I am using*

Nmap version 6.47 ( http://nmap.org )
Platform: x86_64-unknown-linux-gnu
Compiled with: nmap-liblua-5.2.3 openssl-1.0.1e libpcre-8.30
nmap-libpcap-1.2.1 nmap-libdnet-1.12 ipv6
Compiled without:
Available nsock engines: epoll poll select

*Error Message using debug optio*n

NSE: http-google-malware against (IP address) threw an error!
/usr/local/bin/../share/nmap/nselib/shortport.lua:200: attempt to index
field 'version' (a nil value)
stack traceback:
/usr/local/bin/../share/nmap/nselib/shortport.lua:200: in function
</usr/local/bin/../share/nmap/nselib/shortport.lua:199>
(...tail calls...)
/usr/local/bin/../share/nmap/nselib/comm.lua:155: in function 'bestoption'
/usr/local/bin/../share/nmap/nselib/comm.lua:249: in function 'tryssl'
/usr/local/bin/../share/nmap/nselib/http.lua:1212: in function
</usr/local/bin/../share/nmap/nselib/http.lua:1193>
(...tail calls...)
/usr/local/bin/../share/nmap/nselib/http.lua:1480: in function
</usr/local/bin/../share/nmap/nselib/http.lua:1470>
(...tail calls...)
.../local/bin/../share/nmap/scripts/http-google-malware.nse:77: in
function <.../local/bin/../share/nmap/scripts/http-google-malware.nse:55>
(...tail calls...).



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

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

Current thread: