Skip to content

Commit 929dd2f

Browse files
committed
更新文档
1 parent b895573 commit 929dd2f

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,14 @@ Products: cPanel-MGMT-Products
154154
UpdateTime: 2022-05-30 17:00:00
155155
```
156156

157+
### Dump
158+
159+
- dump large-scale data
160+
161+
```shell
162+
./fofa dump --format json -fixUrl -outFile a.json -batchSize 10000 'title=phpinfo'
163+
```
164+
157165
### Utils
158166

159167
- random subcommand

host_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ func TestClient_HostSearch(t *testing.T) {
136136
account = validAccounts[3]
137137
cli, err = NewClient(WithURL(ts.URL + "?email=" + account.Email + "&key=" + account.Key))
138138

139-
res, err = cli.HostSearch("port=80", -1, []string{"host"}, nil, SearchOptions{
139+
res, err = cli.HostSearch("port=80", -1, []string{"host"}, SearchOptions{
140140
FixUrl: true,
141141
})
142142
assert.Nil(t, err)

0 commit comments

Comments
 (0)