PHP Classes

File: infile.enc.php

Recommend this page to a friend!
  Classes of Nick Daniels   PHP Ghost Crypt   infile.enc.php   Download  
File: infile.enc.php
Role: Sample output
Content type: text/plain
Description: Example Infile encrypted
Class: PHP Ghost Crypt
Encrypt PHP code and generate self decrypting code
Author: By
Last change: .
Date: 8 years ago
Size: 575 bytes
 

Contents

Class file image Download
<?php $data = file_get_contents(__FILE__); $lines = explode(PHP_EOL, $data); foreach($lines as $key => $line) { if(substr($line, 0, 3) == "#:#") { $part = explode(":", substr($line, 3)); $k = ( method_exists("GhostHash","returnHash") ) ? GhostHash::returnHash(base64_decode($part[2])) : base64_decode($part[2]); eval( "?>" . openssl_decrypt($part[0], "aes-256-cbc", $k, 0, base64_decode($part[1])) ); } } #:#jPtprpnQ2VoGSKMnK4BrqpOW/VDwb0/eMpyXilY0gYvepuHHB4JHi6P9afQgDUG6XGOUzJZwNlQmoX9eL9lb1fAJmvDbIBh/pcxEB4Df73I=:CJ7+IR78OEcViik0BbY9pw==:UHViS2V5