-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
swainsubrat
committed
May 13, 2024
1 parent
7dc71d7
commit 9508f28
Showing
9 changed files
with
45 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,20 @@ | ||
# walle | ||
# Titli | ||
Artificial Intelligence based Intrusion Detection Systems | ||
|
||
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/titli) | ||
![PyPI - Version](https://img.shields.io/pypi/v/titli) | ||
|
||
|
||
### Installation | ||
``` | ||
pip install titli | ||
``` | ||
|
||
### Usage | ||
- Step 1: Copy the ```examples/train_ids.py``` and ```examples/test_ids.py``` file from the repo to your local machine. | ||
- Step 2: Run both the files to train and test the Kitsune IDS respectively. | ||
|
||
### Todo (Developer Tasks) | ||
- [ ] Check if RMSE is used for loss or just the difference. | ||
- [ ] Put Kitsune code into the base IDS format. | ||
- [ ] Write code to evaluate the model and calculate all the metrics. |
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
backup/train_test_pytorch_kitsune.py → examples/train_test_pytorch_kitsune.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from walle.ids import PyTorchKitsune | ||
from titli.ids import PyTorchKitsune | ||
|
||
model = PyTorchKitsune(num_features=100) | ||
threshold = model.train(pcap_path="../PANDA/PANDA/data/benign/weekday.pcap") | ||
print(threshold) | ||
model.infer(pcap_path="../PANDA/PANDA/data/benign/weekday.pcap") | ||
model.plot_kitsune(threshold) | ||
model.plot_kitsune(threshold) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters