mirror of
				https://github.com/9001/copyparty.git
				synced 2025-11-03 21:43:12 +00: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"
 |