Results 1 to 5 of 5
Thread: testing license key
Feb 24, 2014, 06:22 #1
testing license key
I created a license key file for my product, i wrote a math formula to encode/decode it now i want to make sure if it is scure. Is here someone to try to decofe it tgat i make sure thhat my users cannot break the license?
Feb 24, 2014, 13:26 #2
Below is a license key I made. It contains an array of license info such as domain, ip etc. can someone try to decode it that I see if it is secure or not?
Hints: the domain for this key is: yyy.com
Feb 24, 2014, 13:40 #3
- Join Date
- Jun 2002
- 154 Post(s)
- 0 Thread(s)
Okay, so I'm curious, so the first thing I did was run base64_decode (twice), which leaves me with a much more complex message that looks to use mcrypt or something similar.
Am I on the right track thus far? If you are using mcrypt, it is just likely a matter of brute forcing until I get the right combination of CIPHER type and mode used (assuming yyy.com is the key).
As an aside, I am assuming your product is installed on remote hosts, so there would be some source code available to see how the key is being utilized. It would be nice to see some of that so I can properly identify how easy it is to infer some of the remaining components
Last edited by cpradio; Feb 24, 2014 at 13:48. Reason: Added aside
Feb 24, 2014, 14:21 #4
Another hint: No, mcrypt is NOT used. I am not interested to use mcrypt because may be my end-user don't have it installed. I am not sure if it is widely installed on each and every server. so probably a problem for end-user.
No, yyy.com is not the key to encode this license. This is the domain that the product would be locked on with this license.
Mar 14, 2014, 19:20 #5
- Join Date
- Sep 2004
- 4 Post(s)
- 1 Thread(s)
I am sorry to break your bubble, but a custom made algorithm for a license key is not really as secure, as you might believe.
Depending on how you implement it, there will be several ways to avoid it, or even break it.
In most cases you would be better off using either Zend Guard or IonCube if it is PHP, if it is another language a similar encryption system if any exists.