forked from digininja/vuLnDAP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vulndap.cfg-sample
112 lines (99 loc) · 4.02 KB
/
vulndap.cfg-sample
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
112
#################
# General configuration.
Debug = true
[webserver]
ListenIP = "0.0.0.0"
ListenPort = 9090
[ldapclient]
BaseDN = "dc=hack,dc=me"
BindUser = "cn=robin,ou=admins,dc=hack,dc=me"
BindPassword = "hello"
BindHost = "localhost"
BindPort = 10389
[ldapserver]
ListenIP = "localhost"
ListenPort = 10389
baseDN = "dc=hack,dc=me"
#################
# The users section contains a hardcoded list of valid users.
# to create a passSHA256: echo -n "mysecret" | openssl dgst -sha256
[[users]]
name = "fred"
unixid = 5001
primarygroup = 5501
description = "CEO"
passsha256 = "6478579e37aff45f013e14eeb30b3cc56c72ccdc310123bcdf53e0333e3f416a" # dogood
gecos = "Fred Blogs,Manchester,0161 NOT TELLING,fred@digi.ninja"
sshkeys = ["ssh-rsa AAAAsurnks7w7eAfufAFuFFsusFAFJEWUfsadfuih7y78yASDFJ0fHMCWB3ZlDx5ispCo44/uikzriYSkPfIbgZXhn5Jn+fXKrTXhwrZ/pgJOGSMo4lXWNvkfdHpvVyHzWtUZXlyf/8lQGYcbI15ZZeNWwvDjQAw7Lf+ijBcoU8w8PDDbtsuumlsoklUoDVyY07hGrW4F+i7d1huj+id1Cd4myWB4OQQNvYaAGJr1YvuETcItGQ9mdB8+sHGs++Tp9c8Ec6VwB9cnWexjpvzAN2BjBPf9NQD7ZbuW5fk4rtZSnL3/KeFarYHo5ZVTrdsU4lxjee4oel9/X3UHa3u4UggM4oQozrdWBZww68s7yiuhSdfuiue fred@useless.inc"]
[[users]]
name = "sue"
unixid = 5002
primarygroup = 5501
description = "HR Boss"
passsha256 = "652c7dc687d98c9889304ed2e408c74b611e86a40caa51c4b43f1dd5913c5cd0" # mysecret
gecos = "Sue Smith,Leeds,0113 NOT TELLING,sue@digi.ninja"
sshkeys = ["ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDGievu+euto4Xc0wOariX0fHMCWB3ZlDx5ispCo44/uikzriYSkPfIbgZXhn5Jn+fXKrTXhwrZ/pgJOGSMo4lXWNvkfdHpvVyHzWtUZXlyf/8lQGYcbI15ZZeNWwvDjQAw7Lf+ijBcoU8w8PDDbtsuumlsoklUoDVyY07hGrW4F+i7d1huj+id1Cd4myWB4OQQNvYaAGJr1YvuETcItGQ9mdB8+sHGs++Tp9c8Ec6VwB9cnWexjpvzAN2BjBPf9NQD7ZbuW5fk4rtZSnL3/KeFarYHo5ZVTrdsU4lxjee4oel9/X3UHa3u4UggM4oQozrdWBZww6eY3Ss3Qm325i51 sue@useless.inc"]
[[users]]
name = "robin"
unixid = 5003
primarygroup = 5502
description = "Sys Admin"
passsha256 = "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824" # hello
memberOf = 5001
gecos = "Robin Wood,Sheffield,0114 NOT TELLING,robin@digi.ninja"
sshkeys = ["""-----BEGIN RSA PRIVATE KEY-----
NIIEogIBAAKCAQEAxonr7vnrraOF3NMDmq4l9HxzAlgd2ZQ8eYrKQqOOP7opM64m
epD3yG4GV4Z+SZ/n1yq014cK2f6YCThkjKOJV1jb5H3R6b1ch81rVGV5cn//JUBm
vGyNeWWXjVsLw40AMOy3/oowXKFPMPDww27bLrppbKJJVKA1cmNO4Rq1uBfou3dY
eo/ondQneJslgeDkEDb2GgBia9WL7hE3CLRkPZnQfPrBxrPvk6fXPBHOlcAfXJ1n
rY6b8wDdgYwT3/TUA+2W7luX5OK7WUpy9/ynhWq2B6OWV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ups section contains a hardcoded list of valid users.
[[groups]]
name = "users"
unixid = 5501
[[groups]]
name = "admins"
unixid = 5502
#################
# Fruits
[[fruits]]
name="banana"
description = "yellow and bendy"
stock = 10
[[fruits]]
name="apple"
description = "red and juicy"
stock = 12
###############
# Veg
[[vegetables]]
name="potato"
description="brown and nobbly"
stock = 42
[[vegetables]]
name="carrot"
description="orange, loved by rabbits"
stock = 1
[[vegetables]]
name="courgette"
description="wrongly known by Americans as zucchini"
stock = 99