That’s not what the exploit is about. You may want to read more carefully.
The code you posted makes little sense in this context. It only strongly suggests you found that code running somewhere, googled “GLOBALS exploit” and got to the mentioned link. (Which might warrant a reference to the Code of Conduct.)