forked from SECFORCE/Tunna
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.py
78 lines (69 loc) · 2.7 KB
/
settings.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
Tunna_Defaults ={
#Default Tunna Settings
'bufferSize':1024*8, # Size of Socket Buffer
'verbose':False, # Verbose Print
'ping_delay':0.5, # Delay between requests
'interval':0.2,
'bind':'0.0.0.0', # Change to localhost for binding Tunna to localport
'useSocks':True, # Will use Socks Proxy if available
'ignoreServerCert':True,
# Default Remote Settings
'local_port':0,
'remote_port':0,
'remote_ip':"127.0.0.1",
'start_p_thread':False, # Start quering the socket first (eg. for SSH)
#Set Up a Local Proxy
'upProxy':None, #autodetect
'upProxyAuth':None,
#! Not to be changed
'ProxyFileWin':'lib/socks4aServer.exe',
'ProxyFilePy':'lib/socks4aServer.py',
#! HTTP headers
'Cookie':'',
}
Webserver_Defaults ={
#Default WebServer Settings
'hostname':"0.0.0.0", #Change to localhost for local connection
'webServerPort':8000,
'ssl':False,
# For Debug purposes
'WDEBUG':2,
'USEFILE':False,
#SSL Certificate
'certificate':'''
-----BEGIN PRIVATE KEY-----
MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAOKdz+7Zm+Fjq6qw
4rwDvRl7XLwR2CNclfXlH3Ff8eLEZDpiEqJs47zKHAYBF5aEevIRGYMqbsErUYCC
Gu504KxZOgGoGmd8r3oDbqJp0pPovMbVPZOV0Ms+Q1fAHHfBN5+lLm3eovhVQ54G
4ADHjU2P8BJ21VEkwBf5y35vNAkLAgMBAAECgYEAq9O1AgoF49RLKdWNVboP++5J
1mBBXi6plhTwzmpNYgA/bvVF49pko5UrwnG5jOtOvZSxn37hE57g4WvFN+FvKFF2
PFO3X4Sh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