-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.py
39 lines (28 loc) · 892 Bytes
/
conf.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
#!/usr/bin/env python
# DiscoveryWorld Agent
# Written by A.... / JennySec
LOG_PATH="/var/log/discoveryworld/discoveryagent.log"
TOKEN="1ca86108626d48815d5dbc58375a0495"
LISTEN_PORT=0xC0FE
LISTEN_IP=""
DEBUG=True
BEANSTALK_SERVER = "127.0.0.1"
BEANSTALK_PORT = 11300
LOG_FILE = "discoveryagent.log"
PROXY_ENABLE = False
PROXY_LIST = [
{ 'http' : 'http://127.0.0.1:80/', 'https' : 'https://127.0.0.1:443' },
{ 'http' : 'http://127.0.0.1:80/', 'https' : 'https://127.0.0.1:443' }
]
#Internal use
#DBSM = "mysql" # or scylladb s
DBHOST="127.0.0.1"
DBPORT="3306"
#DBUSER="root"
#DBPASS="jennylab"
#DBNAME="discoveryworld"
import os,sys,platform
#sys.path.insert(0, './dist/whatweb')
CURRENT_PATH = os.path.dirname(os.path.abspath(__file__))
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert( 0, os.path.dirname(os.path.abspath(__file__)))