Show MAC address of targets

This commit is contained in:
Ritiek 2017-06-30 22:16:16 +05:30
parent 62f3cabe1d
commit 9fd96f51ef
1 changed files with 2 additions and 2 deletions

View File

@ -164,7 +164,7 @@ def kickoneoff():
if host[0] == onlineIPs[i]:
mac = host[1]
vendor = resolveMac(mac)
print(" [{0}" + str(i) + "{1}] {2}" + str(onlineIPs[i]) + "{3}\t"+ vendor + "{4}").format(YELLOW, WHITE, RED, GREEN, END)
print(" [{0}" + str(i) + "{1}] {2}" + str(onlineIPs[i]) + "{3}\t" + mac + "{4}\t" + vendor + "{5}").format(YELLOW, WHITE, RED, BLUE, GREEN, END)
canBreak = False
while not canBreak:
@ -484,4 +484,4 @@ if __name__ == '__main__':
# commence scanning process
scanNetwork()
main()
main()