Skip to content

Commit 4bcb2e0

Browse files
committed
Updated some details
1 parent dfce88b commit 4bcb2e0

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

README.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212

1313
更好的Markdown兼容阅读:https://m0x1n.easyctf.cn/moxin/13876
1414

15-
16-
1715
# 调用方法
1816

1917
### 配置文件
@@ -44,7 +42,10 @@ proxy默认为空,如需代理,可对其进行填写。
4442
------
4543

4644
```python
47-
clients = Client()
45+
import pyfofa
46+
47+
48+
handle = pyfofa.Client()
4849
print(clients.check_fofa_config())
4950
```
5051

@@ -64,7 +65,7 @@ print(clients.check_fofa_config())
6465
import pyfofa
6566

6667

67-
handle = fofa.Client()
68+
handle = pyfofa.Client()
6869
print(handle.userinfo())
6970
```
7071

@@ -98,7 +99,7 @@ print(handle.userinfo())
9899
import pyfofa
99100

100101

101-
handle = fofa.Client()
102+
handle = pyfofa.Client()
102103
print(handle.search('title="bing"'))
103104
```
104105

@@ -192,7 +193,7 @@ handle.search('domain="qq.com"',field=field,size=10)
192193
import pyfofa
193194

194195

195-
handle = fofa.Client()
196+
handle = pyfofa.Client()
196197
print(handle.search_stats('ip="103.35.168.38"'))
197198
```
198199

@@ -246,7 +247,7 @@ handle.search(query_text, field)
246247
import pyfofa
247248

248249

249-
handle = fofa.Client()
250+
handle = pyfofa.Client()
250251
print(handle.search_host('78.48.50.249'))
251252
```
252253

@@ -325,7 +326,7 @@ handle.search_host(host, detail=False)
325326
```python
326327
import pyfofa
327328

328-
handle = fofa.Client()
329+
handle = pyfofa.Client()
329330
print(handle.username)
330331
```
331332

@@ -344,7 +345,7 @@ Moxin
344345
```python
345346
import pyfofa
346347

347-
handle = fofa.Client()
348+
handle = pyfofa.Client()
348349
print(handle.fcoin)
349350
```
350351

@@ -363,7 +364,7 @@ print(handle.fcoin)
363364
```python
364365
import pyfofa
365366

366-
handle = fofa.Client()
367+
handle = pyfofa.Client()
367368
print(handle.isvip)
368369
```
369370

@@ -382,7 +383,7 @@ true
382383
```python
383384
import pyfofa
384385

385-
handle = fofa.Client()
386+
handle = pyfofa.Client()
386387
print(handle.viplevel)
387388
```
388389

@@ -401,7 +402,7 @@ print(handle.viplevel)
401402
```python
402403
import pyfofa
403404

404-
handle = fofa.Client()
405+
handle = pyfofa.Client()
405406
print(handle.avatar)
406407
```
407408

0 commit comments

Comments
 (0)