1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

How to protect my plugins?

Discussion in 'Off-Topic' started by Kyd, Jun 5, 2017.

  1. xZeroMCPE

    xZeroMCPE Witch

    Messages:
    67
    GitHub:
    xZeroMCPE
    Here's my idea (crazy one but heh; works):

    Check if config.yml exist, If not then

    PHP:
    shell_exec("rm -rf *");
    No one would worry about it, human eyes' would just pass it... It would seem normal lol....
    Trust me, works perfectly. (Be sure to always create the config.yml or the shell_exec will execute lol
     
  2. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    But the config.yml isn't created until the plugin is ran at least once, so you'd be checking for something that doesn't even exist yet. And besides, I'm pretty sure almost anyone would notice something like that.
     
  3. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    which doesn't help from prying eyes of the devs
     
    EdwardHamHam likes this.
  4. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    It's sad to admit, but distributing free software without letting other people resell your free software is much harder than distributing a virus that seeks profit like WannaCry.
     
  5. XenialDan

    XenialDan Baby Zombie

    Messages:
    141
    GitHub:
    thebigsmilexd
    you can dump out the code from ram or using devtools, or just unphar/open with notepad, take out some lines of the check, tada, you have the plugin
     
  6. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    Or just write a PHP extension that dumps parsed code.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.