mirror of
				https://github.com/9001/copyparty.git
				synced 2025-11-04 05:43:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			274 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			274 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
	
	
# reply with an endless "noooooooooooooooooooooooo"
 | 
						|
 | 
						|
 | 
						|
def say_no():
 | 
						|
    yield b"n"
 | 
						|
    while True:
 | 
						|
        yield b"o" * 4096
 | 
						|
 | 
						|
 | 
						|
def main(cli, vn, rem):
 | 
						|
    cli.send_headers(None, 404, "text/plain")
 | 
						|
 | 
						|
    for chunk in say_no():
 | 
						|
        cli.s.sendall(chunk)
 | 
						|
 | 
						|
    return "false"
 |