GTFOBins.github.io/_gtfobins/setarch.md
pad0van 0a42ec3171
Add setarch description
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
2022-12-16 15:11:20 +01:00

11 lines
245 B
Markdown

---
description: `uname -m` 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
---