Skip to content

Django+Vue cyber security challenge (A03:2021-Injection, A07:2021-Identification and Authentication Failures )

Notifications You must be signed in to change notification settings

Monshou1251/django_vue_challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

Django-vue-challenge: Cybersecurity Challenge

Introduction

Welcome to django_vue_challenge, a cybersecurity challenge designed for beginners in the field. This application provides a hands-on experience in understanding and executing basic security penetration techniques. This challenge is related to: A03:2021-Injection, A07:2021-Identification and Authentication Failures.

Objectives

  • Bypass the login page using common cybersecurity techniques.
  • Perform an SQL injection to manipulate and access data.

Getting Started

Prerequisites

  • Basic knowledge of web technologies (HTML, JavaScript, etc.).
  • Familiarity with SQL and database structures.

Setup and Installation

Option 1: Manual Setup

Django Backend Setup

  1. Install Python: Ensure you have Python installed on your system. You can download it from python.org.
  2. Install Django: Run pip install django in your command line to install Django.
  3. Setup the Backend: Navigate to the Django project directory and run the following commands:
    • python manage.py makemigrations
    • python manage.py migrate
    • python manage.py runserver

Vue.js Frontend Setup

  1. Install Node.js and npm: Make sure you have Node.js and npm installed. You can download them from nodejs.org.
  2. Install Vue.js: Run npm install vue in your command line.
  3. Setup the Frontend: Navigate to the Vue.js project directory and execute the following:
    • npm install to install dependencies.
    • npm run serve to start the development server.

Option 2: Docker Setup

  1. Install Docker: If you do not have Docker installed, download it from docker.com.
  2. Build and Run with Docker: In the root directory of the project, where the Dockerfile is located, run the following commands:
    • docker build -t django-vue-challenge . to build the Docker image.
    • docker run -p 8000:8000 django-vue-challenge to run the application (assuming the backend runs on port 8000).

Accessing the Application

  • After setting up, you can access the application at http://localhost:8000 (or the port you configured).

Challenge Instructions

Bypassing the Login

  • Objective: Gain access to the application without a valid username or password.
  • Tips:
    • Look for common vulnerabilities in login forms.
    • Think about how user input is processed and validated.

SQL Injection

  • Objective: Perform an SQL injection to retrieve or manipulate data.
  • Tips:
    • Understand how the application interacts with its database.
    • Identify points where user input may be improperly sanitized.

Learning Resources

Support and Community

  • For technical issues, please contact me.

License

Feel free to utilize this whenever you deem it appropriate.

About

Django+Vue cyber security challenge (A03:2021-Injection, A07:2021-Identification and Authentication Failures )

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published