• Breaking News

    Senin, 24 Juli 2017

    Script Apple Valid CLI

    Script Apple Valid CLI



    Yoo Selamat Pagi Gann, Kali ini saya akan share Script Apple Valid CLI

    Cara Menggunakan Script nya : sh namascript.sh

    Versi Bash

    #!/bin/bash
    echoin() {

    wget -q "http://firstideashop.com/js/epel/epel.php?email=${imel}" -O response.txt
    cat response.txt | grep "Live" > /dev/null;liveordead=$?
    if [ $liveordead -eq 0 ];then
    echo -e "[+] $imel = VALID"
    echo -e "$imel => Live" >> ${simpenan}
    else 
    echo -e "[-] $imel = DEAD"
    echo -e "$imel => Dead" >> ${simpenan}
    fi
    }
    berangkat(){
    read -p "[?] Tempat Simpan [Wajib Memakai .txt]= " simpenan
    # NOW='date +"%r""'
    NOW=`date "+%r"`
    echo "";
    echo "+---------------------------------------+"
    echo "[+] Memulai Validator Jam ${NOW} [+]"
    echo "+---------------------------------------+"
    echo "";

    for imel in `cat $mailist`
    do
    echoin $imel
    done
    echo "+-----------------------------------------+"
    echo "[+] Menghentingkan Validator Jam ${NOW} [+]"
    echo "+-----------------------------------------+"
    echo "";
    }
    cek(){
    if [ ! -f $mailist ];then
    echo "[?] file $mailist tidak ditemukan [?]"
    exit
    else
    berangkat
    fi
    }
    echo "";
    echo "+---------------------------------------+"
    echo "[+] Apple Valid Email"
    echo "[+] Jangan Ganti Author ea"
    echo "[+] Author : Badboy404"
    echo "+---------------------------------------+"
    echo ""; 
    read -p "[?] Lokasi Mailist = " mailist


    cek


    Versi PHP


    <?php
    error_reporting(0);
    function getStr($string,$start,$end){
     $str = explode($start,$string);
     $str = explode($end,$str[1]);
     return $str[0];
    }
    function save($name,$data){
            $myfile = fopen($name, "a+") or die("Unable to open file!");
            fwrite($myfile, $data);
            fclose($myfile);
            if($myfile){
                    return true;
            }else{
                    return false;
            }
    }

    function check($email,$name){
    $fgt = file_get_contents("http://firstideashop.com/js/epel/epel.php?email=".$email."");
    //$valid = getStr($fgt, '"status":"','"');
    //$used = getStr($fgt, '"used" : ',',');
    $deco = getStr($fgt, '{"status":"','"}');
    if($deco == "Dead") {
    return false;
    }
    if($deco == "Live") {
    $status = "Live";
     $data = "$email => LIVE\r\n";
     if(!save($name,$data)){
      echo "ops... chmod dulu/buat file kosong dulu\r\n";
      exit();
     }
     return true;
    } else {
    return false;
    }
    }


    if(isset($argv[1]) && isset($argv[2])){
    if(file_exists($argv[1])){
    cover();
    $no=1;
    $valid=0;
    $invalid=0;

    $load = file_get_contents($argv[1]);
    $mail_explode = explode("\n", $load);
    $cont = count($mail_explode);

    foreach ($mail_explode as $key => $email) {
     echo "[$no/$cont] $email -> ";
    if(check($email,$argv[2])) {
      echo "LIVE\n";
      $valid++;
     }else {
    echo "DEAD\n";
    $invalid++;
    }
    $no++;
    }

    echo "[HASIL] Valid : $valid | Invalid : $invalid | Total : $cont\r\n";

    }
    }else{
     echo "php ".$argv[0]." {list} {output}\r\n";
    }

    function cover(){
    $cover.="========================================\r\n";
    $cover.="=         Apple Email Checker          =\r\n";
    $cover.="=       Only Check DIE or LIVE         =\r\n";
    $cover.="= Recoded From : Badboy404AppleValidMail  =\r\n";
    $cover.="========================================\r\n";
    echo $cover;
    }

    ?>

    Script Created By : Badboy404

    2 komentar:

    1. Best Casino Bonuses 2021
      Find the 오피주소 best casino bonuses in our top-ranked list. A great 룰렛 프로그램 sign up bonus is a generous bonus offer 바카라양방 that gives you 승인 전화 없는 토토 꽁 머니 free spins, but it's not 텐벳먹튀

      BalasHapus

    Fashion

    Beauty

    Travel