From 48892aad6021e77a3061db1558fdadd604ef8ec0 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Sat, 14 Mar 2020 12:42:53 +0100 Subject: [PATCH] Improve and document yelp --- _gtfobins/yelp.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/_gtfobins/yelp.md b/_gtfobins/yelp.md index 7c422db..3bfef09 100644 --- a/_gtfobins/yelp.md +++ b/_gtfobins/yelp.md @@ -1,6 +1,8 @@ --- functions: file-read: - - code: | - yelp man:/etc/passwd + - description: This spawns a graphical window containing the file content somehow corrupted by word wrapping, it might not be suitable to read arbitrary files. The path must be absolute. + code: | + LFILE=file_to_read + yelp "man:$LFILE" ---