naneau / php-obfuscator

A parsing PHP obfuscator
585 stars 180 forks source link

Excluding files and folders #9

Open hferradj opened 9 years ago

hferradj commented 9 years ago

Hello,

Thanks a lot for this great obfuscator.

I was wondering if it was possible to add an exclude option?

bobalazek commented 9 years ago

+1

naneau commented 9 years ago

That's a good idea. We could have a simple list of regexes in the config file.

sluvitz commented 8 years ago

Are you still considering this enhancement.

Also, is it possible to just obfuscate just a single php file?

naneau commented 8 years ago

I'll try to free up some time soon, do want to get this in.

sluvitz commented 8 years ago

Awesome, thanks...doing 1 file at a time is most critical to me at this time since many files in a directory are fine not obfuscated. As of now I have to copy them to another directory and then obfuscate that and then copy them back. Great project!

sluvitz commented 8 years ago

I installed the obfuscator on a server a month ago and works great. I just installed it on another debian server with the same configurations (so I think anyway) and when I obfuscate the same code, I get a 500 error on the website. Any ideas would be greatly appreciated.

sluvitz commented 8 years ago

I got the server issue fixed. I am really looking forward to the enhancement for single php files.

tatsen commented 8 years ago

Any progress on this?

In my specific case the "some_wordpress_plug-in-slug.php" file is obfuscated and in that process the plug-in meta data is removed and therefore not recognized by WordPress anymore.

E.g.:

/ Plugin Name: Name Description: WordPress plug-in meta data. Version: 1.0 [...] / function init_plug-in() {...}

psamim commented 7 years ago

This feature is very much appreciated.

OArnarsson commented 4 years ago

@naneau any news on this? ðŸ¤