Advertisement
AlexaMP

#1 PayPal Valid Email Checker

Jan 20th, 2019
3,323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 13.00 KB | None | 0 0
  1. #!/bin/bash
  2. # Slackerc0de Family Present
  3. # PayPal Valid V9
  4. # 13 July 2K17
  5. # By Malhadi Jr.
  6. # Recoded By MRCK222 From IDLive
  7. # Reupload by AlexaMP
  8. # save this file in .sh file
  9.  
  10. #set -x
  11. cat <<EOF
  12.  
  13. ----------------------
  14. IDLive Paypal V.02 By akhyardotid-
  15. ----------------------
  16. EOF
  17.  
  18. usage() {
  19.   echo "Usage: ./myscript.sh COMMANDS: [-i <list.txt>] [-r <folder/>] [-l {1-1000}] [-t {1-10}] OPTIONS: [-d] [-c]
  20.  
  21. Command:
  22. -i (20k-US.txt)     File input that contain email to check
  23. -r (result/)        Folder to store the result live.txt and die.txt
  24. -l (60|90|110)      How many list you want to send per delayTime
  25. -t (3|5|8)          Sleep for -t when check is reach -l fold
  26.  
  27. Options:
  28. -d                  Delete the list from input file per check
  29. -c                  Compress result to compressed/ folder and
  30.                    move result folder to haschecked/
  31. -h                  Show this manual to screen
  32. -u                  Check integrity file to server and update
  33.  
  34. Report any bugs to: IDLive
  35. "
  36.   exit 1
  37. }
  38.  
  39.  
  40. # Assign the arguments for each
  41. # parameter to global variable
  42. while getopts ":i:r:l:t:dchu" o; do
  43.     case "${o}" in
  44.         i)
  45.             inputFile=${OPTARG}
  46.             ;;
  47.         r)
  48.             targetFolder=${OPTARG}
  49.             ;;
  50.         l)
  51.             sendList=${OPTARG}
  52.             ;;
  53.         t)
  54.             perSec=${OPTARG}
  55.             ;;
  56.         d)
  57.             isDel='y'
  58.             ;;
  59.         c)
  60.             isCompress='y'
  61.             ;;
  62.         h)
  63.             usage
  64.             ;;
  65.     esac
  66. done
  67.  
  68. if [[ $inputFile == '' || $targetFolder == '' || $sendList == '' || $perSec == '' ]]; then
  69.   cli_mode="interactive"
  70. else
  71.   cli_mode="interpreter"
  72. fi
  73.  
  74. # Assign false value boolean
  75. # to both options when its null
  76. if [ -z "${isDel}" ]; then
  77.   isDel='n'
  78. fi
  79.  
  80. if [ -z "${isCompress}" ]; then
  81.   isCompress='n'
  82. fi
  83.  
  84. SECONDS=0
  85.  
  86. # Asking user whenever the
  87. # parameter is blank or null
  88. if [[ $inputFile == '' ]]; then
  89.   # Print available file on
  90.   # current folder
  91.   # clear
  92.   tree
  93.   read -p "Enter mailist file: " inputFile
  94. fi
  95.  
  96. if [[ $targetFolder == '' ]]; then
  97.   read -p "Enter target folder: " targetFolder
  98.   # Check if result folder exists
  99.   # then create if it didn't
  100.   if [[ ! -d "$targetFolder" ]]; then
  101.     echo "[+] Creating $targetFolder/ folder"
  102.     mkdir $targetFolder
  103.   else
  104.     read -p "$targetFolder/ folder are exists, append to them ? [y/n]: " isAppend
  105.     if [[ $isAppend == 'n' ]]; then
  106.       exit
  107.     fi
  108.   fi
  109. else
  110.   if [[ ! -d "$targetFolder" ]]; then
  111.     echo "[+] Creating $targetFolder/ folder"
  112.     mkdir $targetFolder
  113.   fi
  114. fi
  115.  
  116. if [[ $isDel == '' || $cli_mode == 'interactive' ]]; then
  117.   read -p "Delete list per check ? [y/n]: " isDel
  118. fi
  119.  
  120. if [[ $isCompress == '' || $cli_mode == 'interactive' ]]; then
  121.   read -p "Compress the result ? [y/n]: " isCompress
  122. fi
  123.  
  124. if [[ $sendList == '' ]]; then
  125.   read -p "How many list send: " sendList
  126. fi
  127.  
  128. if [[ $perSec == '' ]]; then
  129.   read -p "Delay time: " perSec
  130. fi
  131.  
  132.  
  133. urlencode() {
  134.     # urlencode <string>
  135.  
  136.     local length="${#1}"
  137.     for (( i = 0; i < length; i++ )); do
  138.         local c="${1:i:1}"
  139.         case $c in
  140.             [a-zA-Z0-9.~_-]) printf "$c" ;;
  141.             *) printf '%s' "$c" | xxd -p -c1 |
  142.                    while read c; do printf '%%%s' "$c"; done ;;
  143.         esac
  144.     done
  145. }
  146.  
  147.  
  148. malhadi_appleval() {
  149.   RED='\033[0;31m'
  150.   CYAN='\033[0;36m'
  151.   YELLOW='\033[1;33m'
  152.   ORANGE='\033[0;33m'
  153.   PURPLE='\033[0;35m'        
  154.   NC='\033[0m'
  155.   SECONDS=0
  156.   useragent=('Mozilla/5.0 (Windows NT 6.0) AppleWebKit/5362 (KHTML, like Gecko) Chrome/14.0.848.0 Safari/5362' 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0)' 'Opera/8.77 (Windows NT 6.0; U; en-US) Presto/2.9.179 Version/10.00' 'Mozilla/5.0 (Windows NT 5.1; en-US; rv:1.9.0.20) Gecko/20130614 Firefox/3.6.8' 'Mozilla/5.0 (Windows NT 6.0; en-US; rv:1.9.0.20) Gecko/20141216 Firefox/7.0' 'Mozilla/5.0 (compatible; MSIE 7.0; Windows NT 5.0; Trident/5.1)' 'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/5.1)' 'Mozilla/5.0 (compatible; MSIE 7.0; Windows NT 5.0; Trident/4.1)' 'Mozilla/5.0 (Windows NT 5.1) AppleWebKit/5350 (KHTML, like Gecko) Chrome/15.0.827.0 Safari/5350' 'Mozilla/5.0 (Windows NT 5.0; en-US; rv:1.9.2.20) Gecko/20110914 Firefox/5.0.1' 'Mozilla/5.0 (Windows NT 6.0) AppleWebKit/5311 (KHTML, like Gecko) Chrome/13.0.808.0 Safari/5311' 'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.0; Trident/4.1)' 'Mozilla/5.0 (Windows NT 5.1) AppleWebKit/5352 (KHTML, like Gecko) Chrome/15.0.874.0 Safari/5352' 'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/3.0)' 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/4.0)' 'Mozilla/5.0 (Windows NT 5.1) AppleWebKit/5361 (KHTML, like Gecko) Chrome/13.0.833.0 Safari/5361' 'Mozilla/5.0 (Windows NT 6.1; en-US; rv:1.9.0.20) Gecko/20120410 Firefox/3.8')
  157.   declare -A countryCodeList=( [AF]="Afghanistan" [AX]="Aland Islands" [AL]="Albania" [DZ]="Algeria" [AS]="American Samoa" [AD]="Andorra" [AO]="Angola" [AI]="Anguilla" [AQ]="Antarctica" [AG]="Antigua and Barbuda" [AR]="Argentina" [AM]="Armenia" [AW]="Aruba" [AU]="Australia" [AT]="Austria" [AZ]="Azerbaijan" [BS]="Bahamas" [BH]="Bahrain" [BD]="Bangladesh" [BB]="Barbados" [BY]="Belarus" [BE]="Belgium" [BZ]="Belize" [BJ]="Benin" [BM]="Bermuda" [BT]="Bhutan" [BO]="Bolivia, Plurinational State of" [BQ]="Bonaire, Sint Eustatius and Saba" [BA]="Bosnia and Herzegovina" [BW]="Botswana" [BV]="Bouvet Island" [BR]="Brazil" [IO]="British Indian Ocean Territory" [BN]="Brunei Darussalam" [BG]="Bulgaria" [BF]="Burkina Faso" [BI]="Burundi" [KH]="Cambodia" [CM]="Cameroon" [CA]="Canada" [CV]="Cape Verde" [KY]="Cayman Islands" [CF]="Central African Republic" [TD]="Chad" [CL]="Chile" [CN]="China Domestic" [C2]="China International" [CX]="Christmas Island" [CC]="Cocos (Keeling) Islands" [CO]="Colombia" [KM]="Comoros" [CG]="Congo" [CD]="Congo, The Democratic Republic of the" [CK]="Cook Islands" [CR]="Costa Rica" [CI]="Cote d'Ivoire" [HR]="Croatia" [CU]="Cuba" [CW]="Curacao" [CY]="Cyprus" [CZ]="Czech Republic" [DK]="Denmark" [DJ]="Djibouti" [DM]="Dominica" [DO]="Dominican Republic" [EC]="Ecuador" [EG]="Egypt" [SV]="El Salvador" [GQ]="Equatorial Guinea" [ER]="Eritrea" [EE]="Estonia" [ET]="Ethiopia" [FK]="Falkland Islands (Malvinas)" [FO]="Faroe Islands" [FJ]="Fiji" [FI]="Finland" [FR]="France" [GF]="French Guiana" [PF]="French Polynesia" [TF]="French Southern Territories" [GA]="Gabon" [GM]="Gambia" [GE]="Georgia" [DE]="Germany" [GH]="Ghana" [GI]="Gibraltar" [GR]="Greece" [GL]="Greenland" [GD]="Grenada" [GP]="Guadeloupe" [GU]="Guam" [GT]="Guatemala" [GG]="Guernsey" [GN]="Guinea" [GW]="Guinea-Bissau" [GY]="Guyana" [HT]="Haiti" [HM]="Heard Island and McDonald Islands" [VA]="Holy See (Vatican City State)" [HN]="Honduras" [HK]="Hong Kong" [HU]="Hungary" [IS]="Iceland" [IN]="India" [ID]="Indonesia" [IR]="Iran, Islamic Republic of" [IQ]="Iraq" [IE]="Ireland" [IM]="Isle of Man" [IL]="Israel" [IT]="Italy" [JM]="Jamaica" [JP]="Japan" [JE]="Jersey" [JO]="Jordan" [KZ]="Kazakhstan" [KE]="Kenya" [KI]="Kiribati" [KP]="Korea, Democratic People's Republic of" [KR]="Korea, Republic of" [KW]="Kuwait" [KG]="Kyrgyzstan" [LA]="Lao People's Democratic Republic" [LV]="Latvia" [LB]="Lebanon" [LS]="Lesotho" [LR]="Liberia" [LY]="Libya" [LI]="Liechtenstein" [LT]="Lithuania" [LU]="Luxembourg" [MO]="Macao" [MK]="Macedonia, The Former Yugoslav Republic of" [MG]="Madagascar" [MW]="Malawi" [MY]="Malaysia" [MV]="Maldives" [ML]="Mali" [MT]="Malta" [MH]="Marshall Islands" [MQ]="Martinique" [MR]="Mauritania" [MU]="Mauritius" [YT]="Mayotte" [MX]="Mexico" [FM]="Micronesia, Federated States of" [MD]="Moldova, Republic of" [MC]="Monaco" [MN]="Mongolia" [ME]="Montenegro" [MS]="Montserrat" [MA]="Morocco" [MZ]="Mozambique" [MM]="Myanmar" [NA]="Namibia" [NR]="Nauru" [NP]="Nepal" [NL]="Netherlands" [NC]="New Caledonia" [NZ]="New Zealand" [NI]="Nicaragua" [NE]="Niger" [NG]="Nigeria" [NU]="Niue" [NF]="Norfolk Island" [MP]="Northern Mariana Islands" [NO]="Norway" [OM]="Oman" [PK]="Pakistan" [PW]="Palau" [PS]="Palestine, State of" [PA]="Panama" [PG]="Papua New Guinea" [PY]="Paraguay" [PE]="Peru" [PH]="Philippines" [PN]="Pitcairn" [PL]="Poland" [PT]="Portugal" [PR]="Puerto Rico" [QA]="Qatar" [RE]="Reunion" [RO]="Romania" [RU]="Russian Federation" [RW]="Rwanda" [BL]="Saint Barthelemy" [SH]="Saint Helena, Ascension and Tristan Da Cunha" [KN]="Saint Kitts and Nevis" [LC]="Saint Lucia" [MF]="Saint Martin (French part)" [PM]="Saint Pierre and Miquelon" [VC]="Saint Vincent and the Grenadines" [WS]="Samoa" [SM]="San Marino" [ST]="Sao Tome and Principe" [SA]="Saudi Arabia" [SN]="Senegal" [RS]="Serbia" [SC]="Seychelles" [SL]="Sierra Leone" [SG]="Singapore" [SX]="Sint Maarten (Dutch part)" [SK]="Slovakia" [SI]="Slovenia" [SB]="Solomon Islands" [SO]="Somalia" [ZA]="South Africa" [GS]="South Georgia and the South Sandwich Islands" [SS]="South Sudan" [ES]="Spain" [LK]="Sri Lanka" [SD]="Sudan" [SR]="Suriname" [SJ]="Svalbard and Jan Mayen" [SZ]="Swaziland" [SE]="Sweden" [CH]="Switzerland" [SY]="Syrian Arab Republic" [TW]="Taiwan, Province of China" [TJ]="Tajikistan" [TZ]="Tanzania, United Republic of" [TH]="Thailand" [TL]="Timor-Leste" [TG]="Togo" [TK]="Tokelau" [TO]="Tonga" [TT]="Trinidad and Tobago" [TN]="Tunisia" [TR]="Turkey" [TM]="Turkmenistan" [TC]="Turks and Caicos Islands" [TV]="Tuvalu" [UG]="Uganda" [UA]="Ukraine" [AE]="United Arab Emirates" [GB]="United Kingdom" [UK]="United Kingdom" [US]="United States" [UM]="United States Minor Outlying Islands" [UY]="Uruguay" [UZ]="Uzbekistan" [VU]="Vanuatu" [VE]="Venezuela, Bolivarian Republic of" [VN]="Viet Nam" [VG]="Virgin Islands, British" [VI]="Virgin Islands, U.S." [WF]="Wallis and Futuna" [EH]="Western Sahara" [YE]="Yemen" [ZM]="Zambia" [ZW]="Zimbabwe" )
  158.   rand_useragent=${useragent[$RANDOM % ${#useragent[@]}]}
  159.  
  160. # posted=`curl "https://www.paypal.com/cgi-bin/webscr" --data "cmd=_cart&upload=1&business=$1&item_name_1=Iyaharuuum&amount_1=12.35&shipping_1=2.45" --compressed -D - -s --cookie-jar drop.cook --cookie asu`
  161.   posted=`curl "https://www.paypal.com/cgi-bin/webscr" --data "item_name=Sunbury$RAND.COM+-+Monthly+Email+Address&p3=1&t3=Y&cmd=_xclick-subscriptions&currency_code=AUD&sra=1&src=1&business=$1" --compressed -D - -s --cookie-jar cookiejar.txt --cookie cookie.txt`
  162.   duration=$SECONDS
  163.  
  164.  # echo -n $1;echo "$posted" | grep 'merchantCountry'
  165.   # countryCode="$(echo "$posted" | grep 'merchantCountr' | grep -o -P '(?<=merchantCountry=).*(?=\")')"
  166.   countryCode="$(echo "$posted" | grep -o -P '(?<=paypal.com).*(?=cgi-bin)' | tail -1 | awk -F[\/\/] '{print $2}' | tr '[:lower:]' '[:upper:]')"
  167.   header="`date +%H:%M:%S` $inputFile -> $targetFolder"
  168.   footer="[IDLIVE - PaypalV.03]\n"
  169.   if [[ $countryCode == '' ]]; then
  170.     printf "$2/$3. [${RED}DIE${NC}]${RED} $1 ${NC} $footer"
  171.     echo "$1" >> $4/die.txt
  172.     # echo "$posted" > $1.html
  173.   else
  174.     country=${countryCodeList[$countryCode]}
  175.     printf "$2/$3. [\e[38;5;82mLIVE${NC}] \e[38;5;82m[$country] \e[38;5;82m($countryCode) \e[38;5;82m$1 ${NC} $footer"
  176.     echo "[$country] ($countryCode) => $1" >> $4/live.txt
  177.   fi
  178.  
  179.   printf "\r"
  180. }
  181.  
  182. echo "========================================"
  183. totalLines=`grep -c "@" $inputFile`
  184. echo "Total List : $totalLines."
  185. echo " "
  186. echo "Hotmail: `grep -c "@hotmail" $inputFile`"
  187. echo "Yahoo: `grep -c "@yahoo" $inputFile`"
  188. echo "Gmail: `grep -c "@gmail" $inputFile`"
  189. echo "Yandex: `grep -c "@yandex" $inputFile`"
  190. echo ".de: `grep -c ".de" $inputFile`"
  191. echo "========================================"
  192.  
  193. # Extract email per line
  194. # from both input file
  195. IFS=$'\r\n' GLOBIGNORE='*' command eval  'mailist=($(cat $inputFile))'
  196. con=1
  197.  
  198. echo "[+] Sending $sendList email per $perSec seconds"
  199.  
  200. for (( i = 0; i < "${#mailist[@]}"; i++ )); do
  201.   username="${mailist[$i]}"
  202.   indexer=$((con++))
  203.   tot=$((totalLines--))
  204.   fold=`expr $i % $sendList`
  205.   if [[ $fold == 0 && $i > 0 ]]; then
  206.     header="`date +%H:%M:%S`"
  207.     duration=$SECONDS
  208.     echo "Waiting $perSec seconds. $(($duration / 3600)) hours $(($duration / 60 % 60)) minutes and $(($duration % 60)) seconds elapsed, ratio $sendList email / $perSec seconds"
  209.     sleep $perSec
  210.   fi
  211.  
  212.   malhadi_appleval "$username" "$indexer" "$tot" "$targetFolder" "$inputFile" &
  213.  
  214.   if [[ $isDel == 'y' ]]; then
  215.     grep -v -- "$username" $inputFile > "$inputFile"_temp && mv "$inputFile"_temp $inputFile
  216.   fi
  217. done
  218.  
  219. # waiting the background process to be done
  220. # then checking list from garbage collector
  221. # located on $targetFolder/unknown.txt
  222. echo "[+] Waiting background process to be done"
  223. wait
  224. wc -l $targetFolder/*
  225.  
  226. if [[ $isCompress == 'y' ]]; then
  227.   tgl=`date`
  228.   tgl=${tgl// /-}
  229.   zipped="$targetFolder-$tgl.zip"
  230.  
  231.    echo "[+] Compressing result"
  232.   zip -r "compressed/$zipped" "$targetFolder/die.txt" "$targetFolder/live.txt" "$targetFolder/limited.txt"
  233.   echo "[+] Saved to compressed/$zipped"
  234.   mv $targetFolder haschecked
  235.   echo "[+] $targetFolder has been moved to haschecked/"
  236. fi
  237. #rm $inputFile
  238. duration=$SECONDS
  239. echo "Checking done in $(($duration / 3600)) hours $(($duration / 60 % 60)) minutes and $(($duration % 60)) seconds."
  240. echo "+==========+ IDLIVE - Paypal Valid V.03 +==========+"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement