diff --git a/mcp/service/eth0/run b/mcp/service/eth0/run index 884c059..cd90d39 100755 --- a/mcp/service/eth0/run +++ b/mcp/service/eth0/run @@ -2,6 +2,6 @@ hostname mcp -ifconfig eth0 10.0.0.1 netmask 255.0.0.0 +ifconfig eth0 10.0.0.2 netmask 255.0.0.0 exec inotifyd true $(pwd):x diff --git a/mcp/service/httpd/mathopd.conf b/mcp/service/httpd/mathopd.conf index 873d07c..f6449d8 100644 --- a/mcp/service/httpd/mathopd.conf +++ b/mcp/service/httpd/mathopd.conf @@ -25,13 +25,13 @@ Control { ScriptUser ctf Types { - application/javascript { .js } - text/html { .html } - text/plain { .txt } + "text/html; charset=utf-8" { .html } + "text/plain; charset=ut-8" { .txt } text/css { .css } image/png { .png } image/jpeg { .jpg } image/gif { .gif } + application/javascript { .js } application/octet-stream { * } } Specials { diff --git a/mcp/service/ircd/log/run b/mcp/service/ircd/log/run new file mode 100755 index 0000000..e680a08 --- /dev/null +++ b/mcp/service/ircd/log/run @@ -0,0 +1,3 @@ +#! /bin/sh + +exec logger -t ircd diff --git a/mcp/service/ircd/ngircd.conf b/mcp/service/ircd/ngircd.conf new file mode 100644 index 0000000..6c4380e --- /dev/null +++ b/mcp/service/ircd/ngircd.conf @@ -0,0 +1,7 @@ +[Global] + Name = irc.ctf + Info = CTF IRC + +[Operator] + Name = oper + Password = opsplz diff --git a/mcp/service/ircd/run b/mcp/service/ircd/run new file mode 100755 index 0000000..5d75410 --- /dev/null +++ b/mcp/service/ircd/run @@ -0,0 +1,4 @@ +#! /bin/sh + +exec 2>&1 +exec ngircd --config ./ngircd.conf --nodaemon diff --git a/mcp/service/sshd/log/run b/mcp/service/sshd/log/run new file mode 100755 index 0000000..4794c8e --- /dev/null +++ b/mcp/service/sshd/log/run @@ -0,0 +1,3 @@ +#! /bin/sh + +exec logger -t sshd diff --git a/mcp/service/sshd/rsa.key b/mcp/service/sshd/rsa.key new file mode 100644 index 0000000..6c75997 Binary files /dev/null and b/mcp/service/sshd/rsa.key differ diff --git a/mcp/service/sshd/run b/mcp/service/sshd/run new file mode 100755 index 0000000..e60e68b --- /dev/null +++ b/mcp/service/sshd/run @@ -0,0 +1,4 @@ +#! /bin/sh + +exec 2>&1 +exec dropbear -r ./rsa.key -E -F diff --git a/mcp/www/index.html b/mcp/www/index.html index 5b0faa3..1f8f7de 100644 --- a/mcp/www/index.html +++ b/mcp/www/index.html @@ -19,8 +19,8 @@ Teams