Protect my code from copy

Discussion in 'PHP' started by Kalyse, Jan 19, 2007.

  1. 3l3ctr1c

    3l3ctr1c Peon

    Messages:
    380
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #21
    Vbulletin and IPB are well encoded I guess
     
    3l3ctr1c, Mar 5, 2007 IP
  2. Kalyse

    Kalyse Peon

    Messages:
    1,221
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #22
    Vbulletin isnt free.

    And to the guy above me. They arent encoded. I think they have call backs but people just Null them anyway.

    To be honest I think now, if you want to protect your code, your in the wrong game. *shrugs* shame.
     
    Kalyse, Mar 5, 2007 IP
  3. codeassist

    codeassist Peon

    Messages:
    267
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #23
    There is no commercial encoder/obfuscator currently for php scripts that cannot be broken. Waste of time really. I would suggest focusing in quality for the most part and your sales will come.

    Have a good business strategy and then try to have a good customer base. No matter what happens there's always genuine users.
     
    codeassist, Mar 5, 2007 IP
  4. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #24
    ... just as 'code' no matter the language can't be compromised. It's all to do with your cost-benefit curve.

    If you insist on protecting your code, I would suggest that you obfuscate no matter what for the simple fact that at the end of the day, it will require man hours to 'crack'. Having a memory dump doesn't help as it's still ridiculously difficult code to understand. That's the key difference between obfuscated code and encrypted code: encrypted code gets decrypted to its original state in memory. Obfuscated code has the code rewritten to an ugly state in the first place.
     
    TwistMyArm, Mar 5, 2007 IP
  5. Kalyse

    Kalyse Peon

    Messages:
    1,221
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #25
    What is an ugly state exactly?

    Just renaming variables?

    Or does it completely rewrite it from head to two and change it all around?
     
    Kalyse, Mar 7, 2007 IP
  6. rootbinbash

    rootbinbash Peon

    Messages:
    2,198
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    0
    #26
    well you should use ioncube or zend.Ioncube is better than zend.BUT BUT if i were you, i would go for open source.Null groups doesnt like encoded scripts especially if its free :D
     
    rootbinbash, Mar 8, 2007 IP
  7. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #27
    The one I use renames variables, functions, class names and constants. It also removes any comments and any unnecessary whitespace. Finally, it reformats the code by removing enough EOLs such that each line is about 250 characters long. Thankfully, I can also say 'obfuscate all functions except ones that match *api*' (for any function with the letters 'api' in it, for example, so that people can still rewrite code that uses these 'public' functions if that makes sense).

    It doesn't rearrange code, though the effect on all but the most trivial of files is fairly ghastly. As a bonus, the file sizes are normally reduced.

    For me, it was a necessity due to the memread attacks on encryptors. I think I mentioned somewhere else that now a number of the encryptors also obfuscate pre-encryption which is cool, but by the time I started using this, I didn't feel like adding the extra server requirements.
     
    TwistMyArm, Mar 8, 2007 IP
  8. Kalyse

    Kalyse Peon

    Messages:
    1,221
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #28
    Can you post the one you use please.

    Thanks.
     
    Kalyse, Mar 8, 2007 IP
  9. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #29
    :)

    Here's where I guess I have to make a small confession: I wrote the majority of the one I use. I don't believe it gives me much of a bias, but I'm just telling you!

    Anyway: I call it YAPHPO and you can read the blurb at http://www.asistechnologies.com/home/products/yaphpo/yaphpo-information.html . From there, there's a download link.

    There hasn't been much development on it in a while but when I get a chance, I'm actually going to overhaul it a fair bit and add what are essentially going to be like C / C++ preprocessor commands plus some more tweaks.

    Anyway, let me know what you think and feel free to ask me questions directly or (preferably) in the forum over there.

    Eeek. I hope my money is where my mouth is on this :)
     
    TwistMyArm, Mar 8, 2007 IP
  10. sample4u

    sample4u Well-Known Member

    Messages:
    683
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    108
    #30
    I use unzend.com service they know how protect your code
     
    sample4u, Apr 25, 2013 IP
  11. annaharris

    annaharris Active Member

    Messages:
    119
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    51
    #31
    I also prefer to use weblock pro. It is easy and handy way to protect our code.
     
    annaharris, May 7, 2013 IP