Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encode PHP #234

Open
marcialwushu opened this issue Jul 17, 2020 · 1 comment
Open

Encode PHP #234

marcialwushu opened this issue Jul 17, 2020 · 1 comment

Comments

@marcialwushu
Copy link
Member

marcialwushu commented Jul 17, 2020


<?php 
ECHO "Hello!<br>"; 
echo "Welcome to Developer News<br>"; 
EcHo "Enjoy all of the ad-free articles<br>"; 
?>

<?php
if(!function_exists('sg_load')){$__v=phpversion();$__x=explode('.',$__v);$__v2=$__x[0].'.'.(int)$__x[1];$__u=strtolower(substr(php_uname(),0,3));$__ts=(@constant('PHP_ZTS') || @constant('ZEND_THREAD_SAFE')?'ts':'');$__f=$__f0='ixed.'.$__v2.$__ts.'.'.$__u;$__ff=$__ff0='ixed.'.$__v2.'.'.(int)$__x[2].$__ts.'.'.$__u;$__ed=@ini_get('extension_dir');$__e=$__e0=@realpath($__ed);$__dl=function_exists('dl') && function_exists('file_exists') && @ini_get('enable_dl') && !@ini_get('safe_mode');if($__dl && $__e && version_compare($__v,'5.2.5','<') && function_exists('getcwd') && function_exists('dirname')){$__d=$__d0=getcwd();if(@$__d[1]==':') {$__d=str_replace('\\','/',substr($__d,2));$__e=str_replace('\\','/',substr($__e,2));}$__e.=($__h=str_repeat('/..',substr_count($__e,'/')));$__f='/ixed/'.$__f0;$__ff='/ixed/'.$__ff0;while(!file_exists($__e.$__d.$__ff) && !file_exists($__e.$__d.$__f) && strlen($__d)>1){$__d=dirname($__d);}if(file_exists($__e.$__d.$__ff)) dl($__h.$__d.$__ff); else if(file_exists($__e.$__d.$__f)) dl($__h.$__d.$__f);}if(!function_exists('sg_load') && $__dl && $__e0){if(file_exists($__e0.'/'.$__ff0)) dl($__ff0); else if(file_exists($__e0.'/'.$__f0)) dl($__f0);}if(!function_exists('sg_load')){$__ixedurl='http://www.sourceguardian.com/loaders/download.php?php_v='.urlencode($__v).'&php_ts='.($__ts?'1':'0').'&php_is='.@constant('PHP_INT_SIZE').'&os_s='.urlencode(php_uname('s')).'&os_r='.urlencode(php_uname('r')).'&os_m='.urlencode(php_uname('m'));$__sapi=php_sapi_name();if(!$__e0) $__e0=$__ed;if(function_exists('php_ini_loaded_file')) $__ini=php_ini_loaded_file(); else $__ini='php.ini';if((substr($__sapi,0,3)=='cgi')||($__sapi=='cli')||($__sapi=='embed')){$__msg="\nPHP script '".__FILE__."' is protected by SourceGuardian and requires a SourceGuardian loader '".$__f0."' to be installed.\n\n1) Download the required loader '".$__f0."' from the SourceGuardian site: ".$__ixedurl."\n2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="\n3) Edit ".$__ini." and add 'extension=".$__f0."' directive";}}$__msg.="\n\n";}else{$__msg="<html><body>PHP script '".__FILE__."' is protected by <a href=\"http://www.sourceguardian.com/\">SourceGuardian</a> and requires a SourceGuardian loader '".$__f0."' to be installed.<br><br>1) <a href=\"".$__ixedurl."\" target=\"_blank\">Click here</a> to download the required '".$__f0."' loader from the SourceGuardian site<br>2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="<br>3) Edit ".$__ini." and add 'extension=".$__f0."' directive<br>4) Restart the web server";}}$__msg.="</body></html>";}die($__msg);exit();}}return sg_load('0FE09B764756B6DCAAQAAAAXAAAABIAAAACABAAAAAAAAAD/FXECikXMQo7p8932qVGmHpC78O9LwoMIA/HZskLkiMIMRLjGKQ/g89TO/zmkKRoBB3f1vGIDvM+8i/O1prPLKZtAcIFjs8T0udtUHMfUOKbeEbS9XWHjEyFDeb96oOBzFqNbjjWhyd2oUQ8edkqK8JwDxRGZGtbYaqJ0BxPmu18HAAAA8AAAADDsjILzkfVfN8D7W7Pdt1871/0egg/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9/uqpHKY2pejG/jvhOGyOULHCMbE64lQHidLI1Zdw060/wSJeWIzNYfSgQRkBYtC/PgyYY64+D/i2H88T3iZxSOFHMsspQ0bwFDxou8BUmN9qJ4hwrZkSqoQHofPS9gSCSJrxe/gNzwFJcGiHzOLmKLX1/JWoIZsurvzmEwuAa37kGRtEwOppWrvtKZwQp/OcxnObRAExe7Yp5Axq6MBda9T/nyAQ8AhKAAAA+AAAAL15nv1TijR2wcW7/f0cwgT1GdSP+il4l+cTO4PbNlt7FZ+4kBXKf/oheOzXBJ4gBv8v7qVeV1V/68RnY1aUwdY1ckC6fATe9zWdXDK2JWXphv04Db11zTNcMBO58yx6MhrjphNGwzxFOwtoBqKgwCZTaBD9sp1g9jpJTOnAOvyY9fnHQQ8dHofvWTePWs0Bi6HUbFL+ZMBUcFlj/lL9p593wDV0sgU1fn2ufVTuzVQAtR1kQ1HPNDRJ96CxPhggCe+OEEjFYSug88Ooft4STBMKCehBMhpsi8v+fwglb6AHECKQJD61afZHRDDqes1tK0MODt5VxyBEAAAAAA==');
@marcialwushu
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant