Nmap Development mailing list archives
Re: Question related to the Nmap script http-useragent-tester
From: George Chatzisofroniou <sophron () latthi com>
Date: Thu, 10 Sep 2015 19:24:37 +0300
Hi Raul, I'm glad you found a solution on this. Have you written a patch yet? PS: I'm CC'ing nmap-dev. On Wed, Sep 9, 2015 at 9:26 PM, Raul Fuentes <ra.fuentess.sam () gmail com> wrote:
Hi George, I had a little free time to check again the script http-useragent-tester. And was able to make it run properly. Bonsaiviking already identify the issue as a bug (Being honest, I'm still .thinking I was crazy and with errors from my part). The issue is in the nselib/http.lua when is invoking the generic_request (used by http.get) due that is using " " instead of the ' ' (Example: "GET" instead of 'GET') Sincerely, Raul Fuentes 2015-09-02 16:42 GMT+02:00 George Chatzisofroniou <sophron () latthi com>:Hi Raul, On Mon, Aug 31, 2015 at 6:07 PM, Raul Fuentes <ra.fuentess.sam () gmail com> wrote:I will elaborated my question a little more, I was reviewing the script and in theory, the line 74: local response = http.get(host, port, '/', options) Should be in a loop with the content of HTTPlibs (a predefined user-agent list plus user-custom). Yet, testing in my local server I got only one HTTP Header request each time the script is executed and the user-agent is a different one from the list: "Mozilla/5.0 (compatible; Nmap Scripting Engine; http://nmap.org/book/nse.html)". I already tested with the -d2 and the script indeed, run the former line by each element in the list.I'll have a look the following days and I'll let you know. Cheers, -- George Chatzisofroniou-- Ate. Raul FUENTES
_______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Re: Question related to the Nmap script http-useragent-tester George Chatzisofroniou (Sep 10)
- Re: Question related to the Nmap script http-useragent-tester Daniel Miller (Sep 10)
- Re: Question related to the Nmap script http-useragent-tester George Chatzisofroniou (Sep 10)
- Re: Question related to the Nmap script http-useragent-tester Daniel Miller (Sep 10)