Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

import hashlib as h def b(a): return h.md5(a.encode()).hexdigest() def c(): ..

Decoded Output download

<?  import hashlib as h 
 
def b(a): 
    return h.md5(a.encode()).hexdigest() 
 
def c(): 
    print("Executing data decryption process...") 
 
def d(): 
    exec("c()") 
 
def e(): 
    s = ''.join([ 
        chr(int('74', 16)), chr(int('69', 16)), chr(int('6d', 16)), chr(int('65', 16)), 
        chr(int('69', 16)), chr(int('73', 16)), chr(int('68', 16)), chr(int('61', 16)), 
        chr(int('72', 16)), chr(int('64', 16)), chr(int('39', 16)), chr(int('39', 16)) 
    ]) 
    k = b(s) 
    print("WARNING: Your data has been encrypted. Pay the ransom to decrypt.") 
    print("Contact: [email protected]") 
    print("Encrypted key:", k) 
 
def f(): 
    return chr(int('72', 16)) + chr(int('61', 16)) + chr(int('6e', 16)) + chr(int('64', 16)) + chr(int('6f', 16)) + chr(int('6d', 16)) 
 
def g(): 
    return chr(int('69', 16)) + chr(int('6e', 16)) + chr(int('69', 16)) + chr(int('74', 16)) + chr(int('69', 16)) + chr(int('61', 16)) + chr(int('6c', 16)) + chr(int('69', 16)) + chr(int('7a', 16)) + chr(int('69', 16)) + chr(int('6e', 16)) + chr(int('67', 16)) 
 
def i(): 
    return chr(int('65', 16)) + chr(int('78', 16)) + chr(int('65', 16)) + chr(int('63', 16)) + chr(int('75', 16)) + chr(int('74', 16)) + chr(int('69', 16)) + chr(int('6f', 16)) + chr(int('6e', 16)) 
 
def j(): 
    return chr(int('63', 16)) + chr(int('6f', 16)) + chr(int('6d', 16)) + chr(int('70', 16)) + chr(int('6c', 16)) + chr(int('65', 16)) + chr(int('74', 16)) + chr(int('65', 16)) 
 
def k(): 
    print("Initializing ransomware...") 
    d() 
    print(f"{g()} ransomware...")  
 
def l(): 
    k() 
    print(f"{j()} ransomware execution...")  
 
if __name__ == "__main__": 
    l() ?>

Did this file decode correctly?

Original Code

import hashlib as h

def b(a):
    return h.md5(a.encode()).hexdigest()

def c():
    print("Executing data decryption process...")

def d():
    exec("c()")

def e():
    s = ''.join([
        chr(int('74', 16)), chr(int('69', 16)), chr(int('6d', 16)), chr(int('65', 16)),
        chr(int('69', 16)), chr(int('73', 16)), chr(int('68', 16)), chr(int('61', 16)),
        chr(int('72', 16)), chr(int('64', 16)), chr(int('39', 16)), chr(int('39', 16))
    ])
    k = b(s)
    print("WARNING: Your data has been encrypted. Pay the ransom to decrypt.")
    print("Contact: [email protected]")
    print("Encrypted key:", k)

def f():
    return chr(int('72', 16)) + chr(int('61', 16)) + chr(int('6e', 16)) + chr(int('64', 16)) + chr(int('6f', 16)) + chr(int('6d', 16))

def g():
    return chr(int('69', 16)) + chr(int('6e', 16)) + chr(int('69', 16)) + chr(int('74', 16)) + chr(int('69', 16)) + chr(int('61', 16)) + chr(int('6c', 16)) + chr(int('69', 16)) + chr(int('7a', 16)) + chr(int('69', 16)) + chr(int('6e', 16)) + chr(int('67', 16))

def i():
    return chr(int('65', 16)) + chr(int('78', 16)) + chr(int('65', 16)) + chr(int('63', 16)) + chr(int('75', 16)) + chr(int('74', 16)) + chr(int('69', 16)) + chr(int('6f', 16)) + chr(int('6e', 16))

def j():
    return chr(int('63', 16)) + chr(int('6f', 16)) + chr(int('6d', 16)) + chr(int('70', 16)) + chr(int('6c', 16)) + chr(int('65', 16)) + chr(int('74', 16)) + chr(int('65', 16))

def k():
    print("Initializing ransomware...")
    d()
    print(f"{g()} ransomware...") 

def l():
    k()
    print(f"{j()} ransomware execution...") 

if __name__ == "__main__":
    l()

Function Calls

None

Variables

None

Stats

MD5 22300db97ba113fe17de4e1d50152fc0
Eval Count 0
Decode Time 52 ms