Guest User

Hashes TXT

a guest
May 22nd, 2015
452
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $c = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789ªº\\|!@"#~$%&/()=\'?';
  2. $k = strlen($c);
  3. function c($n)
  4. {
  5.     global $k, $c;
  6.     $s = '';
  7.     $r = 1;
  8.     $b = $n;
  9.     while($b > pow($k, $r))
  10.         $b -= pow($k, $r++);
  11.     for($i = 0; $r > $i; $i++)
  12.         $s = substr($c, ($n/pow($k,$i)-1)%$k, 1) . $s;
  13.     return $s;
  14. }
  15.  
  16. $x = scandir('C:\\txt');
  17. if($x[count($x)-1] == '..')
  18.     $i = 0;
  19. else
  20.     $i = count($x)-2;
  21. echo number_format($i, 0, '.', '.');
  22. while(true)
  23. {
  24.     $i++;
  25.     $m = c($i);
  26.     $alg = hash_algos();
  27.     $sb = '';
  28.     $sa = '';
  29.     foreach(hash_algos() as $b => $al)
  30.         $sa .= hash($al, $m) . ((count(hash_algos()) > ($b + 1)) ? ' ' : '');
  31.     file_put_contents('C:\\txt\\' . $i, $m . ' ' . $sa);
  32.     if($i%1000 == 0)
  33.         echo "\n" . number_format($i, 0, '.', '.');
  34. }
RAW Paste Data