Created
January 31, 2024 00:34
-
-
Save Pixailz/bbc8e9a1b6e0aa7afc77368a96d60922 to your computer and use it in GitHub Desktop.
attach to the current pid and remove a readonly var without root
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| gdb -ex 'call (int)unbind_variable("<VAR_NAME>")' --pid=$$ --batch | |
| #gdb -ex 'shell' --pid=$$ --batch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment