Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Usage: bash autoNMAP.bat
- # Created by Chris Poole
- clear
- echo " +====================================================================+"
- echo " +--------------------------------------------------------------------+"
- echo "╔═╗┬ ┬┌┬┐┌─┐ ╔╗╔╔╦╗╔═╗╔═╗ Created by Chris Poole, I'm always tired"
- echo "╠═╣│ │ │ │ │ ║║║║║║╠═╣╠═╝ of learning NMAP commands so this is why"
- echo "╩ ╩└─┘ ┴ └─┘ ╝╚╝╩ ╩╩ ╩╩ I've made this, I'm probably going to save"
- echo " you alot of time with this file. It will be soon be upgraded."
- echo " ==============================================================="
- echo " Target Analysis "
- echo " ==============================================================="
- echo "================================="
- echo "| [1] Fast scan [2] 1-100 Ports |"
- echo "================================="
- echo -e "Choose the type of scan:"
- read choice
- clear
- echo "================================="
- echo -e "IP Address you'd like to scan:"
- read ip
- clear
- echo "============================================================================="
- echo "Thank you for using Auto NMAP, Sitting around bored gives you fancy ideas and"
- echo "creations."
- echo "============================================================================="
- echo "╔═╗┬ ┬┌┬┐┌─┐ ╔╗╔╔╦╗╔═╗╔═╗ Created by Chris Poole, I'm always tired"
- echo "╠═╣│ │ │ │ │ ║║║║║║╠═╣╠═╝ of learning NMAP commands so this is why"
- echo "╩ ╩└─┘ ┴ └─┘ ╝╚╝╩ ╩╩ ╩╩ I've made this, I'm probably going to save"
- echo " you alot of time with this file. It will be soon be upgraded."
- echo "============================================================================="
- nmap -p 1-100 $ip
- nmap -F $ip
- sleep 3
- trap exit_script 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement