Jump to content
Nytro

Hasher V1.1

Recommended Posts

[h=2]Hasher V1.1[/h]

Posted Dec 3rd, 2010

Author isseu

Un script php sencillo, pero útil, muy parecido a el típico sneak pero solo dedicado a hashes. Con 35 hashes, que vienen insertos en php (No hay muchos créditos para mi, sino para el equipo de php)

Live Demo

Hash Soportados:

  1. md4
  2. md5
  3. sha1
  4. sha256
  5. sha384
  6. sha512
  7. ripemd128
  8. ripemd160
  9. whirlpool
  10. tiger128,3
  11. tiger160,3
  12. tiger192,3
  13. tiger128,4
  14. tiger160,4
  15. tiger192,4
  16. snefru
  17. gost
  18. adler32
  19. crc32
  20. crc32b
  21. haval128,3
  22. haval160,3
  23. haval192,3
  24. haval224,3
  25. haval256,3
  26. haval128,4
  27. haval160,4
  28. haval192,4
  29. haval224,4
  30. haval256,4
  31. haval128,5
  32. haval160,5
  33. haval192,5
  34. haval224,5
  35. haval256,5

<?php
/***********************************************************************
* Crypto Hasher.php - v 1.0 - 07/07/2010
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*
* Changelog
* =========
* V 1.0 07/07/2010
* - Usados Todos los hash de librerias PHP + Md5 + sha1 + crypt + etc
* V 1.1 17/09/2011
* - Retoques
*************************************************************************/

$version='1.1';
?>
<center>
<?php
if(isset($_POST['submit'])) {
$text = $_POST['text'];

$text = urldecode(stripslashes($text));
$orig_text=htmlentities($text);
$algs=hash_algos();
if(in_array($_POST['cryptmethod'],$algs)){
$text=hash($_POST['cryptmethod'],$text);
}else{
echo "<p>Encriptacion no Soportada.</p><br>\n";
}
$text = htmlentities($text);
echo("<br><table><tr><td><b>Value</b></td><td>".htmlentities($_POST['cryptmethod'])."(\"".$orig_text."\")</td></tr>\n");
echo("<tr><td><b>Data</b></td><td>$text</td></tr></table><br>\n");
}
?>
<h2><?php echo $title;?></h2>
<!-- begin form -->
<form action="<?php echo($_SERVER['PHP_SELF']); ?>" method="post">
<textarea name="text" rows="10" cols="70" name="Phrase" id="Phrase"><?php if (isset($orig_text)) { echo($orig_text); } ?></textarea><br />
<select name="cryptmethod">
<?php
$hashs=hash_algos();
sort($hashs);
foreach($hashs as $a){
?><option value="<?php echo $a;?>"><?php echo $a;?></option><?php
}
?>

</select><br />
<input type="submit" name="submit" value="OK" />
<input type="reset" value="Clear" onclick="document.Phrase.value=''"/>
</form>
<!-- end form -->
<!-- begin footer; it would be nice if you would leave this on. ;) -->
<p>
<font size="1">
Crypt Sneak <?php echo($version); ?><br />
Creado por <a href="http://www.isseu.com">Isseu</a>, © 2011<br>
Download script <a href="http://www.isseu.com/hasher-v1-1/">here</a></font>
</p>
</center>

Descarga:

Sursa: Hasher V1.1 | Isseu

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...