SpigotMC / BungeeCord

BungeeCord, the 6th in a generation of server portal suites. Efficiently proxies and maintains connections and transport between multiple Minecraft servers.
https://www.spigotmc.org/go/bungeecord
Other
1.53k stars 1.09k forks source link

Spoof secureProfile boolean to true if online mode true #3702

Open Outfluencer opened 1 week ago

Outfluencer commented 1 week ago

https://outfluencer.dev/secure-chat-popup-1.21.png

This field was added in 1.20.5 if its value is false the client will show a popup that we don't like

andreasdc commented 1 week ago

What's that popup?

md-5 commented 1 week ago

Should the server not set this if bungee/ip forwarding is true, so it can actually be sure chat is secure?

Outfluencer commented 1 week ago

Should the server not set this if bungee/ip forwarding is true, so it can actually be sure chat is secure?

Actually i do check for it as

rewriteId = ( bungee.config.isIpForward() ) ? uniqueId : offlineId;

I think the comment may be confusing

Outfluencer commented 1 week ago

What's that popup?

the popup shows when the client receives a login packet where secureProfile is false

It indicates that chat messages are not signed

andreasdc commented 1 week ago

What's that popup?

the popup shows when the client receives a login packet where secureProfile is false

It indicates that chat messages are not signed

This one? image Is it only fixable on online mode servers?

Outfluencer commented 1 week ago

yes i have send a screenshot here:

https://outfluencer.dev/secure-chat-popup-1.21.png

This field was added in 1.20.5 if its value is false the client will show a popup that we don't like

Outfluencer commented 1 week ago

Is it only fixable on online mode servers?

yes only on online mode true

if you try to fix it on cracked you will get this:

image

The popup is gone but you can't chat anymore

Outfluencer commented 1 week ago

but theoretically its also fixable i will try it we would need to read the player chat messages send from the server and make them to a normal message You can do this easy with an bukkit plugin for example