Skip to content

Commit 1adf56e

Browse files
authored
Update README.md
1 parent acacd3c commit 1adf56e

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,17 @@ The official library doesn't has unittests, 之前官方的库功能不全,
1616

1717
## Usage
1818

19+
### Build and run
20+
21+
```
22+
~ go install github.com/LubyRuffy/gofofa/cmd/fofa@latest
23+
~ $GOPATH/bin/fofa
24+
~ $GOPATH/bin/fofa search port=80
25+
WARN[0000] auth failed
26+
2022/08/07 14:38:29 auth failed: '[-700] Account Invalid', make sure key is valid
27+
~ FOFA_CLIENT_URL='https://fofa.info/[email protected]&key=xxx' $GOPATH/bin/fofa search port=80
28+
```
29+
1930
### Search
2031

2132
- search query, only query needed:
@@ -213,4 +224,4 @@ every 500ms generate one line, never stop
213224

214225
```shell
215226
./fofa stats -f domain -s 100 'cert.is_valid=true && (cert="google")'
216-
```
227+
```

0 commit comments

Comments
 (0)