Jump to content
Reckon

Inside SQLMap

Recommended Posts

Posted

Salut, probabil ati folosit pana acum sqlmap.

Am facut un script in php care l-am atacat cu sqlmap (vulnerabil la sql injection) sa vad cum lucreaza sqlmap cand tu i comanzi, va las aici rezultatele:

http://sprunge.us/PFXI

Scriptul php:


<?php

mysql_connect("localhost","root","");

mysql_select_db("information_schema");

$query = mysql_query("SELECT * FROM CHARACTER_SETS where maxlen = '".$_GET['id']."'");

while($rez = mysql_fetch_array($query)){

echo $rez[0];

}


$file = fopen("results.txt","a+");

$content = $_GET['id']."\n";

fwrite($file,$content);



?>

  • Upvote 1

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