Advertisement
AbdulMuttaqin

[PHP]Zone-H , Defacer.id , Auto Pusher and Got Rank 1 !!

Oct 3rd, 2018
669
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.28 KB | None | 0 0
  1. <?php
  2. echo ' Domain : ';
  3. $tld = trim(fgets(STDIN));
  4.  
  5. // array of possible top-level domains
  6.  
  7. // string of possible characters
  8. $char = "0123456789abcdefghijklmnopqrstuvwxyz";
  9.  
  10. // start output
  11. echo "<p>\n";
  12.  
  13. // main loop - this gives 1000 addresses
  14. for ($j = 0; $j < 30000; $j++) {
  15.  
  16.   // choose random lengths for the username ($ulen) and the domain ($dlen)
  17.   $ulen = mt_rand(2, 5);
  18.   $dlen = mt_rand(2, 6);
  19.  
  20.   // reset the address
  21.   $a = "";
  22.  
  23.   // get $ulen random entries from the list of possible characters
  24.   // these make up the username (to the left of the @)
  25.   $a .= "http://";
  26.   for ($i = 1; $i <= $ulen; $i++) {
  27.     $a .= substr($char, mt_rand(0, strlen($char)), 1);
  28.   }
  29.  
  30.   // wouldn't work so well without this
  31.  
  32.  
  33.   // now get $dlen entries from the list of possible characters
  34.   // this is the domain name (to the right of the @, excluding the tld)
  35.   for ($i = 1; $i <= $dlen; $i++) {
  36.     $a .= substr($char, mt_rand(0, strlen($char)), 1);
  37.   }
  38.  
  39.   // need a dot to separate the domain from the tld
  40. $a .= ".";
  41.   // finally, pick a random top-level domain and stick it on the end
  42.   $a .= $tld;
  43.  
  44.   // done - echo the address inside a link
  45.   echo "". $a. "\n";
  46.  
  47. }
  48.  
  49. // tidy up - finish the paragraph
  50. echo "Silahkan Copy Dan Notify Sendiri KONTOLLLLL!!\n";
  51.  
  52. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement