account creation will be re-enabled sometime soon i promis
ToString bug: Difference between revisions
From BonziPEDIA, the Official BonziWORLD Encyclopedia of varied quality.
Jump to navigationJump to search
Replaced content with "GAY RIGHTS ARE HUMAN RIGHTS" Tags: Replaced Reverted |
m Reverted edit by UUIy86nkCcGkAYIW (talk) to last revision by Tardish Tag: Rollback |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
The toString bug is a BonziWORLD exploit discovered by [[Erik]] and popularised after being shared on [[Warsaw]]. It works by setting the contents of a message to an object, and then replacing the default "toString" function within this object, with a string, which causes an error when the server tries to auto-run it. This exploit was added to BluePanel (Fune's version) after it was patched on [[BWR]]. It has not been patched in most shitty low effort [[BonziWORLD]] servers, but has been patched on every big server. Since the bug is wide-spread it's ok to document it. | |||
=== Code === | |||
This snippet of code is OP against shitty replit/render servers: '''<nowiki>socket.emit("talk", {text: {toString: ""}})</nowiki>''' |
Latest revision as of 10:43, 16 August 2024
The toString bug is a BonziWORLD exploit discovered by Erik and popularised after being shared on Warsaw. It works by setting the contents of a message to an object, and then replacing the default "toString" function within this object, with a string, which causes an error when the server tries to auto-run it. This exploit was added to BluePanel (Fune's version) after it was patched on BWR. It has not been patched in most shitty low effort BonziWORLD servers, but has been patched on every big server. Since the bug is wide-spread it's ok to document it.
Code
This snippet of code is OP against shitty replit/render servers: socket.emit("talk", {text: {toString: ""}})