def do_netinfo(self, inp): try: import core.methods.netinfo as netinfo netinfo.info() except Exception as e: print(R + " [-] " + "\033[0m" + color.UNDERLINE + "\033[1m" + "Something went wrong: {}".format(e))
def do_ip(self, inp): try: import core.methods.netinfo as netinfo netinfo.info() except: print(R + " [-] " + "\033[0m" + color.UNDERLINE + "\033[1m" + "Something went wrong. Try again later.")