Blame view

repos/robbyrussell/oh-my-zsh/plugins/nmap/README.md 1.77 KB
56a5793ce   mj   Squashed 'repos/r...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  # Nmap aliases plugin
  
  Adds some useful aliases for nmap similar to the profiles in zenmap.
  
  Nmap options are:
   * -sS - TCP SYN scan
   * -v - verbose
   * -T1 - timing of scan. Options are paranoid (0), sneaky (1), polite (2), normal (3), aggressive (4), and insane (5)
   * -sF - FIN scan (can sneak through non-stateful firewalls)
   * -PE - ICMP echo discovery probe
   * -PP - timestamp discovery probe
   * -PY - SCTP init ping
   * -g - use given number as source port
   * -A - enable OS detection, version detection, script scanning, and traceroute (aggressive)
   * -O - enable OS detection
   * -sA - TCP ACK scan
   * -F - fast scan
   * --script=vulscan - also access vulnerabilities in target
  
  ## Aliases explained
ed37aae5b   mj   Squashed 'repos/r...
21
22
23
24
25
   * nmap_open_ports - Scan for open ports on target
   * nmap_list_interfaces - List all network interfaces on host where the command runs
   * nmap_slow - Slow scan that avoids to spam the targets logs
   * nmap_fin - Scan to see if hosts are up with TCP FIN scan
   * nmap_full - Aggressive full scan that scans all ports, tries to determine OS and service versions
56a5793ce   mj   Squashed 'repos/r...
26
27
28
29
   * nmap_check_for_firewall - TCP ACK scan to check for firewall existence
   * nmap_ping_through_firewall - Host discovery with SYN and ACK probes instead of just pings to avoid firewall
     restrictions
   * nmap_fast - Fast scan of the top 300 popular ports
ed37aae5b   mj   Squashed 'repos/r...
30
31
32
33
34
35
   * nmap_detect_versions - Detects versions of services and OS, runs on all ports
   * nmap_check_for_vulns - Uses vulscan script to check target services for vulnerabilities
   * nmap_full_udp - Same as full but via UDP
   * nmap_traceroute - Try to traceroute using the most common ports
   * nmap_full_with_scripts - Same as nmap_full but also runs all the scripts
   * nmap_web_safe_osscan - Little "safer" scan for OS version  as connecting to only HTTP and HTTPS ports doesn't look so attacking.