Sn1per is an automated scanner that can be used during a penetration test to enumerate and scan for vulnerabilities.

Automatically integrates with Metasploit Pro, MSFConsole and Zenmap for reporting

Automatically list SMB users and shares, check for NULL sessions and exploit MS08-067

Automatically runs WPScan, Arachni and Nikto for all web services

Credits: @menzow

Example usage:

[*] NORMAL MODE sniper -t|--target <TARGET> [*] NORMAL MODE + OSINT + RECON sniper -t|--target <TARGET> -o|--osint -re|--recon [*] STEALTH MODE + OSINT + RECON sniper -t|--target <TARGET> -m|--mode stealth -o|--osint -re|--recon [*] DISCOVER MODE sniper -t|--target <CIDR> -m|--mode discover -w|--workspace <WORSPACE_ALIAS> [*] SCAN ONLY SPECIFIC PORT sniper -t|--target <TARGET> -m port -p|--port <portnum> [*] FULLPORTONLY SCAN MODE sniper -t|--target <TARGET> -fp|--fullportonly [*] PORT SCAN MODE sniper -t|--target <TARGET> -m|--mode port -p|--port <PORT_NUM> [*] WEB MODE - PORT 80 + 443 ONLY! sniper -t|--target <TARGET> -m|--mode web [*] HTTP WEB PORT MODE sniper -t|--target <TARGET> -m|--mode webporthttp -p|--port <port> [*] HTTPS WEB PORT MODE sniper -t|--target <TARGET> -m|--mode webporthttps -p|--port <port> [*] ENABLE BRUTEFORCE sniper -t|--target <TARGET> -b|--bruteforce [*] AIRSTRIKE MODE sniper -f|--file /full/path/to/targets.txt -m|--mode airstrike [*] NUKE MODE WITH TARGET LIST, BRUTEFORCE ENABLED, FULLPORTSCAN ENABLED, OSINT ENABLED, RECON ENABLED, WORKSPACE & LOOT ENABLED sniper -f--file /full/path/to/targets.txt -m|--mode nuke -w|--workspace <WORKSPACE_ALIAS> [*] ENABLE LOOT IMPORTING INTO METASPLOIT sniper -t|--target <TARGET> [*] LOOT REIMPORT FUNCTION sniper -w <WORKSPACE_ALIAS> --reimport [*] UPDATE SNIPER sniper -u|--update

NORMAL: Performs basic scan of targets and open ports using both active and passive checks for optimal performance.

STEALTH: Quickly enumerate single targets using mostly non-intrusive scans to avoid WAF/IPS blocking.

AIRSTRIKE: Quickly enumerates open ports/services on multiple hosts and performs basic fingerprinting. To use, specify the full location of the file which contains all hosts, IPs that need to be scanned and run ./sn1per /full/path/to/targets.txt airstrike to begin scanning.

NUKE: Launch full audit of multiple hosts specified in text file of choice. Usage example: ./sniper /pentest/loot/targets.txt nuke.

DISCOVER: Parses all hosts on a subnet/CIDR (ie. 192.168.0.0/16) and initiates a sniper scan against each host. Useful for internal network scans.

PORT: Scans a specific port for vulnerabilities. Reporting is not currently available in this mode.

FULLPORTONLY: Performs a full detailed port scan and saves results to XML.

WEB: Adds full automatic web application scans to the results (port 80/tcp & 443/tcp only). Ideal for web applications but may increase scan time significantly.

WEBPORTHTTP: Launches a full HTTP web application scan against a specific host and port.

WEBPORTHTTPS: Launches a full HTTPS web application scan against a specific host and port.

UPDATE: Checks for updates and upgrades all components used by sniper.