https://github.com/akiidjk/slanotifier
SLANotifier is a tool written in Python to report the status of the CyberChallenge A/D services that I developed for the UNISA team, the tool was initially born only as a pop-up notification tool that signals when a service goes down
https://github.com/akiidjk/slanotifier
attack-defense ctf python
Last synced: 8 months ago
JSON representation
SLANotifier is a tool written in Python to report the status of the CyberChallenge A/D services that I developed for the UNISA team, the tool was initially born only as a pop-up notification tool that signals when a service goes down
- Host: GitHub
- URL: https://github.com/akiidjk/slanotifier
- Owner: akiidjk
- Created: 2024-06-21T14:28:06.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-08T10:11:36.000Z (over 1 year ago)
- Last Synced: 2025-02-17T14:45:32.420Z (11 months ago)
- Topics: attack-defense, ctf, python
- Language: Python
- Homepage:
- Size: 66.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SLANotifier
SLANotifier is a tool written in Python to report the status of the CyberChallenge A/D services that I developed for the
UNISA team, the tool was initially born only as a pop-up notification tool that signals when a service goes down, but
later I wrote a part that can be activated or not that generates a report with the total statistics of the whole race,
allowing after an analysis of the team's weaknesses and strengths.
## Requirements
- Python (3.12 >=)
- For install python3.12 on linux
install [pyenv](https://github.com/pyenv/pyenv?tab=readme-ov-file#installation) !!! Remind to install
the [prerequisite](https://github.com/pyenv/pyenv/wiki#suggested-build-environment) for pyenv
- Linux or Windows
## Installation
- Create a venv env with ``python -m venv env`` or ``python3 -m venv env``.
- Install the requirements with ``pip install -r requirements.txt``
## Usage
Run in the same directory of main.py
``python main.py -r`` ( -r for create a report)
## Note for use
To use the tool you need Python 3.12 (for a string interpolation problem if you change it you can also use it in 3.11 at
your discretion)
## Configuration
In the file config.json there are 5 params to configure:
- **Log level**: The possible log levels are [Debug,Info,Warning,Error,Critical].
- **Target**: The target is the university you want to track, and it must match the name on the leaderboard (**the name
should actually be the one in the url when clicking to see the details of a team**).
- **Reload**: How often is the leaderboard reloaded, I recommend using 120 because it is the seconds of a single tick
- **Report**: whether or not to save a statistical report in the A/D (this parameter can also be activated via line
argument with the -r flag)