spaze Posted November 19, 2009 Share Posted November 19, 2009 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 More sharing options...
emopoops Posted November 19, 2009 Share Posted November 19, 2009 this is what? masking the variable name? its the same variable throughout the webpage(s) just way longer. i dont see the point.. at all. ur just masking the name with numbers... stupid Link to comment https://forums.phpfreaks.com/topic/182117-simple-code-obfuscator/#findComment-960799 Share on other sites More sharing options...
spaze Posted November 19, 2009 Author Share Posted November 19, 2009 this is what? masking the variable name? its the same variable throughout the webpage(s) just way longer. i dont see the point.. at all. ur just masking the name with numbers... stupid Would you want to start fiddling with a code that looks like that? Link to comment https://forums.phpfreaks.com/topic/182117-simple-code-obfuscator/#findComment-960803 Share on other sites More sharing options...
emopoops Posted November 19, 2009 Share Posted November 19, 2009 haha variables with md5? just a longer task. its the same as making your variable just a long string of numbers. i dont understand why md5 needs to me used here much less... would u want to fiddle with it? YOUR THE ONE MAKING IT! lol Link to comment https://forums.phpfreaks.com/topic/182117-simple-code-obfuscator/#findComment-960804 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.