Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
meishi125478
ohmyzsh
提交
0dc7b5c0
O
ohmyzsh
项目概览
meishi125478
/
ohmyzsh
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
ohmyzsh
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
0dc7b5c0
编写于
2月 12, 2015
作者:
U
uberspot
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add nmap plugin with some aliases for scan modes
上级
677acc3a
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
60 addition
and
0 deletion
+60
-0
plugins/nmap/README.md
plugins/nmap/README.md
+32
-0
plugins/nmap/nmap.plugin.zsh
plugins/nmap/nmap.plugin.zsh
+28
-0
未找到文件。
plugins/nmap/README.md
0 → 100644
浏览文件 @
0dc7b5c0
# 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
*
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
*
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
plugins/nmap/nmap.plugin.zsh
0 → 100644
浏览文件 @
0dc7b5c0
# Some useful nmap aliases for scan modes
# 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
alias
nmap_open_ports
=
"nmap --open"
alias
nmap_list_interfaces
=
"nmap --iflist"
alias
nmap_slow
=
"nmap -sS -v -T1"
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_detect_versions
=
"nmap -sV -p1-65535 -O --osscan-guess -T4 -Pn"
alias
nmap_check_for_vulns
=
"nmap --script=vulscan"
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录