Skip to content

Scripts for setting up/running a CTF server. USE AT YOUR OWN RISK

License

Notifications You must be signed in to change notification settings

MT-CTF/ctf-scripts

Repository files navigation

ctf-scripts USE AT YOUR OWN RISK

LandarVargan's scripts/notes for setting up/running a CTF server.

Don't run anything unless you know exactly what you and the script are doing. The goal is to make this reliable and usable by less tech-savvy users, but the day that becomes a reality is a LONG way off

VPS first time setup

  • nano /etc/ssh/sshd_config
    • Set PasswordAuthentication to no and uncomment
    • Set ClientAliveInterval and ClientAliveCountMax if you have Landar's weird internet
  • Run ssh-copy-id locally, look it up if you don't know what it is.

Minetest user setup, script download (assumes root user)

  • sudo apt update && sudo apt install git
  • sudo useradd -s /bin/bash -m -G sudo minetest
  • loginctl enable-linger minetest
  • sudo passwd minetest Set the user password
  • su minetest
  • cd ~ && git clone https://github.com/MT-CTF/ctf-scripts.git && cd ctf-scripts/ && chmod +x *.sh

About

Scripts for setting up/running a CTF server. USE AT YOUR OWN RISK

Resources

License

Stars

Watchers

Forks

Languages