Update Server.py
typo
This commit is contained in:
parent
0cf546c7ef
commit
1804c66e49
@ -36,7 +36,7 @@ pickler = pickle.Pickler(file)
|
|||||||
file.flush()
|
file.flush()
|
||||||
print(connection)
|
print(connection)
|
||||||
print(type(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))
|
iwantThatRaddr = re.findall(r"'(?<=raddr=\(')\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'", str(connection))
|
||||||
print(iwantThatRaddr)
|
print(iwantThatRaddr)
|
||||||
print(colored('Connected by', 'red'), iwantThatRaddr[0])
|
print(colored('Connected by', 'red'), iwantThatRaddr[0])
|
||||||
|
Loading…
Reference in New Issue
Block a user