Jump to content

Simple code obfuscator


spaze

Recommended Posts

I was thinking about creating a simple code obuscator just to make the code look ugly. Why? Because I would like to offer my application to one company but don't want them to temper with the code. Or at least, want to make tempering a notch harder for them to do it.

 

So I was thinking about replacing all variable names with md5() so that:

 

$variable_name will become $c2c78403824b7735ea954cece62534cb

 

and

 

$this->view->variable_name will become $this->view->c2c78403824b7735ea954cece62534cb

 

But how should I go about this? Should I do regex on the whole file and replacing everything that comes after the $ character with md5 equivalent?

Link to comment
https://forums.phpfreaks.com/topic/182117-simple-code-obfuscator/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.