mirror of
https://github.com/k4m4/kickthemout.git
synced 2024-11-22 04:54:26 +01:00
added uitls.socket for hostnames
This commit is contained in:
parent
dc0efe389e
commit
89fcd40733
@ -165,8 +165,7 @@ def kickoneoff():
|
||||
mac = host[1]
|
||||
vendor = resolveMac(mac)
|
||||
hostname = utils.socket.gethostbyaddr(onlineIPs[i])[0]
|
||||
print(" [{0}" + str(i) + "{1}] {2}" + str(onlineIPs[i]) + "{3}\t" + vendor + " - " + hostname + "{4}" ).format(YELLOW, WHITE, RED, GREEN, END)
|
||||
|
||||
print(" [{0}" + str(i) + "{1}] {2}" + str(onlineIPs[i]) + "{3}\t" + mac + "{4}\t" + vendor + " - " + hostname "{5}").format(YELLOW, WHITE, RED, BLUE, GREEN, END)
|
||||
|
||||
canBreak = False
|
||||
while not canBreak:
|
||||
|
Loading…
Reference in New Issue
Block a user