From 9fd96f51ef5e93b5a8d5e4d4bcf5524ce6c87888 Mon Sep 17 00:00:00 2001 From: Ritiek Date: Fri, 30 Jun 2017 22:16:16 +0530 Subject: [PATCH] Show MAC address of targets --- kickthemout.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kickthemout.py b/kickthemout.py index cd68a68..b7a8b02 100644 --- a/kickthemout.py +++ b/kickthemout.py @@ -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() \ No newline at end of file + main()