Platform Installation
Installation of PwnHUB Platform
For production, with script
Take this script, and copy it on your server.
Set +x right on the script with chmod +x ./script_front.sh
You can also execute this script with a oneliner
bash <(curl -s https://raw.githubusercontent.com/PwnHubCTF/installation/main/script_front.sh) -t <token> -d <domain>
Script usage
./script_front.sh -t <token> -d <domain> [-p]
- token: GithubUsername:GithubToken, ex Foobar:ghp_dsq5F6ug775zHjif975
- domain: You need to set a domain here, ex myctf.fr (DNS zone must be configured to target the server)
- if
-pis set, your instance will be protected by a basic auth. User ispwnhub, and password is printed at the end
Generate a github token
- go to
https://github.com/settings/tokens - Generate new token (classic)
- Check
repopermission - Generate token
Now, you can go to your domain url to access PwnHUB Platform