Advertisement
makispaiktis

Bash 1 - Basic scans

Nov 5th, 2024 (edited)
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.47 KB | Cybersecurity | 0 0
  1. # 1. Unconfigured scan
  2. nmap scanme.nmap.org
  3.  
  4. # 2. TCP Connect Scan and Service Probe Scan (in a single command)
  5. nmap -sT -sV scanme.nmap.org
  6.  
  7. # 3. TCP Connect Scan and Service Probe Scan with Configuration Options
  8. # Add flag -A: Enable OS detection, version detection, script scanning, and traceroute
  9. nmap -sT -sV -A scanme.nmap.org
  10.  
  11. # 4. Verbose and output results in XML format
  12. nmap -vv -oX XMLReport scanme.nmap.org
  13.  
  14. # 5. Diplay the created file
  15. more XMLReport
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement