php-obfuscator icon indicating copy to clipboard operation
php-obfuscator copied to clipboard

Excluding files and folders

Open hferradj opened this issue 10 years ago • 10 comments
trafficstars

Hello,

Thanks a lot for this great obfuscator.

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

hferradj avatar Feb 03 '15 08:02 hferradj

+1

bobalazek avatar Feb 12 '15 15:02 bobalazek

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

naneau avatar Feb 12 '15 16:02 naneau

Are you still considering this enhancement.

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

sluvitz avatar Oct 13 '15 23:10 sluvitz

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

naneau avatar Oct 14 '15 20:10 naneau

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 avatar Oct 14 '15 20:10 sluvitz

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 avatar Nov 11 '15 01:11 sluvitz

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

sluvitz avatar Nov 14 '15 14:11 sluvitz

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() {...}

tatsen avatar Jul 12 '16 04:07 tatsen

This feature is very much appreciated.

psamim avatar Jan 11 '17 08:01 psamim

@naneau any news on this? 🤠

OArnarsson avatar Feb 26 '20 09:02 OArnarsson