-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsamples.py
More file actions
executable file
·111 lines (104 loc) · 2.1 KB
/
samples.py
File metadata and controls
executable file
·111 lines (104 loc) · 2.1 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# ---------------------------------------------------------------------------
# samples.py
# Standalone sample data for tries.py
# ---------------------------------------------------------------------------
SAMPLE_HOSTS = [
"acmefw01.domain.local",
"acmefw02.domain.local",
"acmefw01-oob.domain.local",
"acmefw02-oob.domain.local",
"acmesw01.domain.local",
"acmesw02.domain.local",
"acmeweb01.domain.local",
"localhost.localdomain",
r"ACME\\acmesrv01.domain.local",
r"ACME\\acmesrv02.domain.local",
]
SAMPLE_IPS = [
"10.0.0.1",
"10.0.0.2",
"10.0.1.20",
"10.0.1.21",
"10.0.2.20",
"10.0.2.21",
"10.20.30.40",
"192.168.0.1",
"192.168.1.1",
"192.168.1.2",
"172.16.5.100",
"8.8.8.8",
]
SAMPLE_PATHS = [
"/usr/local/bin",
"/usr/local/sbin",
"/usr/local/share",
"/usr/bin",
"/usr/sbin",
"/usr/share",
"/opt/tools",
"/opt/scripts",
"/etc/nginx",
"/etc/ssh",
"/var/log",
"/var/tmp",
"/var/www",
"/var/www/html",
]
SAMPLE_URLS = [
"http://example.com/about",
"https://example.com",
"https://example.com/about",
"https://example.com/login",
"https://example.com/admin",
"https://acme.local",
"https://acme.local/app",
"https://acme.local/app/api",
"https://portal.example.net",
"https://portal.example.net/customers",
"https://portal.example.net/customers/acme",
]
SAMPLE_EMAILS = [
"alice@example.com",
"fred@example.com",
"bob@acme.local",
"root@localhost",
"ops@internal.syd.acme",
"alerts+prod@company.net",
]
SAMPLE_NATO = [
"acme",
"brav",
"char",
"delt",
"echo",
"foxt",
"gamm",
"hote",
"indi",
"juli",
"kilo",
"lima",
"mang",
"nove",
"osca",
"papa",
"quar",
"rome",
"sier",
"tang",
"umbr",
"vict",
"whis",
"xeno",
"yank",
"zulu",
]
# dictionary for easy merging
SAMPLES = {
"hosts": SAMPLE_HOSTS,
"ips": SAMPLE_IPS,
"paths": SAMPLE_PATHS,
"urls": SAMPLE_URLS,
"emails": SAMPLE_EMAILS,
"nato": SAMPLE_NATO,
}