mirror of
https://github.com/k4m4/kickthemout.git
synced 2024-11-22 04:54:26 +01:00
Added info about scanning on start
This commit is contained in:
parent
5856cc84a4
commit
44ded11c75
@ -36,7 +36,7 @@ except:
|
|||||||
|
|
||||||
def heading():
|
def heading():
|
||||||
# Function for printing the logo & info
|
# Function for printing the logo & info
|
||||||
sys.stdout.write(GREEN + """
|
sys.stdout.write(GREEN + """
|
||||||
█ █▀ ▄█ ▄█▄ █ █▀ ▄▄▄▄▀ ▄ █ ▄███▄ █▀▄▀█ ████▄ ▄ ▄▄▄▄▀
|
█ █▀ ▄█ ▄█▄ █ █▀ ▄▄▄▄▀ ▄ █ ▄███▄ █▀▄▀█ ████▄ ▄ ▄▄▄▄▀
|
||||||
█▄█ ██ █▀ ▀▄ █▄█ ▀▀▀ █ █ █ █▀ ▀ █ █ █ █ █ █ ▀▀▀ █
|
█▄█ ██ █▀ ▀▄ █▄█ ▀▀▀ █ █ █ █▀ ▀ █ █ █ █ █ █ ▀▀▀ █
|
||||||
█▀▄ ██ █ ▀ █▀▄ █ ██▀▀█ ██▄▄ █ ▄ █ █ █ █ █ █
|
█▀▄ ██ █ ▀ █▀▄ █ ██▀▀█ ██▄▄ █ ▄ █ █ █ █ █ █
|
||||||
@ -458,6 +458,8 @@ if __name__ == '__main__':
|
|||||||
# -- Start point --
|
# -- Start point --
|
||||||
|
|
||||||
# Setting the network info variables
|
# Setting the network info variables
|
||||||
|
sys.stdout.write("{0}Scanning your network, hang on...{1}\r".format(GREEN, END))
|
||||||
|
sys.stdout.flush()
|
||||||
defaultInterface = getDefaultInterface()
|
defaultInterface = getDefaultInterface()
|
||||||
defaultGatewayIP = getGatewayIP()
|
defaultGatewayIP = getGatewayIP()
|
||||||
defaultInterfaceMac = getDefaultInterfaceMAC()
|
defaultInterfaceMac = getDefaultInterfaceMAC()
|
||||||
|
Loading…
Reference in New Issue
Block a user