Created by wikm with ❤️
What does this bot do?
- analyze the xray log every day and send to you with telegram bot
- user phone detection
- porn detection
- classification users log per user
- specific inbound detection for users
- clear old logs
- CPU threshold alarm
- RAM threshold alarm
- ulr list per user
- most ulr used per user
- calculate and send The most used user
- send users usage ( get with mysql and marzban API )
- send user who has the most request in shortest time (versatile person) (in porn sites)
- send user who spend the longest period in one domain (thirsty person) (in porn sites)
- detect suspicious Domains and IPs and report by telegram
more features coming 🔜
Before installing the required libraries, you must first install Python and pip
pip install psutil
pip install shutil
pip install requests
pip install time
pip install pytz
pip install schedule
pip install json
pip install re
pip install os
pip install collections
pip install mysql-connector-python
pip install DateTime
First, download and extract the project with the following command :
wget https://github.com/wikm360/Xray-Log-Analyzer/releases/latest/download/Xray-Log-Analyzer.zip
unzip Xray-Log-Analyzer.zip -d /root/Xray-Log-Analyzer
cd Xray-Log-Analyzer/
nano detail.py
change variables with your own ...
sudo python3 base.py