Is there a code obfuscator for PHP? [closed] Ask Question. – Mac May 14 '15 at 0:03. If you think this should not be closed, then vote to re-open. A pro and a con at the same time How to let people know I don't appreciate being ignored in instant messaging? Capture One Pro 11.2.1 Serial Key & Crack Free Download. Sep 03, 2018 Zeshan Bilal Graphics Tools 0 Capture One Pro 11.2.1 Full Patch & License Key Free Download Capture One Pro 11 Information: Capture One Pro 11.2.1 Serial Key Final is an advanced digital image processing software that. Protecting my application with key Published 3 years ago by NoorDeen I use php and laravel to develop applications work in local network. And I want to protect it from being copied from local server to other.
- Adobe Photoshop 7.0.1 Serial Key
- Adobe Photoshop 7.0.1 Serial Number
- Php Obfuscator Professional V 6 7 0 1 Serial Keys
- Ios 7.0.1
- Adobe Pagemaker 7.0.1 Serial Number
- Photoshop 7.0.1 Serial Number
Has anybody used a good obfuscator for PHP? I've tried some but they don't work for very big projects. They can't handle variables that are included in one file and used in another, for instance.
Or do you have any other tricks for stopping the spread of your code?
halferclosed as not constructive by Peter O., Michael Berkowski, Praveen Kumar Purushothaman, S.L. Barth, eviloneDec 6 '12 at 6:16
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. If this question can be reworded to fit the rules in the help center, please edit the question.
10 Answers
You can try PHP protect which is a free PHP obfuscator to obfuscate your PHP code.EDIT: This service is not live anymore.
It is very nice, easy to use and also free.
As for what others have written here about not using obfuscation because it can be broken etc:
I have only one thing to answer them - don't lock your house door because anyone can pick your lock.
This is exactly the case, obfuscation is not meant to prevent 100% code theft. It only needs to make it a time-consuming task so it will be cheaper to pay the original coder. Hope this helps.
People will offer you obfuscators, but no amount of obfuscation can prevent someone from getting at your code. None. If your computer can run it, or in the case of movies and music if it can play it, the user can get at it. Even compiling it to machine code just makes the job a little more difficult. If you use an obfuscator, you are just fooling yourself. Worse, you're also disallowing your users from fixing bugs or making modifications.
Music and movie companies haven't quite come to terms with this yet, they still spend millions on DRM.
In interpreted languages like PHP and Perl it's trivial. Perl used to have lots of code obfuscators, then we realized you can trivially decompile them.
PHP has things like DeZender and Show My Code.
My advice? Write a license and get a lawyer. The only other option is to not give out the code and instead run a hosted service.
See also the perlfaq entry on the subject.
SchwernSchwernNothing will be perfect. If you just want something to stop non-programmers then here's a little script I wrote you can use:
I'm not sure you can label obfuscation of an interpreted language as pointless (I'm unable to add a comment to Schwern's post, so here goes a new entry).
I think it's a little shortsighted to assume you know all the possible scenarios where someone would like to obfuscate code, and you assume that anyone will actually be willing to go to whatever necessary lengths to view that code once obfuscated. Consider my current scenario:
I work for a consulting company that is developing a large and fairly sophisticated PHP-based site. The project will be hosted on a client's server that is hosting other sites developed by other consultancies. Technically any code we write is owned by the client, so we can't license it. However, any other consultancy (competitor) with access to the server can copy our code without getting permission from the client first. We therefore have a genuine reason for obfuscation - to make the effort required for a competitor to understand our code more than the effort of creating a copy of our work from scratch.
tomfumbtomfumbSee our SD Thicket PHP Obfuscator for an obfuscator that works just fine with arbitrarily large sets of pages. It operates primarily by scrambling identifier names. With modest to large applications, this can make the code extremely difficult to understand, which is the entire purpose.
It doesn't waste any energy on 'eval(decode(encodedprogramcode))' schemes, which a lot of PHP 'obfuscators' do [these are 'encoder's, not 'obfuscator's], because any clod can find that call and execute the eval-decode himself and get the decoded code.
It uses a language-precise parser to process the PHP; it will tell you if your program is syntactically invalid. More importantly, it knows the whole language precisely; it won't get lost or confused, and it won't break your code (other that what happens if you obfuscate 'incorrectly', e.g., fail to identify the public API of the code correctly).
Yes, it obfuscates identifiers identically across pages; if it didn't do that, the result wouldn't work.
Ira BaxterIra BaxterAdobe Photoshop 7.0.1 Serial Key
CMSAdobe Photoshop 7.0.1 Serial Number
Try this one: http://www.pipsomania.com/best_php_obfuscator.do
Recently I wrote it in Java to obfuscate my PHP projects, because I didnt find any good and compatible ready written on the net, I decided to put it online as saas, so everyone use it free. It does not change variable names between different scripts for maximum compatibility, but is obfuscating them very good, with random logic, every instruction too. Strings... everything. I believe its much better then this buggy codeeclipse, that is by the way written in PHP and very slow :)
PatlaDJPatlaDJThe PHP Obfuscator tool scrambles PHP source code to make it very difficult to understand or reverse-engineer (example). This provides significant protection for source code intellectual property that must be hosted on a website or shipped to a customer. It is a member of SD's family of Source Code Obfuscators.
halferUsing SourceGuardian is good as it comes with a cool and easy to use GUI.
But be aware:
Pay attention to its -rather funny- licensing terms.
- You are only allowed to run 1 per machine -so far this is acceptable
- If you want to run the command line interface on another machine, say your web server, YOU WILL NEED ANOTHER LICENSE (Yes, it's funny and I can hear you laughing too).
Php Obfuscator Professional V 6 7 0 1 Serial Keys
HerrObfuscation is only adding another layer of potential bugs and security vulnerabilities to your program. Please don't do it.
The kind of people who write obfuscation software usually seem very sketchy and non-skilled anyway.
If your code is 'great', crackers will go through great lengths to spread it, regardless of whether or not it is obfuscated. If nobody knows/cares about your code, they probably won't, either.
David NewcombNot the answer you're looking for? Browse other questions tagged phpobfuscation or ask your own question.
I want to give a free download to my web visitor but I will hide the download link until they click the facebook like button. After they like it then jquery will make the button active and add 'href' attribute to the tag, contains path to the file, so then user will be able to click the link and download the file.
The problem is, user will be able to see the path easily when viewing source of the html in their browser.Is there any easy way in php (I put the javascript codes inside on PHP file) to make a the path is harder to read?
It's fine when people will be able to deobfuscate it. I just want to make it harder to read for non advance user, so then people will consider to like the link instead of finding a way to deobfuscate the code.
Thank you
webchunwebchunIos 7.0.1
4 Answers
Adobe Pagemaker 7.0.1 Serial Number
The only way to really do this properly is, of course, for the button press to make a round-trip to the server to retrieve the URL, via ajax or whatever.
But if you don't want to do that, and just want to obscure it, there are plenty of options. Base-64 encoding, for instance, has good support both in PHP and JavaScript, so you could encode the path on the PHP side (with base64_encode
) and decode on JavaScript once the button is pressed (using any of several solutions discussed here on Stack Overflow).
You can try something like this:
And add this way:
N.B: Originally from sites.google.com/a/vansteenbeek.net/archive/obfuscate_javascript, which is now a 404
MattPerhaps you could just store the path server side and have the frontend pass a special code to a remote endpoint once the item has been 'liked'.
If you're worried about people easily seeing the routine, then go to packer (http://dean.edwards.name/packer/). It's not secure but it will deter your average joe from seeing the code easily.
FYI the code above looks like this when packed:
You'll need to return the following from the download_link.php
file:
Hope that helps.
There are lots of ways to do what you want. Here's a simple algorithm that can build a URL. You can use this as inspiration. The following algorithm builds the URL 'http://www.google.com/'