Skip to content

Commit 7af9199

Browse files
author
unknown
committed
Merge branch 'main' of https://github.com/LubyRuffy/gofofa
2 parents 2ba4c4c + 1adf56e commit 7af9199

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:
@@ -230,4 +241,4 @@ every 500ms generate one line, never stop
230241

231242
```shell
232243
./fofa stats -f domain -s 100 'cert.is_valid=true && (cert="google")'
233-
```
244+
```

0 commit comments

Comments
 (0)