Advertisement
makispaiktis

Bash 2 - Common scripts scan

Nov 8th, 2024 (edited)
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.38 KB | None | 0 0
  1. # 1. Unconfigured scan
  2. nmap localhost
  3.  
  4. # 2. Service version scan + defaults scripts
  5. nmap -sV -sC localhost
  6.  
  7. # 3. Scan port 8000 (previous scan proved that this is open) on target localhost + http-enum script
  8. nmap -p8000 --script http-enum localhost
  9.  
  10. # 4. Output in a normal form
  11. nmap -p8000 --script http-enum localhost -oN "http-enum-results"
  12.  
  13. # 5. Display
  14. more http-enum-results
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement