- Notifications
You must be signed in to change notification settings - Fork21
steviegoneevil/ANN-for-DDoS-detection
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Download & Install Python 3.6 64-bithttps://www.python.org/downloads/ (Make sure you add it to PATH)
Download & install Wireshark (Make sure Tshark and WinPcap are installed aswell)
Download & Installhttps://landinghub.visualstudio.com/visual-cpp-build-tools (Microsoft Visual C++ Redistributable for Visual Studio 2017)
Clone this repository to desired location
Open CMD
'cd' to repository location
use the following line in CMD to install the necessary requirements "pip install -r requirements.txt"
Open CMD
'cd' to repository location
python ProjectANN.py
Input number between 1-7, depending on what you would like to do
This is a basic packet sniffer
From the list, input the name of the inetrface you wish to sniffPacket information should now be seen
ctrl + c to cancel
This is used to create a dataset to train and test an ANN.
From the list, input the name of the inetrface you wish to gather data from
ctrl + c to cancel
Creates and trains an ANN from a dataset
input name of the CSV dataset file you wish to useIf you want to load a previous model, input 'y' and then input the name of the modelElse just hit EnterDepending on model topology and the size of the dataset, the process may take a whileOnce finished, input 'y' to see the Weights and intercepts of the model after traininginput 'y' again to save the model (Must end in '.sav')
Allows for viewing the data within a dataset
input name of CSV Dataset you wish to viewinput 'a' to see All, 'n' to see just the numerical data, 'c' to see just categorical data
Uses a trained ANN to detect DDoS Attacks
From the list, input the name of the inetrface you wish to detect DDoS attacks oninput the filename of a trained modelThis will continuously run until either stopped or an attack is detected
Shows a visual representation of what an ANN model looks like (Can be changed in code, currently displays an input layer of 8, 2 hidden layers of 100 and an output layer of 1.
About
Final Year Project
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.