Scrabblelv Posted June 1, 2012 Share Posted June 1, 2012 Sveiki! Gribēju uzzināt kāda ir starpība starp "Cookie SQL injection", "URL SQL injection" un "POST SQL injection". Link to comment Share on other sites More sharing options...
usver Posted June 1, 2012 Share Posted June 1, 2012 veidā, kā saitam nodod ļaunprātīgi pārveidojamo vaicājumu. vai pats vari uzrakstīt saviem vārdiem, kas katra no tām lietām ir un kā notiek? Tiklīdz pats būsi sapratis, atšķirība būs acīmredzama. Link to comment Share on other sites More sharing options...
Scrabblelv Posted June 1, 2012 Author Share Posted June 1, 2012 Tieši to arī vēlējos noskaidrot "Kas katrā no tām lietām ir un kā notiek". Link to comment Share on other sites More sharing options...
Aleksejs Posted June 1, 2012 Share Posted June 1, 2012 Vēl aizmirsi par HEADER injection Link to comment Share on other sites More sharing options...
Scrabblelv Posted June 1, 2012 Author Share Posted June 1, 2012 Šoreiz man intresē konkrēti šīs trīs. Link to comment Share on other sites More sharing options...
Vilx- Posted June 1, 2012 Share Posted June 1, 2012 SQL injekcija var notikt visādos veidos, un ir muļķīgi un neracionāli to dalīt kaut kādās šādās kategorijās. Ar to var tikai auzās iebraukt. Pareizais veids ir - jebkuru, JEBKURU vērtību, kuru Tu spraud iekšā savā SQL kverijā, pirms tam eskeipot. Un eskeipošanu vajag veikt TIEŠI PIRMS iespraušanas kverijā. Nevajag mainīgajos turēt eskeipotas vērtības un ar tādām operēt. Nomudīsies kaut kur, ar garantiju. Vai arī vēl labāk - izmanto parametrizētos kverijus, un tad varēsi aizmirst par eskeipošanu un SQL injekcijām kā tādām. Link to comment Share on other sites More sharing options...
Aleksejs Posted June 1, 2012 Share Posted June 1, 2012 (edited) Visās notiek būtībā viens un tas pats - tas, kas notiek ir atkarīgs no serverpuses skripta. Atšķirības, kā jau teica, ir tikai nodošanas veidā un šim nodošanas veidam piemītošajos ierobežojumos (piemēram ne visi simboli, ko var nodot caur POST, ir nododami arī caur URL/GET). Edited June 1, 2012 by Aleksejs Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now