Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/takeshiyoshikawa/cryptominingdetector
A minimal client using network packet sniffing to detect Monero (XMR) mining tasks.
https://github.com/takeshiyoshikawa/cryptominingdetector
linux python3 scapy wireshark
Last synced: about 2 months ago
JSON representation
A minimal client using network packet sniffing to detect Monero (XMR) mining tasks.
- Host: GitHub
- URL: https://github.com/takeshiyoshikawa/cryptominingdetector
- Owner: TakeshiYoshikawa
- Created: 2020-08-06T19:58:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-17T05:32:08.000Z (over 3 years ago)
- Last Synced: 2024-07-29T03:51:41.463Z (6 months ago)
- Topics: linux, python3, scapy, wireshark
- Language: Python
- Homepage:
- Size: 22.1 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CryptominingDetector
## Use virtualenv### Create virtual environment
* ```virtualenv env``` or ```python3 -m venv ./env/```
### Activate virtual environment
* Linux: ```source env/bin/activate```
* Windows: ```/env/Scripts/activate```## Install requirements in virtualenv
* ```pip install -r requirements.txt```
### When you want to leave virtualenv
* ```deactivate```
## Check firewall table for blocked IPs
* ```iptables -L INPUT -n --line-numbers```## Run Tests
### Install pytest
* ```sudo apt install python3-pytest ```
### Execute tests
* ```pytest-3 test/```