Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
80179c10
Commit
80179c10
authored
Oct 03, 2015
by
Robby Russell
Browse files
Merge pull request #4453 from uberspot/master
Add 3 more nmap aliases to nmap plugin
parents
5d24ba42
df5e1f9c
Changes
2
Hide whitespace changes
Inline
Side-by-side
plugins/nmap/README.md
View file @
80179c10
...
...
@@ -19,14 +19,19 @@ Nmap options are:
## Aliases explained
*
nmap_open_ports -
s
can for open ports on target
*
nmap_list_interfaces -
l
ist all network interfaces on host where the command runs
*
nmap_slow -
s
low scan that avoids to spam the targets logs
*
nmap_fin -
s
can to see if hosts are up with TCP FIN scan
*
nmap_full -
a
ggressive full scan that scans all ports, tries to determine OS and service versions
*
nmap_open_ports -
S
can for open ports on target
*
nmap_list_interfaces -
L
ist all network interfaces on host where the command runs
*
nmap_slow -
S
low scan that avoids to spam the targets logs
*
nmap_fin -
S
can to see if hosts are up with TCP FIN scan
*
nmap_full -
A
ggressive full scan that scans all ports, tries to determine OS and service versions
*
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
*
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_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.
plugins/nmap/nmap.plugin.zsh
View file @
80179c10
...
...
@@ -22,7 +22,11 @@ alias nmap_fin="nmap -sF -v"
alias
nmap_full
=
"nmap -sS -T4 -PE -PP -PS80,443 -PY -g 53 -A -p1-65535 -v"
alias
nmap_check_for_firewall
=
"nmap -sA -p1-65535 -v -T4"
alias
nmap_ping_through_firewall
=
"nmap -PS -PA"
alias
nmap_fast
=
"nmap -F -T5 --top-ports 300"
alias
nmap_fast
=
"nmap -F -T5
--version-light
--top-ports 300"
alias
nmap_detect_versions
=
"nmap -sV -p1-65535 -O --osscan-guess -T4 -Pn"
alias
nmap_check_for_vulns
=
"nmap --script=vulscan"
alias
nmap_full_udp
=
"nmap -sS -sU -T4 -A -v -PE -PS22,25,80 -PA21,23,80,443,3389 "
alias
nmap_traceroute
=
"nmap -sP -PE -PS22,25,80 -PA21,23,80,3389 -PU -PO --traceroute "
alias
nmap_full_with_scripts
=
"sudo nmap -sS -sU -T4 -A -v -PE -PP -PS21,22,23,25,80,113,31339 -PA80,113,443,10042 -PO --script all "
alias
nmap_web_safe_osscan
=
"sudo nmap -p 80,443 -O -v --osscan-guess --fuzzy "
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment