Created
November 29, 2012 11:34
-
-
Save necenzurat/4168404 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Name: Reverse MD5 | |
Description: decode md5 | |
Usage: md5 <string> | |
Author: necenzurat | |
Author URI: http://necenzurat.com | |
*/ | |
if($cmd[0] == 'md5') { | |
$query = @$cmd[1]; | |
$md5 = @file_get_contents("http://md5.gromweb.com/query/$query"); | |
if (!empty($md5)){ @$response = "\nmd5.gromweb.com gave: ".$md5."\n"; } | |
$md5_2 = @file_get_contents("http://tools.benramsey.com/md5/md5.php?hash=$query"); | |
$md5_2 = @simplexml_load_string($md5_2); | |
$md5_2 = (string) $md5_2->string; | |
if (!empty($md5_2)){ @$response .= "tools.benramsey.com/md5 gave: ".@$md5_2."\n"; } else { } | |
$md5_3 = @file_get_contents("http://md5.rednoize.com/?p&submit&s=md5&q=$query"); | |
if (!empty($md5_3)){ @$response .= "md5.rednoize.com gave: ".$md5_3."\n"; } | |
$md5_4 = @file_get_contents("http://www.md5rainbow.com/$query");; | |
$md5_4 = preg_match_all("(</h1>\n(.*?)<br/><p)s", $md5_4, $match); | |
$md5_4 = @$match[1][0]; | |
if (!empty($md5_4)){ @$response .= "md5rainbow.com gave: ".$md5_4; } | |
$conn->message($from, $response); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment