good looking dashboard to query your infostealer logs.
-
Clone the repository
git clone https://github.com/ayxkaddd/StealerLogsDashboard cd StealerLogsDashboard -
Create a virtual environment and activate it
python -m venv venv source venv/bin/activate -
Install dependencies
pip install -r requirements.txt
-
Install PostgreSQl on your system. For example with docker-compose: docker-compose.yml:
version: "3.8" services: db: container_name: postgres_container image: postgres restart: always environment: POSTGRES_USER: root POSTGRES_PASSWORD: root POSTGRES_DB: test_db ports: - "5432:5432"
Run:
docker-compose up -d
- Configure the database
- Update
config.py:DATABASE_URL = "postgresql+asyncpg://root:root@localhost/stealer_logs"
- Update
- Configure Telegram API credentials:
- Update
config.py:API_ID = "your_api_id" API_HASH = "your_api_hash"
- You can obtain these credentials by visiting my.telegram.org/auth?to=apps. Sign in to your Telegram account, create a new app or retrieve the credentials from an existing one.
- Update
- Generate and Apply Migrations:
alembic revision --autogenerate -m "Initial migration" alembic upgrade head - Start the Dashboard:
By default, the app will be available at
python main.py
http://127.0.0.1:8000. - Import Logs to database:
python scripts/upload_logs_from_folder.py /path/to/your/log http://127.0.0.1:8000
