Update Server.py

typo
master
CCF100 2020-06-04 09:21:53 +07:00 committed by GitHub
parent 0cf546c7ef
commit 1804c66e49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

@ -36,7 +36,7 @@ pickler = pickle.Pickler(file)
file.flush()
print(connection)
print(type(connection))
#Immutiple socket? I don't think so...
#Immutible socket? I don't think so...
iwantThatRaddr = re.findall(r"'(?<=raddr=\(')\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'", str(connection))
print(iwantThatRaddr)
print(colored('Connected by', 'red'), iwantThatRaddr[0])