enenumxela/ps.sh
GitHub: enenumxela/ps.sh
ps.sh 是一个 Bash 脚本,用于自动化端口扫描以提高网络安全评估效率。
Stars: 11 | Forks: 4
# ps.sh 脚本
  [](https://github.com/enenumxela/ps.sh/issues?q=is:issue+is:open) [](https://github.com/enenumxela/ps.sh/issues?q=is:issue+is:closed) [](https://github.com/enenumxela/ps.sh/blob/master/LICENSE)
`ps.sh` 是一个 bash 脚本,用于自动化对指定目标主机进行端口扫描。该脚本旨在减少扫描时间、提高扫描效率并自动化工作流程。
## 资源
* [功能特性](#features)
* [安装说明](#installation)
* [使用方法](#usage)
* [参与贡献](#contributing)
* [许可信息](#licensing)
* [致谢](#credits)
* [贡献者](#contributors)
* [依赖项](#dependencies)
## 功能特性
* 使用多种工作流程实现自动化服务发现:
* `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
```
## 许可信息
此实用程序基于 [MIT 许可证](https://opensource.org/license/mit) 授权。您可以自由使用、修改和分发它,只要您遵守许可证的条款。完整的许可证文本可在仓库中找到 - [MIT 许可证完整文本](https://github.com/enenumxela/ps.sh/blob/master/LICENSE)。
标签:AES-256, bash脚本, CTI, masscan, SOC, 多目标支持, 威胁情报平台, 密码管理, 工作流自动化, 应用安全, 效率优化, 数据统计, 服务发现, 漏洞评估, 端口扫描, 网络安全, 脚本编程, 隐私保护