if($query) {
if($found) {
echo $query . " => " . $found . "";
} else {
echo "Unable to crack via search engines";
}
} else {
echo "Light-force MD5 crack using search engines";
}
?>
if($query) { ?>
Result:
if ($found) {
// Matched the key
echo "
Congratulations!";
echo "- The hash $query has been deciphered to: $found
";
switch($found_location) {
case "YAHOO_URL":
echo "- The plain-text was found in a Yahoo URL
";
break;
case "YAHOO_SUMMARY":
echo "- The plain-text was found in Yahoo's summary of a page
";
break;
case "YAHOO_PAGE":
echo "- The plain-text was found in a page via Yahoo
";
break;
case "GOOGLE_SUMMARY":
echo "- The plain-text was found in Google's summary of a page
";
break;
case "DATABASE":
echo "- This plain-text had already been found via search engine
";
break;
}
echo "- Found in " . $time . " seconds
";
echo "
";
} else {
echo "
Sorry!";
echo "- We couldn't crack the hash with a search engine.
";
echo "- Hacked for " . $time . " seconds.
";
echo "
";
}
}
?>