Skip to content

Kaiser784/Web-sec-challenges

Repository files navigation

What is ANFANG?

A collection of small web-security challenges for beginners to get awareness and train themselves with basics.

Features

  • Create your own challenges, hints, and flags from the Admin Interface
  • Leaderboard - Ordering based on timestamps and points

Coming in the next versions

  • Unlockable hints
  • OAuth for Email verification during signup
  • Pagination for Home page and Leaderboard
  • Dynamic Scoring of Challenges

Install

  • Install all the required packages from the requirements.txt file using:

    pip3 install -r requirements.txt
    
  • How to use PostgreSQL with the application

    • Configure Django database settings
      DATABASES = {
        'default': dj_database_url.config(default='postgresql://anfanguser:anfangphase2_@localhost/anfang', conn_max_age=600)
      }
      
    • Now that the Django settings are configured, we can migrate our data structures to our database and test out the server.
      python manage.py makemigrations
      python manage.py migrate
      
  • For adding new challenges

    • Enter all the details of the challenge in the databse from the django admin page

    • After adding the new challenge in the database, type the following in the python interactive shell
      >>> user_relation_when_new_challenge("The Robots")
      

Team:

Paul Babu Kadali
Binesh Munukurthi
Abhijeet Mahapatra
Vikranth Kumar Bala