Advertisement
ecchiexploit

Hash Generate

Aug 23rd, 2020 (edited)
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.11 KB | None | 0 0
  1. <?php
  2. error_reporting(0);
  3. @ini_set('error_log',NULL);
  4. define('biru',"\e[1;34m");
  5. define('cyan',"\e[1;36m");
  6. define('greenl',"\e[1;92m");
  7. define('green',"\e[1;32m");
  8. define('putih',"\e[1;0m");
  9. sleep(2);
  10. @system('clear');
  11. @system('date');
  12.  echo cyan."\n    [!] Hash Encoder [!]\n";
  13.  echo putih."[+] Coded By EcchiExploit [+]\n\n";
  14.  echo green."NOTE : ";
  15.  echo putih."Kalian Edit Salt Nya Dengan Salt Kalian Sendiri\n";
  16.  echo biru."Masukan Text Untuk Di Hash : ".greenl;
  17.  $text = trim(fgets(STDIN));
  18.  $ok = array(1,2,3,4,5,6,7,8,9,10);
  19.  $fuck = json_decode($ok, TRUE);
  20.  echo "\n\t1.Hash Crypt MD5";
  21.  echo "\t6.SHA Originial\n";
  22.  echo "\t2.Hash Crypt SHA512";
  23.  echo "\t7.Hash Ripemd\n";
  24.  echo "\t3.Hash Blowfish";
  25.  echo "\t\t8.Hash Fnv\n";
  26.  echo "\t4.Hash Crypt DES Based";
  27.  echo "\t9.Snefru\n";
  28.  echo "\t5.MD Original";
  29.  echo "\t\t10.Hash Gost\n";
  30.  echo "\n\tPilih Gan Untuk Di Hash => ".cyan;
  31.  $fuck = trim(fgets(STDIN));
  32.  switch($fuck){
  33.     case '1':
  34.     $md5crypt = crypt($text,'$1$salt4md5$');
  35.     echo "Crypt MD5 => $md5crypt\n";
  36.     break;
  37.     case '2':
  38.     $shacrypt = crypt($text,'$6$rounds=8000$somesalt4sha-521$');
  39.     echo "Crypt SHA => $shacrypt\n";
  40.     break;
  41.     case '3':
  42.     echo "Tunggu Sebentar...\n";
  43.     $crypt = crypt($text,'$2y$18$justsomesalt4blowfish$');
  44.     echo "Blowfish => $crypt\n";
  45.     break;
  46.     case '4';
  47.     $des = crypt($text,'_w8..salt');
  48.     echo "DES => $des\n";
  49.     break;
  50.     case '5':
  51.     $md5 = md5($text);
  52.     $md4 = hash('md4',$text,false);
  53.     $md2 = hash('md2',$text,false);
  54.     echo "MD2 => $md2\n";
  55.     echo "MD4 => $md4\n";
  56.     echo "MD5 => $md5\n";
  57.     break;
  58.     case '6':
  59.     $sha1 = sha1($text);
  60.     $sha224 = hash('sha224',$text,false);
  61.     $sha256 = hash('sha256',$text,false);
  62.     $sha384 = hash('sha384',$text,false);
  63.     $sha512 = hash('sha512',$text,false);
  64.     echo "SHA1 => $sha1\n";
  65.     echo "SHA224 => $sha224\n";
  66.     echo "SHA256 => $sha256\n";
  67.     echo "SHA384 => $sha384\n";
  68.     echo "SHA512 => $sha512\n";
  69.     break;
  70.     case '7':
  71.     $ripemd128 = hash('ripemd128',$text,false);
  72.     $ripemd160 = hash('ripemd160',$text,false);
  73.     $ripemd256 = hash('ripemd256',$text,false);
  74.     $ripemd320 = hash('ripemd320',$text,false);
  75.     echo "Ripemd128 => $ripemd128\n";
  76.     echo "Ripemd160 => $ripemd160\n";
  77.     echo "Ripemd256 => $ripemd256\n";
  78.     echo "Ripemd320 => $ripemd320\n";
  79.     break;
  80.     case '8':
  81.     $fnv132 = hash('fnv132',$text);
  82.     $fnv1a32 = hash('fnv1a32',$text);
  83.     $fnv164 = hash('fnv164',$text);
  84.     $fnv1a64 = hash('fnv1a64',$text);
  85.     echo "Fnv132 => $fnv132\n";
  86.     echo "Fnv1a32 => $fnv1a32\n";
  87.     echo "Fnv164 => $fnv164\n";
  88.     echo "Fnv1a64 => $fnv1a64\n";
  89.     break;
  90.     case '9':
  91.     $snefru = hash('snefru',$text,false);
  92.     $snefru256 = hash('snefru256',$text,false);
  93.     echo "Snefru => $snefru\n";
  94.     echo "Snefru256 => $snefru256\n";
  95.     break;
  96.     case '10':
  97.     $gost = hash('gost',$text,false);
  98.     $gostcry = hash('gost-crypto',$text,false);
  99.     echo "Gost => $gost\n";
  100.     echo "Gost-crypto => $gostcry\n";
  101.     break;
  102.     default:
  103.     echo "What Are You Doing??\n";
  104.     break;
  105.  }
  106. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement