Category Archives: nmap

http-screenshot-html updated

0

Posted on December 16, 2012 by

I’ve updated the http-screenshot-html script.  You can download it at the Google Code page.  The primary changes are:

  • Compatibility with Lua 5.2 as used in NMAP 6.25
  • Added the “imgquality” script argument to modify the image output quality of wkhtmltoimage.

See the script’s Manual for full details on using the script.

Also, it appears that there is a bug in Lua 5.2. If you use backslashes while calling a script, Lua will throw an error about an Invalid Escape Sequence.  So make sure you use forward slashes when calling scripts or using script args in NMAP 6.25.  This should be fixed in a future release of NMAP.

Improving http-screenshot.nse

0

Posted on July 19, 2012 by

Latest version of the script is here:

http://giuoco.org/security/http-screenshot-html-13/

About a month ago, the folks at SpiderLabs created an NMAP NSE script to grab a screenshot of any scanned hosts that were running web services.  (Read about it here).  The guys over at Pauldotcom were talking about the script and how it would be cool if it could output the results with links and full header information.  I decided this would be a good opportunity for me to learn some Lua and do some cool things with NMAP. (more…)