Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7834183
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T13:05:11+00:00 2026-06-02T13:05:11+00:00

So, there’s this website (http://md5decrypter.co.uk) which, given an md5 hash, will attempt to return

  • 0

So, there’s this website (http://md5decrypter.co.uk) which, given an md5 hash, will attempt to return the original string.

Is there an API or has someone made a PHP class to work with it? I can’t find one…

Before, you ask, let me assure you that I have no malicious intent.

Thank you in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T13:05:12+00:00Added an answer on June 2, 2026 at 1:05 pm

    Even so the guy from md5decryptor is nice, he won’t make his asset accessible to you via HTTP only because you’re asking. As anybody else you can use the publicly available webinterface which requires a captcha – which says everything.

    Or in short: No there ain’t no PHP API out there.

    However, why don’t you run your own? It’s rather trivial:

    $decryptors = array('Google', 'Gromweb');
    
    foreach ($hashes as $hash) {
        echo "$hash";
        foreach($decryptors as $decrytor)
        {
            if (NULL !== ($plain = MD5Decryptor::plain($hash, $decrytor))) {
                echo " - found: $plain ($decrytor)";
                break;
            }
        }
        echo "\n";
    }
    

    Output:

    fcf1eed8596699624167416a1e7e122e - found: octopus (Google)
    bed128365216c019988915ed3add75fb - found: passw0rd (Google)
    d0763edaa9d9bd2a9516280e9044d885 - found: monkey (Google)
    dfd8c10c1b9b58c8bf102225ae3be9eb - found: 12081977 (Google)
    ede6b50e7b5826fe48fc1f0fe772c48f - found: 1q2w3e4r5t6y (Google)
    

    Those you’re not able to directly look-up, you can paste at that site manually. Keep in mind if more folks think like you, more and more sites will go down (most of them are already).

    abstract class MD5Decryptor
    {
        abstract public function probe($hash);
    
        public static function plain($hash, $class = NULL)
        {
            if ($class === NULL) {
                $class = get_called_class();
            } else {
                $class = sprintf('MD5Decryptor%s', $class);
            }
            $decryptor = new $class();
    
            if (count($hash) > 1) {
                foreach ($hash as &$one) {
                    $one = $decryptor->probe($one);
                }
            } else {
                $hash = $decryptor->probe($hash);
            }
            return $hash;
        }
    
        public function dictionaryAttack($hash, array $wordlist)
        {
            $hash = strtolower($hash);
            foreach ($wordlist as $word) {
                if (md5($word) === $hash)
                    return $word;
            }
        }
    }
    
    abstract class MD5DecryptorWeb extends MD5Decryptor
    {
        protected $url;
    
        public function getWordlist($hash)
        {
            $list = FALSE;
            $url = sprintf($this->url, $hash);
            if ($response = file_get_contents($url)) {
                $list[$response] = 1;
                $list += array_flip(preg_split('/\s+/', $response));
                $list += array_flip(preg_split('/(?:\s|\.)+/', $response));
                $list = array_keys($list);
            }
            return $list;
        }
    
        public function probe($hash)
        {
            $hash = strtolower($hash);
            return $this->dictionaryAttack($hash, $this->getWordlist($hash));
        }
    }
    
    class MD5DecryptorGoogle extends MD5DecryptorWeb
    {
        protected $url = 'http://www.google.com/search?q=%s';
    
    }
    
    class MD5DecryptorGromweb extends MD5DecryptorWeb
    {
        protected $url = 'http://md5.gromweb.com/query/%s';
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There was an example of reading jsonp request in jquery given in stackoverflow. This
There is a column that exists in 2 tables. In table 1, this column
There's a Rails 3.2.3 web application which doesn't use any database. But in spite
There is a directed graph having a single designated node called root from which
There are two intents on the receiver side which are called from the same
There are nice SO question and answers about this issue, but these options didn't
For some reason, after submitting a string like this Jack’s Spindle from a text
There are several shading languages available today like GLSL, HLSL, CG, which one to
There will be 500+ threads concurrently uploading an unique object to a bucket all
There are many string matching algorithms can be used to find a pattern (string)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.