For scapy
installation:
pip install --pre scapy[basic]
Read Scapy docs here
After installing scapy
, run:
python3 darkshark.py
Note: Archive folder is for previous darkshark versions, current latest version (v3) is
darkshark.py
.
This Browser Extension is a chromium extension coded to log form data and produce heavy traffic on specific sites.
- Form data is logged by the
sniff.js
file. The chromewebRequest
API has been used for this. You can also send this form data to a remote server, just change the URL in the code. - Random traffic is generated in the
traffic.js
file. To choose which websites trigger this file, just change theurls
list at the end of the file. Traffic is generated by calling a fetch request at each request to the url(s) in the list. This triggers an infinite recursive loop exhausting the browser resources.
A rules
file for SNORT to detect basic packet attacks that were coded in darkshark. It can be extended to detect a variety of attacks based on packet contents.