mirror of
				https://github.com/GTFOBins/GTFOBins.github.io
				synced 2025-11-04 02:38:43 +01:00 
			
		
		
		
	Remove -E option of sudo for more
Note added by @cyrus-and: this only works because `sudo` preserves `TERM` nevertheless (unless explicitly blacklisted).
This commit is contained in:
		@@ -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
 | 
			
		||||
---
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user