Shivansh Posted March 7, 2019 Share Posted March 7, 2019 I make an addon but I don't know how to encrypt php license file. please help 0 Quote Link to comment Share on other sites More sharing options...
0 steven99 Posted March 8, 2019 Share Posted March 8, 2019 Encode it with ioncube. It will work without any additional changes to the server as WHMCS depends on it. Ioncube has a free online encoder for limited usage. If you plan on doing modules for release, buying an ioncube license might be better. There might be other options such as zend sourceguardian but they all work the same way and have the same exploitable holes of finding out at least what functions, classes, variables are used within the file but not actual code without breaking in to the encoding. 0 Quote Link to comment Share on other sites More sharing options...
0 Shivansh Posted March 9, 2019 Author Share Posted March 9, 2019 If I encode then how I get back original file 0 Quote Link to comment Share on other sites More sharing options...
0 Veehosty Posted March 9, 2019 Share Posted March 9, 2019 I Also Tried 0 Quote Link to comment Share on other sites More sharing options...
0 Shivansh Posted March 10, 2019 Author Share Posted March 10, 2019 On 3/9/2019 at 10:56 AM, Veehosty said: I Also Tried Yes it's really difficult to get back your orginal file 0 Quote Link to comment Share on other sites More sharing options...
0 brian! Posted March 10, 2019 Share Posted March 10, 2019 On 09/03/2019 at 05:20, Shivansh said: If I encode then how I get back original file you keep two copies - the original unencoded version of your file, and the IonCube encoded version. if you later need to edit/update the code, you work on the original version and then encode it again (if you intend to sell/distribute it). 1 Quote Link to comment Share on other sites More sharing options...
0 bear Posted March 10, 2019 Share Posted March 10, 2019 On 3/9/2019 at 12:20 AM, Shivansh said: If I encode then how I get back original file You need to keep unencrypted copies, not encrypt the only one you have. I haven't used the encoder, but if it was the online one, you upload the files to be encoded, which doesn't delete your local copy (unless you copy them back and overwrite the originals). 1 Quote Link to comment Share on other sites More sharing options...
0 Shivansh Posted March 10, 2019 Author Share Posted March 10, 2019 6 minutes ago, brian! said: you keep two copies - the original unencoded version of your file, and the IonCube encoded version. if you later need to edit/update the code, you work on the original version and then encode it again (if you intend to sell/distribute it). 1 minute ago, bear said: You need to keep unencrypted copies, not encrypt the only one you have. I haven't used the encoder, but if it was the online one, you upload the files to be encoded, which doesn't delete your local copy (unless you copy them back and overwrite the originals). Any Method to encoded then if I lose. ? 0 Quote Link to comment Share on other sites More sharing options...
0 brian! Posted March 10, 2019 Share Posted March 10, 2019 24 minutes ago, Shivansh said: Any Method to encoded then if I lose. ? if you mean that if you encode a file, then lose the original version, can you decode the IonCube encoded version to see your original source code... theoretically yes, but you would likely need to pay for additional software to do this - so *never* rely on this as being an option. the easiest solution is not to lose the original version - so keep multiple copies of it stored in multiple DIFFERENT locations (e.g not just locally on your computer). 1 Quote Link to comment Share on other sites More sharing options...
0 Shivansh Posted March 10, 2019 Author Share Posted March 10, 2019 10 minutes ago, brian! said: if you mean that if you encode a file, then lose the original version, can you decode the IonCube encoded version to see your original source code... theoretically yes, but you would likely need to pay for additional software to do this - so *never* rely on this as being an option. the easiest solution is not to lose the original version - so keep multiple copies of it stored in multiple DIFFERENT locations (e.g not just locally on your computer). Thanks for the information One More Question Please help Solve It 0 Quote Link to comment Share on other sites More sharing options...
Question
Shivansh
I make an addon but I don't know how to encrypt php license file.
please help
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.