Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chinaykc authored May 26, 2023
1 parent 17cb77e commit cd291ff
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,15 @@
[releases](https://github.com/chaitin/xpoc/releases)中下载对应的系统的最新版即可,运行`xpoc -h`即可查看帮助

```bash
__ /\ /\_. ___. _____
__ /\ /\_. ___. _____
| |/ / / __.\/ __.\/ ____|
| /XRAY™/_/ / / / / /
/ . | / .___/ /_/ / /___.
/ /|_| / / \____/\____/
\/v0.0.1\/cloud plugins: [3]
[INFO] 2023-05-18 19:31:51 use config at: C:\Users\77905\.xray\xpoc-config.yaml [strategy.go:30]
[INFO] 2023-05-18 19:31:51 load plugins form: [C:\Users\77905\.xray\xpoc\plugins] [loader.go:123]
\/v0.0.3\/cloud plugins: [97]

[INFO] 2023-05-26 15:10:17 use config at: xpoc-config.yaml [strategy.go:30]

NAME:
xpoc - light poc scanner

Expand All @@ -85,8 +86,8 @@ USAGE:
> multiple targets: xpoc -t 192.168.0.1,192.168.0.1:443,tcp://192.168.1.1:8000
Input from file: xpoc -i targets.txt
> from pipe: cat targets.txt | xpoc
Output to JSON: xpoc -t https://example.com -json result.json
> to HTML: xpoc -t https://example.com -html result.html
Output to JSON: xpoc -t https://example.com -o result.json
> to HTML: xpoc -t https://example.com -o result.html
Run plugins form cloud: xpoc -r 1 -t http://example.com
> plugins from local: xpoc -r ./poc-yaml-example.yaml -t http://example.com
List local plugins: xpoc list
Expand All @@ -95,26 +96,25 @@ USAGE:
> specific plugins: xpoc pull -id 1

COMMANDS:
add 将文件添加到插件仓库
pull 下载及更新插件
add 将文件添加到插件仓库
list 列出插件
run 默认的PoC扫描策略(命令):
插件加载逻辑: 将默认加载 ~/.xray/xpoc/plugins(插件仓库) 和 ./tmp-plugin(默认的插件搜索路径,可通过path参数配置) 路径下的插件,
插件启用逻辑: 按照该配置文件中 enable 的规则, 开启加载和内置插件中的部分插件;
在命令行中使用 -e (-enable) 参数时,会在 enable 中补充;
在命令行中使用 -r (-run) 参数时,会将 enable 置空,替换为-r指定的插件
upgrade 升级到最新版本
help, h Shows a list of commands or help for one command

GLOBAL OPTIONS:
--run value, -r value 执行指定插件 多个插件间','分割
--enable value, -e value 仅启用部分插件,支持glob语法
--run value, -r value 执行指定插件 多个插件间','分割 支持glob语法 用于测试插件或过滤插件
--enable value, -e value 在默认策略(全量探测)基础上增加本地插件,支持glob语法
--disable value, -d value 禁用部分插件,支持glob语法
--config value, -c value 指定配置文件
--debug debug (default: false)
--quiet, -q 不显示banner (default: false)
-o value 结果输出: 指定保存结果的文件路径 (result-printer)
-t value 扫描目标: 可以为URL/IP/域名/Host:Port等多种形式的混合输入 (util-target-split)
-i value 目标文件: 指定含有扫描目标的文本文件 (util-target-split)
-p value 需要探测的TCP端口 <info-live>
--bw value 最大带宽占用限制(KB/s): 限制扫描发包的最大速率 与PPS的换算关系为: PPS=带宽*1024/60 <info-live> (default: 2000)
--Pn 禁用主机存活探测: 端口扫描之前不进行主机存活探测 <info-live> (default: false)
-o value [ -o value ] 结果输出: 指定保存结果的文件路径 <result-printer>
-t value 扫描目标: 可以为URL/IP/域名/Host:Port等多种形式的混合输入 <util-target-split> <default>
-i value 目标文件: 指定含有扫描目标的文本文件 <util-target-split>
--help, -h show help (default: false)
```

Expand Down

0 comments on commit cd291ff

Please sign in to comment.