Added info about scanning on start

This commit is contained in:
xdavidhu 2017-04-01 12:25:37 +02:00
parent 5856cc84a4
commit 44ded11c75

View File

@ -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()