Skip to content

Not getting results with msfconsole #20808

@3004ga

Description

@3004ga

Steps to reproduce

How'd you do it?

  1. ...msfconsole
  2. ...search shodan
  3. ...set shodan_apikey
  4. ...set query hipcam
  5. ...run

This section should also tell us any relevant information about the
environment; for example, if an exploit that used to work is failing,
tell us the victim operating system and service versions.

Were you following a specific guide/tutorial or reading documentation? yes

If yes link the guide/tutorial or documentation you were following here, otherwise you may omit this section.

Expected behavior...should give results of hipcam cameras

What should happen?

Current behavior ... No Results. Error: Error

What happens instead? ... No Results. Error: Error

Metasploit version ... Framework: 6.4.102-dev Console : 6.4.102-dev

Get this with the version command in msfconsole (or git log -1 --pretty=oneline for a source install).

Additional Information

If your version is less than 5.0.96, please update to the latest version and ensure your issue is still present.

If the issue is encountered within msfconsole, please run the debug command using the instructions below. If the issue is encountered outisde msfconsole, or the issue causes msfconsole to crash on startup, please delete this section.

Module/Datastore

The following global/module datastore, and database setup was configured before the issue occurred:

Collapse
[framework/core]
loglevel=3

Database Configuration

The database contains the following information:

Collapse
Session Type: Connected to msf. Connection type: postgresql.
ID Hosts Vulnerabilities Notes Services
1 (Current) 0 0 0 0
Total (1) 0 0 0 0

Framework Configuration

The features are configured as follows:

Collapse
name enabled
wrapped_tables true
fully_interactive_shells false
manager_commands false
metasploit_payload_warnings true
defer_module_loads true
smb_session_type true
postgresql_session_type true
mysql_session_type true
mssql_session_type true
ldap_session_type true
show_successful_logins false
dns true
hierarchical_search_table true
display_module_action true

History

The following commands were ran during the session and before this issue occurred:

Collapse
361    version
362    set loglevel 3
363    debug

Framework Errors

The following framework errors occurred before the issue occurred:

