mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-24 13:59:17 +01:00
Improve and document dmesg file read
This commit is contained in:
parent
32887085bf
commit
2e6fa047e9
@ -1,9 +1,10 @@
|
||||
---
|
||||
functions:
|
||||
file-read:
|
||||
- code: |
|
||||
- description: This is not suitable for binary files.
|
||||
code: |
|
||||
LFILE=file_to_read
|
||||
dmesg -F "$LFILE"
|
||||
dmesg -rF "$LFILE"
|
||||
shell:
|
||||
- description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply.
|
||||
code: |
|
||||
|
Loading…
Reference in New Issue
Block a user