Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Final Year Project

NotificationsYou must be signed in to change notification settings

steviegoneevil/ANN-for-DDoS-detection

Repository files navigation

Prerequisites

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)

Installation

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"

Starting Off

Open CMD

'cd' to repository location

python ProjectANN.py

Input number between 1-7, depending on what you would like to do

1 - Packet Sniffer

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

2 - ANN Data Gatherer

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

3 - Neural Network Trainer

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')

4 - Data Viewer

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

5 - Live Neural Network

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

6 - Visual ANN

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.

7 - Exit

About

Final Year Project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp