-
Notifications
You must be signed in to change notification settings - Fork 7
abhishekdelta/digitalfortress
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a game where users are supposed to try cracking the various levels by finding security loopholes and obtaining a pass key that needs to entered to complete the level. Levels have varied points depending on the difficulty. To install and play the game, do this : * Put all the source code in your webserver directory and make sure your webserver user (usually www-data or apache2) has all permissions over that folder. * Create a user 'digitalfortress' with some password in your mysql server and create a database 'digitalfortress' and grant all privileges to that user over this database. * The database dump is present in 2 files : dbstructure.sql and dbinserts.sql . Import both these files in your database. * Now edit mysql.inc.php and put the details of your database host, username, password and database name in the first 4 lines of that file (just replace some already existing default values) * Now open the directory with any web browser and you should see the login page. But you need to register yourself first ! * I haven't created a registration page (as this wasn't originally a standalone game but a part of a bigger framework). So goto the database, and insert an entry in the table digifort_users by filling the columns user_name, user_password (make sure to select MD5 version if inserting plain-text or directly put the MD5 of your password) and user_lastlogin (give any date). * Now login with that username and password and start playing! * Delete the dbstructure.sql, dbinserts.sql, README files if you're going to host it online. Note : Some of the levels use Pythong, so make sure Python is installed and properly configured in your system. Also check .htaccess. Note 2 : Please either disable PHP display_errors setting, or change the error level to display only Warning and Error. Otherwise, PHP might reveal some compromising information if it displays Notice level errors too. CREDITS : Some of the levels were contributed to by Sumit Ranjan (coderush) and Siddhant Sanyam (siddhant3s).
About
A hacking game with multiple levels.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published