mirror of
				https://github.com/GTFOBins/GTFOBins.github.io
				synced 2025-10-31 00:38:54 +01:00 
			
		
		
		
	Co-authored-by: AmirMohammad Jahangirzad <a.jahangirzad@spara.ir> Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
		
			
				
	
	
		
			16 lines
		
	
	
		
			423 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			423 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ---
 | |
| functions:
 | |
|   file-read:
 | |
|     - description: The file is read and parsed as a `tmux` configuration file, part of the first invalid line is returned in an error message.
 | |
|       code: |
 | |
|         LFILE=file_to_read
 | |
|         tmux -f $LFILE
 | |
|   shell:
 | |
|     - code: tmux
 | |
|     - description: Provided to have enough permissions to access the socket.
 | |
|       code: |
 | |
|         tmux -S /path/to/socket_name
 | |
|   sudo:
 | |
|     - code: sudo tmux
 | |
| ---
 |