Advertisement
Ribang

AMAZON Email Checker By PraGa

Feb 1st, 2018
6,742
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.83 KB | None | 0 0
  1.  
  2.  
  3. <?php
  4. /** AMAZON Email Checker By PraGa
  5. email:pragausmh@gmail.com , Fb.com/praga.e
  6. **/
  7. @set_time_limit(0);
  8. function curl_($mail){
  9. $ch = curl_init();
  10. curl_setopt($ch, CURLOPT_URL, "https://www.amazon.com/ap/register?_encoding=UTF8&openid.assoc_handle=usflex&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.mode=checkid_setup&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.ns.pape=http%3A%2F%2Fspecs.openid.net%2Fextensions%2Fpape%2F1.0&openid.pape.max_auth_age=0&openid.return_to=https%3A%2F%2Fwww.amazon.com%2Fgp%2Fyourstore%2Fhome%3Fie%3DUTF8%26ref_%3Dgno_newcust?&email=".$mail);
  11. curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2049.0 Safari/537.36");
  12. curl_setopt($ch, CURLOPT_REFERER, "https://www.amazon.com/");
  13. curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 3);
  14. curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
  15. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
  16. $result = curl_exec($ch);
  17. return $result;
  18. curl_close($ch);
  19. }
  20. ?>
  21.  
  22. <html>
  23. <head>
  24. <title>AMAZON Email CheCker By PraGa</title>
  25. <style>
  26. body{background-color: #f5f5f5;
  27. }
  28. #text{
  29. width:800px;
  30. height:200px;
  31. }
  32. input[type=submit]{padding:2px 20px;
  33. background:#0397d5;
  34. color:#ffffff;
  35. border:0 none;
  36. cursor:pointer;
  37. -webkit-border-radius: 5px;
  38. border-radius: 5px;}
  39. input[type=text]{
  40. padding-bottom:4px;
  41. padding-top:4px;
  42. color:green;
  43. border:0 none;
  44. -webkit-border-radius: 1px;
  45. border-radius: 2px;
  46. }
  47. input[type=submit]:hover{ background-color: #78fc81; }
  48. </style>
  49. </head>
  50. <body>
  51.  
  52. <div style="width:950px; margin:0 auto; background-color:#f9f9f9;">
  53. <div align="center">
  54. <h1> AMAZON Email Checker By PraGa</h1>
  55. <form method="POST" name="praga" action="">
  56. <textarea id="text" name="mail"><?php if(isset($_POST['mail'])){ echo $_POST['mail']; } ?></textarea><br>
  57. <input type="submit" value="Check!!" name="sub" />
  58. </form>
  59. </div>
  60. </div>
  61.  
  62. <?php
  63. if(isset($_POST['sub'])){
  64. $email_list=$_POST['mail'];
  65. $line = explode("\r\n",$email_list);
  66. $line = array_unique($line);
  67. $j=0;$k=0;$o=0;
  68. for($i=0;$i<count($line);$i++){
  69. if (filter_var($line[$i], FILTER_VALIDATE_EMAIL)) {
  70. $rez=curl_($line[$i]);
  71. echo "<font color='green'> valide ==> </font>".$line[$i]."...";
  72.  
  73. if (strpos($rez,'You indicated you are a new customer' ) ){
  74. echo "<font color='green'> Ok . <br> </font>";
  75. $live[$j]=$line[$i];
  76. $j++;
  77. }elseif(strpos($rez,'Create account' ) ){
  78. echo "<font color='red'> Noo . <br> </font>";
  79. $die[$o]=$line[$i];
  80. $o++;
  81. }else{
  82. echo "<font color='red'> CanT Check !! . <br> </font>";
  83. $die[$o]=$line[$i];
  84. $o++;
  85. }
  86. }else{
  87. echo "<font color='red'> Invalide mail </font>=>".$line[$i]."<br>";
  88. $not[$k]=$line[$i];
  89. $k++;
  90. }
  91. flush(); ob_flush();
  92.  
  93.  
  94. }
  95. ?>
  96. <table border="0" width="100%">
  97. <tr>
  98. <td align='center' style="color:green"> AMAZON emails (<?php echo @count($live);?>)</td>
  99. <td align='center' style="color:red"> Not AMAZON Eamils (<?php echo @count($die);?>)</td>
  100. <td align='center' style="color:orange"> Invalid emails (<?php echo @count($not);?>)</td>
  101. </tr>
  102. <?php
  103. if(isset($live)){ echo "<tr><td align='center' ><textarea cols='43' rows='10'>";for($i=0;$i<count($live);$i++){echo $live[$i]."\n"; } echo "</textarea></td>";}
  104. if(isset($die)){ echo "<td align='center' ><textarea cols='43' rows='10'>";for($i=0;$i<count($die);$i++){echo $die[$i]."\n"; } echo "</textarea></td>";}else{echo "<td align='center' ><textarea cols='43' rows='10'></textarea>"; }
  105. if(isset($not)){ echo "<td align='center' ><textarea cols='43' rows='10'>";for($i=0;$i<count($not);$i++){echo $not[$i]."\n"; } echo "</textarea></td><tr></table>";}else{echo "<td align='center' ><textarea cols='43' rows='10'></textarea>";}
  106. }
  107. ?>
  108. </body>
  109. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement