Nmap Development mailing list archives

Default user agent patch


From: Hani Benhabiles <kroosec () gmail com>
Date: Wed, 23 Mar 2011 00:22:10 +0100

Hi list,

I've noticed that in the http nselib the default user agent is hard coded as
"Mozilla/5.0 (compatible; Nmap Scripting Engine;
http://nmap.org/book/nse.html)"
this could be easily detected by an IDS/IPS.

I've attached a patch that changes it to the user agent pfa Firefox 3.6 web
browser on a Windows 7 machine.
This would make the http traffic generated look more authentic.

Hani

Attachment: http.lua.patch
Description:

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

Current thread: