Jump to content
php.lv forumi

Šifrēta faila atšifrēšana.


Recommended Posts

Tātad dabūju vienu web template un tur visas lapas ir apmēram šādas:

 

$phpCipherLicenseFile='license.lic';
$pce486ed951bdf4d3f9471201bcf38b8f20=__FILE__;
$phpCipher='Free Version

+eYtRomf08OWMOxcKXLYF5U4kFmt9CLh4lybzdPiv=B5D3LHiE/uRqJBaznBAILbF+Tf/kLx6
zRx9gDCL/wT5jPlQha9UgUcn89Ouac5lzTgL71014C9HM9kvmNPlE/D48QpAFQIpsuXJwpWRZ
ocAH8I3D1cZWqS6q8N44UAfTsg4IRq+ugL5jrg8Ikh0zojT5K18tsHujEilyys99uqNZcWSkN
181c7v5Nt4hq4C+WI36TWLjs8TgDkKmiLMFohDVypgpY=UhQAeXdzGdURNN6YHAACL6blojoC
8oWM+ALcqZehJHurQO0s4TYlgfyHj1IYxU=vBAnrhSKOdEqml0EeihhDKKYMP8qNtJHPBrJSK
VgsxJJ8KuGkXBwm9oeIg9KLM8TARLdTUaNCc/hbJoferN46PjJMNMFRS80j+IBsCZho8fxrtw
Lnb4gvwCD06oqt+p7xNpVxZOX9+v3nhGRKjUp=ifqjf/O+BwEu3snwn7fmUIWnAenh=yHN3Qq
Zy=Bi+7IYk//EJ=UUSNH8Tqyiu4=zfNs+mK7IWE/hiOWg4Yh3YRy9m=JGTyujLwOilsag+m8j
jxX1JLWfiOeK3p1Ua9D4N6jU3Trzd7KCB+JiFnq/DLPWGfvffmKJxzyYgcQ1LLC8XZmK1Q6CG
caFUcVH63F/gEtKxAV/A0vhIICXFFKeNS/ZykE0Jxv5ddsxW1Pa1ouHkWMaS1u0LTCzd7n9TR
8y6SYbLNYWX79phn4s7YNYrPYiK1cKEKk8U0Cvze91ajIcsSBHRGw7VKofu4crWF0ojxHc9+6
ZWXu3sDK+=tKutPu6PbMPDOGmXakhm9O/VgapQQTyi7+NUxLemY8HaC+jXlXVcrAg7IsZaP18
OdphhaJdGudVpdr0JWVpt=WJr55J=GJO640GGGVO^qfY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=CE/EuG';
//PHPCIPHER NO ENCRYPT
if (file_exists('phpcipher.bin')) include('phpcipher.bin');
elseif (file_exists('../phpcipher.bin')) include('../phpcipher.bin'); 
elseif (file_exists('../../phpcipher.bin')) include('../../phpcipher.bin'); 
elseif (file_exists('../../../phpcipher.bin')) include('../../../phpcipher.bin'); 
elseif (file_exists('../../../../phpcipher.bin')) include('../../../../phpcipher.bin'); 
else print 'A required file <b>phpcipher.bin</b> was not found.';
?>

 

ir iespēja šādus failus rediģēt vai pārveidot parastajiem mirstīgajiem saprotamā PHP valodā :D

 

Jau iepriekš paldies.

Link to post
Share on other sites

Fails ir šifrēts ne velti - tas, piemēram, domāts pārdošanai vai arī intelektuālā īpašuma aizsardzībai. Tā ka raksti vien tam web templeites autoram un prasi viņam nešifrētu izejas kodu.

Link to post
Share on other sites

<?php
$a = 'te visu to putru';
function a($a){ return gzinflate(base64_decode($a));}
while(!$b){
if(substr($a,0,4) == 'eval' || !$count){
$a = a(str_replace(Array('eval(gzinflate(base64_decode( \'','\')));'),'',$a));
$count++;
}else
$b = true;
}
echo $a;
?> 

 

ar sho man sanaca atlauzt World press footer es nez moz tev ar sanaks

Link to post
Share on other sites
×
×
  • Create New...