1N3 / Sn1per

Attack Surface Management Platform
https://sn1persecurity.com
Other
7.77k stars 1.8k forks source link

Sniper Nuke #127

Closed gbiagomba closed 6 years ago

gbiagomba commented 6 years ago

Hello,

Is there a way we can run a nuke on one target without having to specify a list of machines? Currently i create a target file with just one IP but it would be great if I could specify one one machine or a CIDR notation to scan. The same should apply to the airstrike mode and I would like to be able to use a file list with the scan "modes" (e.g., brute force, OSINT, etc) assuming it doesn't already support this.

1N3 commented 6 years ago

hey, in sniper v4, single target scans can use the following with all modules enabled:

sniper -t target_ip --osint --bruteforce --recon --fullportonly -w workspace_alias

Nuke and airstrike are specifically for scanning multiple hosts where nuke basically runs all scan options on all hosts and airstrike is basically a stealthier/light scan of all hosts. I can look into adding specific options for each mode but alternatively, you could also create a file with the sniper specific flags/modes you want to run via a bash script to accomplish this.

#!/bin/bash
sniper -t target.com --osint --bruteforce --recon --fullportonly -w target
sniper -f targets.txt -m nuke
...
...
gbiagomba commented 6 years ago

Got it, thank you