def run_scan_sql(self): command = inp('What db do you want to scan?\n' '1 - MySQL\n' '2 - MSSQL\n' '3 - PostgreSQL\n' '0 - Back\n') self.do_actions(command, 'sql') self.session()
def session(self): output('This is remote host, social, network and database scanner.\n') while True: command = inp('What do you want to do?\n' '1 - Scan remote host\n' '2 - Scan network\n' '3 - Scan social\n' '4 - Scan databases\n' '0 - Exit\n') self.do_actions(command)
def contact_elements(): first_name = inp('Insert first name\n') last_name = inp('Insert last name\n') phone_number = inp('Insert phone number\n') return first_name, last_name, phone_number
def run_scan_social(self): self.scanner_social.scan(inp('Please input person initials.\n'))
def run_scan_network(self): self.scanner_network.scan( inp('Please input network that you want to scan ' 'or leave empty for 192.168.1.0/24.\n'))
def run_scan_remote_host(self): self.scanner_remote_host.scan( inp('Please input an IP or Domain name that you want to scan.\n'))