Collapse
[10/10/2025 15:13:15] [e(0)] core: /usr/share/metasploit-framework/modules/auxiliary/scanner/msmail/exchange_enum.go failed to load - RuntimeError Unable to load module as the following runtime was not found on the path: go
[10/10/2025 15:14:21] [e(0)] core: /usr/share/metasploit-framework/modules/auxiliary/scanner/msmail/exchange_enum.go failed to load - RuntimeError Unable to load module as the following runtime was not found on the path: go
[10/10/2025 15:14:21] [e(0)] core: /usr/share/metasploit-framework/modules/auxiliary/scanner/msmail/host_id.go failed to load - RuntimeError Unable to load module as the following runtime was not found on the path: go
[10/10/2025 15:14:21] [e(0)] core: /usr/share/metasploit-framework/modules/auxiliary/scanner/msmail/onprem_enum.go failed to load - RuntimeError Unable to load module as the following runtime was not found on the path: go
[10/10/2025 15:16:11] [e(0)] core: rhosts walker invalid - NoMethodError undefined method `scan' for nil
[10/10/2025 15:18:45] [e(0)] core: rhosts walker invalid - NoMethodError undefined method `scan' for nil
[10/21/2025 14:58:05] [e(0)] core: /usr/share/metasploit-framework/modules/auxiliary/scanner/msmail/host_id.go failed to load - RuntimeError Unable to load module as the following runtime was not found on the path: go
[10/21/2025 14:58:05] [e(0)] core: /usr/share/metasploit-framework/modules/auxiliary/scanner/msmail/onprem_enum.go failed to load - RuntimeError Unable to load module as the following runtime was not found on the path: go
[10/21/2025 14:58:05] [e(0)] core: /usr/share/metasploit-framework/modules/auxiliary/scanner/msmail/exchange_enum.go failed to load - RuntimeError Unable to load module as the following runtime was not found on the path: go
[12/24/2025 02:25:13] [e(0)] core: rhosts walker invalid - NoMethodError undefined method `scan' for nil

Web Service Errors

The following web service errors occurred before the issue occurred:

Collapse
msf-ws.log does not exist.

Framework Logs

The following framework logs were recorded before the issue occurred:

Collapse
[10/26/2024 15:52:05] [e(0)] core: Auxiliary failed - Errno::EAFNOSUPPORT Address family not supported by protocol - connect(2) for [2606:4700::6812:cee]:443
[10/26/2024 15:53:42] [e(0)] core: rhosts walker invalid - NoMethodError undefined method `scan' for nil:NilClass
[04/19/2025 14:57:04] [e(0)] core: Failed to connect to the database: No database YAML file
[04/19/2025 14:59:55] [e(0)] core: Auxiliary failed - Errno::EAFNOSUPPORT Address family not supported by protocol - connect(2) for [2606:4700::6812:dee]:443
[05/10/2025 14:34:35] [e(0)] core: Auxiliary failed - Errno::EAFNOSUPPORT Address family not supported by protocol - connect(2) for [2606:4700::6812:dee]:443
[05/16/2025 10:07:35] [e(0)] core: Failed to connect to the database: No database YAML file
[05/16/2025 10:13:47] [e(0)] core: Auxiliary failed - Errno::EAFNOSUPPORT Address family not supported by protocol - connect(2) for [2606:4700::6812:cee]:443
[05/16/2025 10:16:53] [e(0)] core: rhosts walker invalid - NoMethodError undefined method `scan' for nil:NilClass
[05/16/2025 10:17:46] [e(0)] core: Auxiliary failed - Errno::EAFNOSUPPORT Address family not supported by protocol - connect(2) for [2606:4700::6812:cee]:443
[05/16/2025 10:19:15] [e(0)] core: Auxiliary failed - Errno::EAFNOSUPPORT Address family not supported by protocol - connect(2) for [2606:4700::6812:dee]:443
[05/16/2025 10:21:01] [e(0)] core: Auxiliary failed - Errno::EAFNOSUPPORT Address family not supported by protocol - connect(2) for [2606:4700::6812:cee]:443
[05/16/2025 10:25:18] [e(0)] core: Auxiliary failed - Errno::EAFNOSUPPORT Address family not supported by protocol - connect(2) for [2606:4700::6812:cee]:443
[05/16/2025 10:25:50] [e(0)] core: rhosts walker invalid - NoMethodError undefined method `scan' for nil:NilClass
[05/16/2025 10:28:20] [e(0)] core: Failed to connect to the database: No database YAML file
[05/16/2025 10:32:24] [e(0)] core: Auxiliary failed - Errno::EAFNOSUPPORT Address family not supported by protocol - connect(2) for [2606:4700::6812:dee]:443
[05/16/2025 10:34:54] [e(0)] core: Auxiliary failed - Errno::EAFNOSUPPORT Address family not supported by protocol - connect(2) for [2606:4700::6812:cee]:443
[09/20/2025 12:02:23] [e(0)] core: rhosts walker invalid - NoMethodError undefined method `scan' for nil
[10/02/2025 13:35:37] [e(0)] core: DB.migrate threw an exception - ActiveRecord::ConnectionNotEstablished connection to server at "::1", port 5432 failed: Connection refused
        Is the server running on that host and accepting TCP/IP connections?
connection to server at "127.0.0.1", port 5432 failed: Connection refused
        Is the server running on that host and accepting TCP/IP connections?

[10/02/2025 13:35:37] [e(0)] core: Failed to connect to the database: connection to server at "::1", port 5432 failed: Connection refused
        Is the server running on that host and accepting TCP/IP connections?
connection to server at "127.0.0.1", port 5432 failed: Connection refused
        Is the server running on that host and accepting TCP/IP connections?

[10/10/2025 15:13:15] [e(0)] core: /usr/share/metasploit-framework/modules/auxiliary/scanner/msmail/host_id.go failed to load - RuntimeError Unable to load module as the following runtime was not found on the path: go
[10/10/2025 15:13:15] [e(0)] core: /usr/share/metasploit-framework/modules/auxiliary/scanner/msmail/onprem_enum.go failed to load - RuntimeError Unable to load module as the following runtime was not found on the path: go
[10/10/2025 15:13:15] [e(0)] core: /usr/share/metasploit-framework/modules/auxiliary/scanner/msmail/exchange_enum.go failed to load - RuntimeError Unable to load module as the following runtime was not found on the path: go
[10/10/2025 15:13:20] [w(0)] core: The following modules could not be loaded!
[10/10/2025 15:13:20] [w(0)] core:      /usr/share/metasploit-framework/modules/auxiliary/scanner/msmail/host_id.go
[10/10/2025 15:13:20] [w(0)] core:      /usr/share/metasploit-framework/modules/auxiliary/scanner/msmail/onprem_enum.go
[10/10/2025 15:13:20] [w(0)] core:      /usr/share/metasploit-framework/modules/auxiliary/scanner/msmail/exchange_enum.go
[10/10/2025 15:14:21] [e(0)] core: /usr/share/metasploit-framework/modules/auxiliary/scanner/msmail/exchange_enum.go failed to load - RuntimeError Unable to load module as the following runtime was not found on the path: go
[10/10/2025 15:14:21] [w(0)] core: Removing invalid module reference from cache: scanner/msmail/exchange_enum
[10/10/2025 15:14:21] [e(0)] core: /usr/share/metasploit-framework/modules/auxiliary/scanner/msmail/host_id.go failed to load - RuntimeError Unable to load module as the following runtime was not found on the path: go
[10/10/2025 15:14:21] [w(0)] core: Removing invalid module reference from cache: scanner/msmail/host_id
[10/10/2025 15:14:21] [e(0)] core: /usr/share/metasploit-framework/modules/auxiliary/scanner/msmail/onprem_enum.go failed to load - RuntimeError Unable to load module as the following runtime was not found on the path: go
[10/10/2025 15:14:21] [w(0)] core: Removing invalid module reference from cache: scanner/msmail/onprem_enum
[10/10/2025 15:16:11] [e(0)] core: rhosts walker invalid - NoMethodError undefined method `scan' for nil
[10/10/2025 15:18:45] [e(0)] core: rhosts walker invalid - NoMethodError undefined method `scan' for nil
[10/21/2025 14:58:05] [e(0)] core: /usr/share/metasploit-framework/modules/auxiliary/scanner/msmail/host_id.go failed to load - RuntimeError Unable to load module as the following runtime was not found on the path: go
[10/21/2025 14:58:05] [e(0)] core: /usr/share/metasploit-framework/modules/auxiliary/scanner/msmail/onprem_enum.go failed to load - RuntimeError Unable to load module as the following runtime was not found on the path: go
[10/21/2025 14:58:05] [e(0)] core: /usr/share/metasploit-framework/modules/auxiliary/scanner/msmail/exchange_enum.go failed to load - RuntimeError Unable to load module as the following runtime was not found on the path: go
[10/21/2025 14:58:12] [w(0)] core: The following modules could not be loaded!
[10/21/2025 14:58:12] [w(0)] core:      /usr/share/metasploit-framework/modules/auxiliary/scanner/msmail/host_id.go
[10/21/2025 14:58:12] [w(0)] core:      /usr/share/metasploit-framework/modules/auxiliary/scanner/msmail/onprem_enum.go
[10/21/2025 14:58:12] [w(0)] core:      /usr/share/metasploit-framework/modules/auxiliary/scanner/msmail/exchange_enum.go
[12/24/2025 02:25:13] [e(0)] core: rhosts walker invalid - NoMethodError undefined method `scan' for nil

Web Service Logs

The following web service logs were recorded before the issue occurred:

Collapse
msf-ws.log does not exist.

Version/Install

The versions and install method of your Metasploit setup:

Collapse
Framework: 6.4.102-dev
Ruby: ruby 3.3.8 (2025-04-09 revision b200bad6cd) [x86_64-linux-gnu]
OpenSSL: OpenSSL 3.5.4 30 Sep 2025
Install Root: /usr/share/metasploit-framework
Session Type: Connected to msf. Connection type: postgresql.
Install Method: Other - Please specify

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions