ps.sh 是一个 Bash 脚本,用于自动化对指定目标主机的端口扫描。该脚本的目标是减少扫描时间、提高扫描效率并自动化工作流程。
nmap2nmap:使用 Nmap 进行端口发现和服务发现。masscan2nmap:使用 Masscan 进行端口发现,然后使用 Nmap 进行服务发现。安装 ps.sh:
... 使用 curl:
F=${HOME}/.local/bin/ps.sh; curl -fsSL https://raw.githubusercontent.com/enenumxela/ps.sh/main/ps.sh > ${F} && chmod u+x ${F} && ${F} --setup
... 使用 wget:
F=${HOME}/.local/bin/ps.sh; wget -qO- https://raw.githubusercontent.com/enenumxela/ps.sh/main/ps.sh > ${F} && chmod u+x ${F} && ${F} --setup
要显示该脚本的帮助信息,请使用 -h 选项:
ps.sh -h
帮助信息如下所示:
_
_ __ ___ ___| |__
| '_ \/ __| / __| '_ \
| |_) \__ _\__ \ | | |
| .__/|___(_)___/_| |_|
|_| [ v1.0.0 ]
<>--------------------------<><> A Port Scanning Script. <><>--------------------------<>
USAGE:
ps.sh [OPTIONS]
OPTIONS:
-t, --target target IP
-l, --list target IPs file
-p, --ports target port(s) (default: 0-65535)
-w, --workflow discovery workflow (default: nmap2nmap)
--workflows list supported discovery workflows
-o, --output output directory (default: $PWD)
--setup install required dependencies
-h, --help display this help message
欢迎并鼓励贡献!请随时提交拉取请求或报告问题。更多详情,请查看贡献指南。
衷心感谢所有贡献者的持续支持!
该工具采用 MIT 许可证 授权。您可以自由使用、修改和分发,只要遵守许可证条款。您可以在仓库中找到完整的许可证文本 - MIT 许可证完整文本.