Jump to content
player123

Xss

Recommended Posts

Salutare, as dori si eu daca stie si poate cineva de pe acest forum sa ma invete xss. Dupa cum stiti nu le am cu hackingul deci sunt incepator, am cautat tot feluri de tutoriale si nu am gasit nimic, ce am gasit a fost varza cu carnati.

Daca poate cineva sa ma invete sau sa imi dea un link catre un tutorial explicat foarte bine.

Va multumesc.

P.s : Sa nu incepeti sa postati pentru + 1 ca habar n-ai de hacking , lasate etc !

Link to comment
Share on other sites

XSS (Cross Site Scripting) nu se poate invata, pentru ca el e o vulnerabilitate defapt, care se poate exploata.Deci tu asta trebuie sa faci, sa inveti sa exploatezi XSS-urile.

Si asta a fost doar un search aici pe RST, gandeste-te ce gasesti daca o sa cauti pe Google,Yahoo etc.

Google search

Yahoo search

RSTCENTER Search

1

2

3

Ce vrei mai mult?

Link to comment
Share on other sites

Deci vulnerabilitatea XSS apare cand datele trimise de client sunt afisate pe pagina. In acest caz daca nu este filtrat, el poate injecta orice cod care este interpretat de browser (HTML, JS, etc..).

Sa luam urmatorul cod PHP:

index.php


<?php
echo $_GET["s"];
?>

In acest caz orice valoare pentru "s" va fi afisat pe pagina.

Daca injectam: <script>alert(1);</script>, vom obtine un raspuns cu urmatorul cod HTML:


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

Ceea ce va fi interceptat de browser si executat...

Mai sunt si alte metode de injectare: POST, COOKIE, HEADER, sau chiar si vulnerabilitati in server (TRACE allowed), etc...

Link to comment
Share on other sites

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