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()
4849print (clients.check_fofa_config())
4950```
5051
@@ -64,7 +65,7 @@ print(clients.check_fofa_config())
6465import pyfofa
6566
6667
67- handle = fofa .Client()
68+ handle = pyfofa .Client()
6869print (handle.userinfo())
6970```
7071
@@ -98,7 +99,7 @@ print(handle.userinfo())
9899import pyfofa
99100
100101
101- handle = fofa .Client()
102+ handle = pyfofa .Client()
102103print (handle.search(' title="bing"' ))
103104```
104105
@@ -192,7 +193,7 @@ handle.search('domain="qq.com"',field=field,size=10)
192193import pyfofa
193194
194195
195- handle = fofa .Client()
196+ handle = pyfofa .Client()
196197print (handle.search_stats(' ip="103.35.168.38"' ))
197198```
198199
@@ -246,7 +247,7 @@ handle.search(query_text, field)
246247import pyfofa
247248
248249
249- handle = fofa .Client()
250+ handle = pyfofa .Client()
250251print (handle.search_host(' 78.48.50.249' ))
251252```
252253
@@ -325,7 +326,7 @@ handle.search_host(host, detail=False)
325326``` python
326327import pyfofa
327328
328- handle = fofa .Client()
329+ handle = pyfofa .Client()
329330print (handle.username)
330331```
331332
@@ -344,7 +345,7 @@ Moxin
344345``` python
345346import pyfofa
346347
347- handle = fofa .Client()
348+ handle = pyfofa .Client()
348349print (handle.fcoin)
349350```
350351
@@ -363,7 +364,7 @@ print(handle.fcoin)
363364``` python
364365import pyfofa
365366
366- handle = fofa .Client()
367+ handle = pyfofa .Client()
367368print (handle.isvip)
368369```
369370
382383``` python
383384import pyfofa
384385
385- handle = fofa .Client()
386+ handle = pyfofa .Client()
386387print (handle.viplevel)
387388```
388389
@@ -401,7 +402,7 @@ print(handle.viplevel)
401402``` python
402403import pyfofa
403404
404- handle = fofa .Client()
405+ handle = pyfofa .Client()
405406print (handle.avatar)
406407```
407408
0 commit comments