iqromss

Untitled

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