CanHackMe is jeopardy CTF platform.
This platform tested on Ubuntu 16.04
+ Apache 2.4
+ PHP 7.3
.
-
Install
Apache 2.4
..htaccess
file is not available with other software. -
Install
PHP 7.3
. Lower versions are not supported. -
Install
php-sqlite3
andphp-mbstrings
modules. -
Set permission to access SQLite database file (default:
/@import/confs/.common.db
). -
Modify
/@import/confs/common.php
,.facebook_app_id.txt
,.twitter_account.txt
,.recaptcha_sitekey.txt
,.recaptcha_secretkey.txt
,.wechall_authkey.txt
,.hash_salt.txt
file. Make sure to change the hash salt to a long random string. Don't make it public. -
Register an account of administrator at the website. And modify
__ADMIN__
constant in/@import/confs/common.php
file. -
You must access the sqlite database directly to add notifications and challenges.
-
If you have any questions, feel free to contact me.