Skip to content
Rory McCune edited this page Mar 29, 2016 · 3 revisions

Web Header Scanner

The goal of the web_header_scan.rb script is to check a set of web servers provided as input for some common security issues relating to their HTTP headers and provide a concise report about this in different formats, to ease analysis and reporting.

Requirements

You can install dependent gems using bundle install in the TestingScripts directory or you can install them manually. This script depends on the httparty gem.

Input

Input for the scan is a text file with hosts and ports to be tested, one to each line. If the input file doesn't specify whether a target is accessed over http or https the script will default to http unless the specified port is 443.

Output

There's a couple of output formats available but the best one at the moment is likely the Excel one as it includes checks for security headers which the others don't as yet.

Usage

The input file is specified using the -f switch. the report name is specified with the --reportPrefix switch and the excel report with excelReport

Clone this wiki locally