September 05, 2008, 10:40:23 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Add your links to our directory. Click here to add your links.
 
  Home   Forum   Help Search Directory Calendar Login Register    RSS 2.0 feedAtom feed


News
Add your links to our directory. Click here to add your links.
Pages: [1]
  Print  
Author Topic:

Obfuscate php code

 (Read 815 times)
0 Members and 1 Guest are viewing this topic.
bostam
Jr. Member
**

Points: 1
Offline Offline

Posts: 55


« on: June 14, 2006, 19:47:08 »

Hi,

 How can I obfuscate my php code. I know will be still vulnerable but not for every one Smiley

Logged


TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #1 on: June 14, 2006, 20:09:57 »

A very easy solution is to use base64 functions and eval.

with base64_encode you encode your php code (you need to do a simple program what reads content of your php files and save as txt)

after that to execute a encoded code just run

eval(base64_decode("your encoded code from text files");

Regards

P.S. Be sure your code is ok before encode it, because otherwise is very hard to debug Smiley
Logged

bostam
Jr. Member
**

Points: 1
Offline Offline

Posts: 55


« Reply #2 on: August 10, 2006, 17:44:36 »

Thanks. Anyway It will not be debuged when the code is stable Smiley
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks

TinyPortal v0.9.7 © Bloc
Valid XHTML 1.0! Valid CSS!