mirror of
				https://github.com/9001/copyparty.git
				synced 2025-10-30 20:22:20 -06:00 
			
		
		
		
	
		
			
				
	
	
		
			7 lines
		
	
	
		
			146 B
		
	
	
	
		
			Python
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			146 B
		
	
	
	
		
			Python
		
	
	
		
			Executable file
		
	
	
	
	
| # disable permission checks and allow access if client-ip is 1.2.3.4
 | |
| 
 | |
| 
 | |
| def main(cli, vn, rem):
 | |
|     if cli.ip == "1.2.3.4":
 | |
|         return "allow"
 |