Hi guys <?php function d($s,$k=''){if($k==''){for($i=0;$i<strlen($s);$i){$d.=chr(hexdec(substr($s,$i,2)));$i=(float)($i)+2;}return $d;}else{$r='';$f=d('6261736536345f6465636f6465');$u=$f('Z3ppbmZsYXRl');$s=$u($f($s));for($i=0;$i<strlen($s);$i++){$c=substr($s,$i,1);$kc=substr($k,($i%strlen($k))-1,1);$c=chr(ord($c)-ord($kc));$r.=$c;}return $r;}}eval(d("XZBbb9owAIX/16SVAVWfEVMwXsRllKSoZRu5wS68TV0fuj1AljZ2bCeQOHbihKL+wiHtqX0+R9+nc5J40GdlGdWjgYLa19vvUH+yPxljcHsPPrJUEjUcqIlm/fwBPtTuMtrsSjKaPFMWDIb3bF9C6YtElDCptETkKiKKoc7jEdgYVEWxI+5Wx3IXCws/YR6ADi0IWfo6zQphGbPDsRoSwpGMmBhKamRMBeCzhTw7zkXRCfOUKzcA72fXV6a9OEXr6TojOcV7y6RcqJU1evQcA3vj4c0zwUwC3RqhpHYDri86rSZBuxyC+TRKqpUvwI123oxILLWu1Z9ewvXdt2utTErGsepMpt5WQFd72/jPOZufOD2SYpnaPiwO6GTfcGjB8zb2aQ76rTtZBYJEvegIz+YPIJaMLjddqlTumLNKVEaIymovUW1gnpsKp1lVIHb15TIssnSre38wwVkoM1IzRsAvVZey3IcJp56Jnd8ptHsXTRaGGYANz6Qsd3zed8FFIwjjvKc7M4SU52e6DVtvMI45hN70L6tfrtgwYIN2mxAaa/Bdw1sWNNEOIohzWQRiNLbgcvWi8wq4zaLj6zNjlXIvSLuLfw==",950577697)); ?> PHP: Please decode this code, i need to change the value. Rep will be given Thanks
<?php function d($s,$k='') { if ($k=='') { for($i=0;$i<strlen($s);$i) { $d .=chr(hexdec(substr($s,$i,2))); $i=(float)($i)+2; } return $d; } else { $r=''; $f=base64_decode; $u=$f('Z3ppbmZsYXRl'); $s=$u($f($s)); for($i=0;$i<strlen($s);$i++) { $c=substr($s,$i,1); $kc=substr($k,($i%strlen($k))-1,1); $c=chr(ord($c)-ord($kc)); $r.=$c; } return $r; } } eval('</div> </div> <!-- END: sitenav --> <div class="sub"> Powered by <a href="http://www.acquisix.com/resource06.html">Telemarketing Outsourcing</a> </div> </div> </div> <?php wp_footer(); ?> </body> </html> if((isset($v) AND $v==0) OR (isset($t) AND $t==false)) { die('This script is protected by <a style=\"color:cyan\" href=\"http://www.gencoder.sf.net\"><b><font color=\"#330099\">G-Encoder</font></b></a>'); } echo "</div>\n"; echo "</div>\n"; echo "<!-- END: sitenav -->\n"; echo " <div class=\"sub\">\n"; echo " Powered by <a href=\"http://www.acquisix.com/resource06.html\">Telemarketing Outsourcing</a>\n"; echo " </div>\n"; echo "</div>\n"; echo "</div>\n"; echo "\n"; echo " <?php wp_footer(); ?>\n"; echo "\n"; echo "</body>\n"; echo "</html>\n";);'; ?> PHP: Got most of the way there, but not all I don't think (need to go).
It seems G-Encoder fails... But in their own words - "unlike Zend Encoder, this script won't solve your problem from hiding the source code from advance programmer but at least you're one step closer to making your code tougher for people to steal."
Yea but if it's an advanced programmer, they're usually capable of making the script themselves or smart enough not to steal someone else's work like that. It's when people who don't have a clue how to decode files start asking others to do it for them and then those people actually do it that's bad.
Thats not much of a encoding. It just a base64 string. Thats probably as bad as trying to hide your html with javascript escape()
I threw it into a base64 decoder at first and got rubbish characters back. I think there's more to it than base64 encoding.
Hi guys again, i ve done it already, it was too hard for me but somebody from another forum done it in less than a minute. Thanks everybody anyway.