Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
c7d8ad1e
Commit
c7d8ad1e
authored
6 years ago
by
meehow
Committed by
Marc Cornellà
6 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sudo added to nmap commands which require sudo (#4476)
parent
d21654fe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
nmap.plugin.zsh
plugins/nmap/nmap.plugin.zsh
+7
-7
No files found.
plugins/nmap/nmap.plugin.zsh
View file @
c7d8ad1e
...
@@ -17,16 +17,16 @@
...
@@ -17,16 +17,16 @@
alias
nmap_open_ports
=
"nmap --open"
alias
nmap_open_ports
=
"nmap --open"
alias
nmap_list_interfaces
=
"nmap --iflist"
alias
nmap_list_interfaces
=
"nmap --iflist"
alias
nmap_slow
=
"nmap -sS -v -T1"
alias
nmap_slow
=
"
sudo
nmap -sS -v -T1"
alias
nmap_fin
=
"nmap -sF -v"
alias
nmap_fin
=
"
sudo
nmap -sF -v"
alias
nmap_full
=
"nmap -sS -T4 -PE -PP -PS80,443 -PY -g 53 -A -p1-65535 -v"
alias
nmap_full
=
"
sudo
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_check_for_firewall
=
"
sudo
nmap -sA -p1-65535 -v -T4"
alias
nmap_ping_through_firewall
=
"nmap -PS -PA"
alias
nmap_ping_through_firewall
=
"nmap -PS -PA"
alias
nmap_fast
=
"nmap -F -T5 --version-light --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_detect_versions
=
"
sudo
nmap -sV -p1-65535 -O --osscan-guess -T4 -Pn"
alias
nmap_check_for_vulns
=
"nmap --script=vulscan"
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_full_udp
=
"
sudo
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_traceroute
=
"
sudo
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_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 "
alias
nmap_web_safe_osscan
=
"sudo nmap -p 80,443 -O -v --osscan-guess --fuzzy "
This diff is collapsed.
Click to expand it.
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