mirror of
https://github.com/k4m4/kickthemout.git
synced 2024-11-24 05:54:24 +01:00
Add 'hang on' message for scanning process
This commit is contained in:
parent
df47099e61
commit
fcec584e40
@ -152,8 +152,11 @@ def kickoneoff():
|
||||
os.system("clear||cls")
|
||||
|
||||
print("\n{0}kickONEOff{1} selected...{2}\n").format(RED, GREEN, END)
|
||||
sys.stdout.write("{0}Hang on...{1}\r".format(GREEN, END))
|
||||
sys.stdout.flush()
|
||||
scanNetwork()
|
||||
|
||||
|
||||
print("Online IPs: ")
|
||||
for i in range(len(onlineIPs)):
|
||||
mac = ""
|
||||
@ -214,6 +217,8 @@ def kicksomeoff():
|
||||
os.system("clear||cls")
|
||||
|
||||
print("\n{0}kickSOMEOff{1} selected...{2}\n").format(RED, GREEN, END)
|
||||
sys.stdout.write("{0}Hang on...{1}\r".format(GREEN, END))
|
||||
sys.stdout.flush()
|
||||
scanNetwork()
|
||||
|
||||
print("Online IPs: ")
|
||||
@ -287,6 +292,8 @@ def kickalloff():
|
||||
os.system("clear||cls")
|
||||
|
||||
print("\n{0}kickALLOff{1} selected...{2}\n").format(RED, GREEN, END)
|
||||
sys.stdout.write("{0}Hang on...{1}\r".format(GREEN, END))
|
||||
sys.stdout.flush()
|
||||
scanNetwork()
|
||||
|
||||
print("Online IPs: ")
|
||||
|
Loading…
Reference in New Issue
Block a user