-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.example.yaml
200 lines (190 loc) · 4.23 KB
/
config.example.yaml
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
debug:
fake_shell: false
sync_commands: false
sync_server: false
sync_client: false
ossh_server: false
ui_server: false
overlay_fs: false
host_name: nasty-pot
version: OpenSSH_8.4p1 Ubuntu-6ubuntu2.1
ip_whitelist:
- 127.0.0.1
servers:
host: 0.0.0.0
port: 2200
webinterface:
enabled: true
host: 0.0.0.0
port: 443
max_idle: 3600 # seconds before idling bots are kicked
max_session_age: 3600 # seconds before sessions are expired
ratelimit: 125 # in chars/second
input_delay: 25 # in ms/char
sync_server:
host: 127.0.0.1
port: 1337
sync:
interval: 1 # in minutes
nodes:
# - host: 127.0.0.1
# port: 1337
metrics_server:
host: 0.0.0.0
port: 2222
commands:
rewriters:
- [ ";\\s*", "\n" ]
- [ "sudo\\s*", "" ]
- [ "/ip\\s*", "ifconfig" ]
exit:
- logout
- logoff
- shutdown
- poweroff
- exit
simple:
- [ "fsb", "Fat Sucker Bunch" ]
- [ "fbi", "Fat Bureaucrat Investigators" ]
- [ "cia", "Central Idiots Agency" ]
- [ "nsa", "National Suckers Agency" ]
- [ "ru", "Russian warship, go fuck yourself!" ]
- [ "sh", "/bin/bash^M: bad interpreter: No such file or directory (os error 2)" ]
- [ "tftp", "Error: TFTP, Opcode: Error Code(5)" ]
- [ "uname -s -m", "Linux x86_64" ]
- [ "uname -a", "Linux {{ .HostName }} 5.13.19-2-pve #1 SMP PVE 5.13.19-4 (Mon, 29 Nov 2021 12:10:09 +0100) x86_64 x86_64 x86_64 GNU/Linux" ]
- [ "uname -v", "#1 SMP PVE 5.13.19-4 (Mon, 29 Nov 2021 12:10:09 +0100)" ]
- [ "uname -r", "5.13.19-2-pve" ]
- [ "uname -n", "{{ .HostName }}" ]
- [ "uname -s", "Linux" ]
- [ "uname -m", "x86_64" ]
- [ "uname -p", "x86_64" ]
- [ "uname -i", "x86_64" ]
- [ "uname -o", "GNU/Linux" ]
- [ "uname", "Linux" ]
- [ "nproc", "128" ]
- [ "whoami", "{{ .User }}" ]
- [ "id", "uid=0({{ .User }}) gid=0({{ .User }}) groups=0({{ .User }})" ]
- [ "echo", "{{ .InputRaw }}" ]
- [ "command", "What is your wish, {{ .User }}?" ]
- [ "ifconfig", "ifconfig has been deprecated, use ip instead." ]
- [ "ifconfigcloud", "ifconfigcloud has been deprecated, use ip instead." ]
- [ "gcc", "Global Coal Conglomerate" ]
- [ "./sh", "/bin/sh^M: bad interpreter: No such file or directory (os error 2)" ]
- [ "./bash", "/bin/bash^M: bad interpreter: No such file or directory (os error 2)" ]
- [ "./x86_64", "/bin/bash^M: bad interpreter: No such file or directory (os error 2)" ]
- [ "./.senpai.loader", "/bin/bash^M: bad interpreter: No such file or directory (os error 2)" ]
- [ "#!/bin/sh", "/bin/sh^M: bad interpreter: No such file or directory (os error 2)" ]
- [ "./23", "ELF load command address/offset not properly aligned" ]
- [ "./23s", "ELF load command address/offset not properly aligned" ]
- [ "./23.sh", "/bin/bash^M: bad interpreter: No such file or directory (os error 2)" ]
- [ "cat /proc/cpuinfo | grep name | wc -l", ":(){ :|: & };:" ]
- [ 'echo -e "\x6F\x6B"', "ok" ]
permission_denied:
- sudo
- arch
- chcon
- chgrp
- chmod
- chown
- chroot
- env
- unlink
- ftpget
disk_error:
- base64
- cksum
- cp
- dd
- dir
- df
- dirname
- du
- readlink
- realpath
- rmdir
command_not_found:
- date
- false
- md5sum
- fold
- link
- ps
file_not_found:
- basename
- groups
- sha1sum
- sha224sum
- sha256sum
- sha384sum
- sha512sum
not_implemented:
- cal
- comm
- csplit
- cut
- dircolors
- expand
- expr
- factor
- fmt
- head
- hostid
- install
- join
- ln
- logname
- mkdir
- mkfifo
- mknod
- mktemp
- mv
- nice
- nl
- nohup
- numfmt
- od
- paste
- pathchk
- pinky
- pr
- printenv
- printf
- ptx
- runcon
- seq
- shred
- shuf
- sleep
- sort
- split
- stat
- stdbuf
- stty
- sum
- sync
- tac
- tail
- tee
- test
- timeout
- tr
- true
- truncate
- tsort
- tty
- uname
- unexpand
- uniq
- uptime
- users
- vdir
- wc
- who
- xxd
- yes
bullshit:
- bullshit
- pkill
- hive-passwd
- history