# Path: interface/messages.py
# def print_error(*args, **kwargs):
#     print(Color.RED + Color.BOLD + "[-]" + Color.ENDC, *args, **kwargs)
# 
# def print_help(*args, **kwargs):
#     print(Color.PURPLE + Color.BOLD + "[?]" + Color.ENDC, *args, **kwargs)
# 
# def print_info(*args, **kwargs):
#     print(Color.BLUE + Color.BOLD + "[*]" + Color.ENDC, *args, **kwargs)


import cmd
import core.globals
import interface.utils
from interface.messages import print_error, print_help, print_info
                else:
                    print_error("port value must be integer")
        except IndexError:
            print_error("please specify value for variable")

    def complete_set(self, text, line, begidx, endidx):
        modules = ["host", "port"]
        module_line = line.partition(' ')[2]
        igon = len(module_line) - len(text)
        return [s[igon:] for s in modules if s.startswith(module_line)]

    def do_info(self, e):
        print(self.__doc__)

    def do_host(self, e):
        print_info(self.host)

    def do_port(self, e):
        print_info(self.port)

    def help_back(self):
        print_help("Exit script")

    def help_run(self):
        print_help("Run script")

    def help_host(self):
        print_help("Prints current value of host")

    def help_port(self):

# Path: interface/messages.py
# def print_error(*args, **kwargs):
#     print(Color.RED + Color.BOLD + "[-]" + Color.ENDC, *args, **kwargs)
# 
# def print_help(*args, **kwargs):
#     print(Color.PURPLE + Color.BOLD + "[?]" + Color.ENDC, *args, **kwargs)
# 
# def print_info(*args, **kwargs):
#     print(Color.BLUE + Color.BOLD + "[*]" + Color.ENDC, *args, **kwargs)


# Path: core/Exploit.py
import cmd
import core.globals
import interface.utils
from interface.messages import print_error, print_help, print_info

                else:
                    print_error("port value must be integer")
        except IndexError:
            print_error("please specify value for variable")

    def complete_set(self, text, line, begidx, endidx):
        modules = ["host", "port"]
        module_line = line.partition(' ')[2]
        igon = len(module_line) - len(text)
        return [s[igon:] for s in modules if s.startswith(module_line)]

    def do_info(self, e):
        print(self.__doc__)

    def do_host(self, e):
        print_info(self.host)

    def do_port(self, e):
        print_info(self.port)

    def help_back(self):
        print_help("Exit script")

    def help_run(self):
        print_help("Run script")

    def help_host(self):
        print_help("Prints current value of host")

    def help_port(self):

        print_help("Prints current value of port")