hi, habe mit ner MySQL injection beim phpkit 1.6.03 ein problem 
erstmal ein original auszug aus dem exploit(nennt man das so ?):
und als ergebniss wird mir angezeigt:
mache ich etwas falsch ? oder verstehe ich das gebiet einfach noch nicht ?
wäre nett wenn mir einer helefn könnte, thx
erstmal ein original auszug aus dem exploit(nennt man das so ?):
(atm läuft das alles bei mir aufm lokalen test server) und ich habe dann mal eine tabelle erstellt mit dem namen "test" die beinhaltet nur eine spalte (integer(12) werte) ....so, nun versuche ich diesen aufruf:SQL INJECTION
http://www.target.com/phpkit/include.php?path=guestbook/print.php&id=1'
CODE:
<?php
if (isset($_REQUEST['id'])) $id=$_REQUEST['id'];
$gbookinfo=$DB->fetch_array($DB->query("SELECT * FROM ".$db_tab['gbook']."
WHERE gbook_id='".$id."' LIMIT 1"));
eval ("\$site_body.= \"".getTemplate("guestbook/print")."\";");
?>
http://localhost/phpkit/include.php?path=guestbook/print.php&id=1 insert into test values (2)
und als ergebniss wird mir angezeigt:
<?php
if (isset($_REQUEST['id'])) $id=$_REQUEST['id'];
$gbookinfo=$DB->fetch_array($DB->query("SELECT * FROM ".$db_tab['gbook']."
WHERE gbook_id='".$id."' LIMIT 1"));
eval ("\$site_body.= \"".getTemplate("guestbook/print")."\";");
?>
mache ich etwas falsch ? oder verstehe ich das gebiet einfach noch nicht ?