def dataReceived(self,data):
		if(len(data) != 512):
			self.transport.write("Data too long.\n")
			self.transport.loseConnection()
			return
		
		if(data.startswith("getvalidmac:")):
			self.transport.write(md4mac("User",KEY))			


		elif(data.startswith("login:")):
			if (checklogin(data[6:])):
				self.transport.write("Congratulations!")
				self.transport.write(SECRET)
			else:
				self.transport.write("Invalid Login!")
			
		else:
			self.transport.write("Syntax Error")
			self.transport.loseConnection()
dataset/ETHPy150Open pbiernat/BlackBox/Chal6/md4_login.py/MyServer.dataReceived/operator `>` -> `!=`