SHOW:
|
|
- or go back to the newest paste.
| 1 | <?php | |
| 2 | error_reporting(0); | |
| 3 | /* | |
| 4 | ||
| 5 | Name : Paypalid Email Mass Api(CLI) | |
| 6 | Author : shor7cut | |
| 7 | Link : http://fikri.dev.php.or.id | |
| 8 | Recoded By : Hiroyuki & Versailles | |
| 9 | ||
| 10 | ||
| 11 | How To Use : | |
| 12 | php namefile.php {listmail} {listapi} {output}
| |
| 13 | ||
| 14 | INDOXPLOIT CODER'S | DEFACER TERSAKITI TEAM | TUBAN CYBER TEAM | JAVA CYBER ARMY | HIROYUKI | SEC7OR | |
| 15 | ||
| 16 | */ | |
| 17 | function save($name,$data){
| |
| 18 | $myfile = fopen($name, "a+") or die("Unable to open file!");
| |
| 19 | fwrite($myfile, $data); | |
| 20 | fclose($myfile); | |
| 21 | if($myfile){
| |
| 22 | return true; | |
| 23 | }else{
| |
| 24 | return false; | |
| 25 | } | |
| 26 | ||
| 27 | } | |
| 28 | ||
| 29 | function check($email,$name,$api){
| |
| 30 | $fgt = json_decode(@file_get_contents($api.$email),true); | |
| 31 | ||
| 32 | ||
| 33 | if($fgt['status']== "live" or $fgt['status'] == "limited"){
| |
| 34 | $nama_negara = $fgt['country']; | |
| 35 | $kode_negara = $fgt['country_code']; | |
| 36 | $data = "$email\r\n"; | |
| 37 | if(!save($name,$data)){
| |
| 38 | echo "ops... chmod dulu/buat file kosong dulu\r\n"; | |
| 39 | exit(); | |
| 40 | } | |
| 41 | return true; | |
| 42 | }else{
| |
| 43 | return false; | |
| 44 | } | |
| 45 | ||
| 46 | } | |
| 47 | ||
| 48 | function array_split($array,$pieces = 2){
| |
| 49 | if($pieces<2)return array($array); | |
| 50 | $newCount = ceil(count($array)/$pieces); | |
| 51 | $a = array_slice($array, 0,$newCount); | |
| 52 | $b = array_split(array_slice($array,$newCount),$pieces-1);return array_merge(array($a),$b);} | |
| 53 | ||
| 54 | ||
| 55 | ||
| 56 | if(isset($argv[1]) && isset($argv[2]) && isset($argv[3]) ){
| |
| 57 | if(file_exists($argv[1])){
| |
| 58 | cover(); | |
| 59 | $no=1; | |
| 60 | $live=0; | |
| 61 | $limited=0; | |
| 62 | $list = file_get_contents($argv[1]); | |
| 63 | $apis = file_get_contents($argv[2]); | |
| 64 | ||
| 65 | $mail = explode("\r\n", $list); // kalau di windows hilangin commentiong nya
| |
| 66 | $api = explode("\r\n", $apis); // jgn lupa kasih commenting // di preg_split nya
| |
| 67 | ||
| 68 | //$mail = preg_split("/\\n|\\r/",$list); // kalau di linux hilangin commentiong nya
| |
| 69 | //$api = preg_split("/\\n|\\r/",$apis);// jgn lupa kasih commenting // di preg_split nya
| |
| 70 | ||
| 71 | $jum_mail = count($mail); | |
| 72 | $jum_api = count($api); | |
| 73 | $nn = 0; | |
| 74 | ||
| 75 | $pch = array_split($mail,count($api)); | |
| 76 | ||
| 77 | foreach($pch as $mail){
| |
| 78 | ||
| 79 | $apix = $api[$nn]; | |
| 80 | ||
| 81 | foreach($mail as $email){
| |
| 82 | echo "[$no/$jum_mail] $email -> "; | |
| 83 | if(check($email,$argv[3],$apix)){
| |
| 84 | echo "aktif brad!\r\n"; | |
| 85 | $live++; | |
| 86 | }else{
| |
| 87 | echo "zong!\r\n"; | |
| 88 | $limited++; | |
| 89 | } | |
| 90 | $no++; | |
| 91 | } | |
| 92 | $nn++; | |
| 93 | } | |
| 94 | ||
| 95 | echo "[Laporan Ndan] Valid : $live | Invalid : $limited | Total : $cont\r\n"; | |
| 96 | ||
| 97 | } | |
| 98 | }else{
| |
| 99 | echo "php ".$argv[0]." {list} {api} {output}\r\n";
| |
| 100 | } | |
| 101 | ||
| 102 | function cover(){
| |
| 103 | $cover.="----------------------------------------\r\n"; | |
| 104 | $cover.="> Paypal Valid (Cli) <\r\n"; | |
| 105 | $cover.="> Private Tool's By Shor7cut <\r\n"; | |
| 106 | $cover.="> Recoded By Hiroyuki <\r\n"; | |
| 107 | $cover.="> Thanks To Versailles - sec7or <\r\n"; | |
| 108 | ||
| 109 | ||
| 110 | echo $cover; | |
| 111 | } | |
| 112 | ||
| 113 | ?> |