A way to scriptkiddie ransomware decryption.
I found skids playing with some public exploits in my area.
While checking the web directory i found all files with a ".crypt" extension, wow is this a ransomware attack, are my files really got crypted ? noo bruh its just another very bad/ugly attack coming from a group of kids lol.
-
The skids are only using a simple base64 to their code, why tf lol? well ok continue ...
-
Ook now stop, its a compression, they even don't know what is a real encryption algorithm ...
$decrypted = gzinflate(file_get_contents("file.ext.crypt"));
import zlib
data = open("file.ext.crypt", "rb").read()
decoded = zlib.decompress(data, -zlib.MAX_WBITS)
print(decoded)