Login   Register  
PHP Classes
elePHPant
Icontem

File: md5Cracker.example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Max Nowack  >  MD5 Cracker  >  md5Cracker.example.php  >  Download  
File: md5Cracker.example.php
Role: Example script
Content type: text/plain
Description: an example file
Class: MD5 Cracker
Get the text of a MD5 hash from md5cracker.org
Author: By
Last change: changed md5 string
Date: 2 years ago
Size: 686 bytes
 

Contents

Class file image Download
<?php
/*******************************************
 * Author: Max Nowack                      *
 * Website: http://ma.xnowack.de           *
 * Classname: md5Cracker                   *
 *******************************************
 * Description:                            *
 * The class use the site "md5cracker.org" *
 * to crack the provided md5-hash.         *
 *******************************************/ 
 
    
error_reporting(E_ALL);
    require_once(
"md5Cracker.class.php");
    
    
$md5Cracker = new Md5Cracker();
    
    
$md5String md5("123456789");
    
$value $md5Cracker->crack($md5String);
    
    if(
$value)
    {
        echo 
$value;
    }
    else
    {
        echo 
"not found";
    }
?>