Exemplo n.º 1
0
 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))
Exemplo n.º 2
0
 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.")