Advertisement
1337ings

[Batch] AutoNMAP

Jul 31st, 2016
551
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 1.96 KB | None | 0 0
  1. #!/bin/bash
  2. # Usage: bash autoNMAP.bat
  3. # Created by Chris Poole
  4. clear
  5. echo " +====================================================================+"
  6. echo " +--------------------------------------------------------------------+"  
  7. echo "╔═╗┬ ┬┌┬┐┌─┐  ╔╗╔╔╦╗╔═╗╔═╗ Created by Chris Poole, I'm always tired"
  8. echo "╠═╣│ │ │ │ │  ║║║║║║╠═╣╠═╝ of learning NMAP commands so this is why"
  9. echo "╩ ╩└─┘ ┴ └─┘  ╝╚╝╩ ╩╩ ╩╩   I've made this, I'm probably  going to save"
  10. echo " you alot of time with this file. It will be soon be upgraded."
  11. echo "  ==============================================================="
  12. echo "                          Target Analysis                  "
  13. echo "  ==============================================================="
  14. echo "================================="
  15. echo "| [1] Fast scan [2] 1-100 Ports |"
  16. echo "================================="
  17. echo -e "Choose the type of scan:"
  18. read choice
  19. clear
  20. echo "================================="
  21. echo -e "IP Address you'd like to scan:"
  22. read ip
  23. clear
  24. echo "============================================================================="
  25. echo "Thank you for using Auto NMAP, Sitting around bored gives you fancy ideas and"
  26. echo "creations."
  27. echo "============================================================================="
  28. echo "╔═╗┬ ┬┌┬┐┌─┐  ╔╗╔╔╦╗╔═╗╔═╗ Created by Chris Poole, I'm always tired"
  29. echo "╠═╣│ │ │ │ │  ║║║║║║╠═╣╠═╝ of learning NMAP commands so this is why"
  30. echo "╩ ╩└─┘ ┴ └─┘  ╝╚╝╩ ╩╩ ╩╩   I've made this, I'm probably  going to save"
  31. echo " you alot of time with this file. It will be soon be upgraded."
  32. echo "============================================================================="
  33. nmap -p 1-100 $ip
  34. nmap -F $ip
  35. sleep 3
  36. trap exit_script 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement