Skip to content

Commit 38f87e5

Browse files
committed
更新 readme
1 parent 62c5d77 commit 38f87e5

File tree

5 files changed

+39
-12
lines changed

5 files changed

+39
-12
lines changed

README.md

Lines changed: 39 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ tee ones.conf <<-'EOF'
2828
EOF
2929
```
3030

31-
**3. 使用**
31+
**3. 支持选项**
3232

3333
```bash
3434
ones -help
@@ -40,24 +40,51 @@ Usage:
4040
ones [flags]
4141

4242
INPUT:
43-
-fofa string
44-
-quake string
45-
-zoom string (还没适配好)
46-
-shodan string (还没适配好)
47-
-hunter string
48-
-chaos string
43+
-fofa string fofa 查询
44+
-quake string quake 查询
45+
-zoom string zoomeye 查询 (还没适配好)
46+
-shodan string shodan 查询 (还没适配好)
47+
-hunter string huneter 查询
48+
-chaos string chaos 查询
4949

5050
OUTPUT:
51-
-json string
52-
-txt string
51+
-json string 导出 json 格式 (源格式,无处理)
52+
-txt string 导出 txt 格式 (ip:port 格式,经过处理)
5353

5454
CONFIGURATIONS:
55-
-num int
55+
-num int 查询数量 (默认100)
56+
```
57+
58+
**4. 使用**
5659

57-
OPTIMIZATIONS:
58-
-format string
60+
查询案例,fofa 查询 tomcat,只查询20个,默认输出
61+
```bash
62+
./ones -fofa 'app="APACHE-Tomcat"' -num 20
5963
```
6064

65+
![](./img/11.png)
66+
67+
fofa 查询 tomcat,只查询15个,输出 json 格式的数据到 output123.json 中
68+
```bash
69+
./ones -fofa 'app="APACHE-Tomcat"' -num 15 -json output123.json
70+
```
71+
72+
![](./img/12.png)
73+
74+
quake 查询 shiro ,查询10个,输出 txt 格式的数据到 output321.txt 中,输出 json 格式的数据到 output123.json 中
75+
```bash
76+
./ones -quake 'app:"Shiro权限管理系统"' -num 10 -txt output321.txt -json output123.json
77+
```
78+
79+
![](./img/13.png)
80+
81+
同时查询 fofa 和 quake 的 shiro ,输出 txt 到 all.txt 中 (注意: 查询多个引擎时,不可导出为 json)
82+
```bash
83+
./ones -fofa 'app="APACHE-Shiro"' -quake 'app:"Shiro权限管理系统"' -txt all.txt
84+
```
85+
86+
![](./img/14.png)
87+
6188
---
6289

6390
### bash shell 版本使用

img/11.png

22 KB
Loading

img/12.png

33.3 KB
Loading

img/13.png

60.9 KB
Loading

img/14.png

17.9 KB
Loading

0 commit comments

Comments
 (0)