mirror of
https://github.com/k4m4/kickthemout.git
synced 2024-11-22 04:54:26 +01:00
fork update
This commit is contained in:
parent
cef0f8240f
commit
9cc143be87
@ -284,7 +284,7 @@ def main():
|
|||||||
|
|
||||||
print(
|
print(
|
||||||
"\n{0}Using interface '{1}" + defaultInterface + "{2}' with mac address '{3}" + defaultInterfaceMac + "{4}'.\nGateway IP: '{5}"
|
"\n{0}Using interface '{1}" + defaultInterface + "{2}' with mac address '{3}" + defaultInterfaceMac + "{4}'.\nGateway IP: '{5}"
|
||||||
+ defaultGatewayIP + "{6}' --> {7}" + str(len(hostsList)) + "{8} hosts are up.{9}").format(GREEN, RED, GREEN, RED, GREEN,
|
+ defaultGatewayIP + "{6}' --> {7}" + str(len(hostsList)) + "{8} hosts are up.{9}").format(GREEN, RED, GREEN, RED, GREEN,
|
||||||
RED, GREEN, RED, GREEN, END)
|
RED, GREEN, RED, GREEN, END)
|
||||||
|
|
||||||
if len(hostsList) == 0 or len(hostsList) == 1:
|
if len(hostsList) == 0 or len(hostsList) == 1:
|
||||||
@ -337,4 +337,4 @@ if __name__ == '__main__':
|
|||||||
defaultInterfaceMac = getDefaultInterfaceMAC()
|
defaultInterfaceMac = getDefaultInterfaceMAC()
|
||||||
scanNetwork()
|
scanNetwork()
|
||||||
|
|
||||||
main()
|
main()
|
||||||
|
Loading…
Reference in New Issue
Block a user