Nmap Development mailing list archives

Broken version of shortport.lua in 6.46 tarball


From: Paulino Calderon Pale <calderon () websec mx>
Date: Thu, 17 Jul 2014 18:02:06 -0500

Hey,

I got a report about a possibly broken shortport.lua in the tarball http://nmap.org/dist/nmap-6.46.tar.bz2  but it 
seems to be fixed in the repository already. If anyone else is having similar problems, just update your working copy.

Cheers.


Begin forwarded message:

From: Duncan Winfrey <duncan () winfrey co uk>
Subject: Re: http-google-malware
Date: July 17, 2014 at 12:51:24 PM CDT
To: Paulino Calderon Pale <calderon () websec mx>

Hi,

I was using http://nmap.org/dist/nmap-6.46.tar.bz2. 

I Have now installed from the SVN and it's working great.

Thanks,

Duncan


On 17/07/2014 18:10, Paulino Calderon Pale wrote:
I cant reproduce this. May I suggest you download a clean copy of the repository and try again? It seems you have a 
broken version of shorport.lua. 

Scanned at 2014-07-17 12:07:48 CDT for 1s
PORT   STATE SERVICE REASON
80/tcp open  http    syn-ack
|_http-google-malware: Host is safe to browse.


On Jul 17, 2014, at 11:44 AM, Duncan Winfrey <duncan () winfrey co uk> wrote:

Hi Paulino,

Firstly,thanks for writing the useful http-google-malware nmap script.

I'm using it with nmap 6.46 and it's not working. Below is the debug output:

NSE: Starting 'http-google-malware' (thread: 0x8e8e338) against scanme.nmap.org (74.207.244.221:80).
Initiating NSE at 09:42
NSE: http-google-malware: Checking host http://scanme.nmap.org
NSE: 'http-google-malware' (thread: 0x8e8e338) against scanme.nmap.org (74.207.244.221:80) 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/http-google-malware.nse:77: in function 
</usr/bin/../share/nmap/scripts/http-google-malware.nse:55>
   (...tail calls...)

Thanks,

Duncan W



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


Current thread: