Skip to content

Web-dashboard app that displays data about queries using machine learning model.

License

Notifications You must be signed in to change notification settings

dudi709/SQL-injection-Final-Project

Repository files navigation

Contributors Forks Stargazers Issues MIT License


Logo

Sql Injection Detection

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License
  5. Contact

About The Project

This project is a final project within the framework of a bachelor's degree in software engineering. First, we performed model training using machine learning libraries so that we could identify queries: malicious queries / plain queries and then we developed a web-dashboard app that displays data about queries using the model we trained.

  • Malicious queries are queries whose content may contain text that could harm the database (SQL injection).
  • Plain queries are queries without malicious targets.

(back to top)

Built With

(back to top)

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Prerequisites

For training the model: (You can use our pre-trained model which is in the model folder)

pip install nltk==3.5
pip install pandas==1.0.5
pip install numpy==1.19.5
pip install tensorflow==2.5.0
pip install keras==2.6.0
pip install scikit-learn==0.23.1

For running app.py file (dashboard application):

pip install nltk==3.5
pip install dash==0.30.0
pip install pandas==1.0.5
pip install tensorflow==2.5.0
pip install dash-bootstrap-components==1.0.0

Installation

We recommend working with a conda virtual environment to install the libraries but this is at your discretion.

  1. Clone the repo

    git clone https://github.com/dudi709/SQL-injection-Final-Project.git
  2. Install the packages above

  3. Run app.py

(back to top)

Usage

App Demo When the application is running you can see it HERE.

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Dudi Biton - dudi709@gmail.com
Avihay Maman - avihaymaman1234@gmail.com

Project Link: Github

(back to top)

About

Web-dashboard app that displays data about queries using machine learning model.

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •