-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.py
41 lines (33 loc) · 1.08 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# coding:utf-8
import time
class define:
GREEN = "\033[32m"
RED = "\033[0;31m"
BLUE = "\033[94m"
ORANGE = "\033[33m"
Timeout = 500
filename = 'out\\%s.xlsx' % time.strftime("%Y-%m-%d-%H-%M", time.localtime(time.time()))
FOFA_EMAIL = ''
Apikey = ''
banner = '''
__..--.._
..... .--~ ..... `.
.": "`-.. . .' ..-'" :". `
` `._ ` _.'`"( `-"'`._ ' _.' '
~~~ `. ~~~
.'
/
(
^---'
[*] Author:dacAIniao@重明安全
'''
usage = '''
Usage:
Supporting CIDR format!
python3 fofa.py [options]
Options:
-i ip eg : python3 fofa-Keyspider.py -i 8.8.8.8 8.8.8.0/24 8.8.8.8/16
-f ip_file eg : python3 fofa-Keyspider.py -f 1.txt
-k keyword eg : python3 fofa-Keyspider.py -k dGl0bGU9IkluZGV4IG9mIg%3D%3D
-ks keywords-file eg : python3 fofa-Keyspider.py -ks keys.txt
'''