Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

XSS redirect


clone4's Avatar
Perl-6 Wisdom Seeker
0 0

hi dudes, I was just wondering, using XSS how do i redirect the page to another one, or replace contet with mine ? for redirection is possible to use window.onload = and then the redirection ?

sry for noob question :)


What_A_Legend's Avatar
...Legend?
0 0

Just google redirect its simple code just injecct a simple redirect in to the page. Its like 1 line of code.


spyware's Avatar
Banned
0 0

<img src="" onError="document.location='http://google.com'">


clone4's Avatar
Perl-6 Wisdom Seeker
0 0

thx for that piece of code, but sry for spamming :)…


ghost's Avatar
0 0

Or use window.location


What_A_Legend's Avatar
...Legend?
0 0

croconile wrote: Or use window.location

Good point.

But why was this thread restarted ?