Nmap Development mailing list archives

[NSE] http-mobileversion-checker.nse


From: George Chatzisofroniou <sophron () latthi com>
Date: Mon, 29 Jul 2013 08:14:50 +0300

The attached script sets an Android User-Agent header and checks if the website
will redirect to a mobile-version. If it does, it also checks if this version
lies within the target host.

Here's an example of usage.

./nmap -p80 -n -Pn --script http-mobileversion-checker.nse some-very-random-page.com

This brings the following output:

 @output
 PORT   STATE SERVICE REASON
 80/tcp open  http    syn-ack
 |_ http-mobileversion-checker: Found mobile version: https://m.some-very-random-website.com (Redirected to a different 
host)

You can also easily add any newly discovered targets to nmap scanning queue
using the 'newtargets' option. 

-- 
George Chatzisofroniou

Attachment: http-mobileversion-checker.nse
Description:

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

Current thread: