mirror of
				https://github.com/GTFOBins/GTFOBins.github.io
				synced 2025-11-04 02:38:43 +01:00 
			
		
		
		
	Create dialog.md
This commit is contained in:
		
							
								
								
									
										16
									
								
								_gtfobins/dialog.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								_gtfobins/dialog.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
---
 | 
			
		||||
description: The file is shown in an interactive TUI dialog, thus it is not suitable for binary/too big data.
 | 
			
		||||
functions:
 | 
			
		||||
  file-read:
 | 
			
		||||
    - code: |
 | 
			
		||||
        LFILE=file_to_read
 | 
			
		||||
        dialog --textbox "$LFILE" 0 0
 | 
			
		||||
  suid:
 | 
			
		||||
    - code: |
 | 
			
		||||
        LFILE=file_to_read
 | 
			
		||||
        ./dialog --textbox "$LFILE" 0 0
 | 
			
		||||
  sudo:
 | 
			
		||||
    - code: |
 | 
			
		||||
        LFILE=file_to_read
 | 
			
		||||
        sudo dialog --textbox "$LFILE" 0 0
 | 
			
		||||
---
 | 
			
		||||
		Reference in New Issue
	
	Block a user