Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo " hello this script will scan a target using Nmap and xprobe2\n"
- echo "PLease type in a target on the network"
- read target
- if ping -c 5 $target
- then echo $target is pinged
- else echo $target not pinged; exit 1
- fi
- nmap -A $target
- echo "Now were going to use xprobe2 to grab a more accurate Operating system reading"
- xprobe2 -v $target
- echo completed
- sleep 2
- echo SYN port scan
- hping3 -S -8 1-1000 $target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement