You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
datastore_fallbacks
true
metasploit_payload_warnings
true
defer_module_loads
false
smb_session_type
true
postgresql_session_type
true
mysql_session_type
true
mssql_session_type
true
ldap_session_type
false
show_successful_logins
false
dns
true
hierarchical_search_table
true
History
The following commands were ran during the session and before this issue occurred:
Collapse
67 version
68 set loglevel 3
69 search native_spoof
70 use 0
71 set STATIC_ENTRIES 1.2.3.4 example.com
72 run
73 debug
Framework Errors
The following framework errors occurred before the issue occurred:
Collapse
[10/26/2024 07:44:23] [e(0)] core: Auxiliary failed - NoMethodError undefined method `split' for nil:NilClass
[10/26/2024 08:04:56] [e(0)] core: Auxiliary failed - NoMethodError undefined method `split' for nil:NilClass
[10/26/2024 08:11:06] [e(0)] core: Auxiliary failed - NoMethodError undefined method `split' for nil:NilClass
[10/26/2024 08:12:56] [e(0)] core: Auxiliary failed - NoMethodError undefined method `split' for nil:NilClass
[10/26/2024 08:13:14] [e(0)] core: Auxiliary failed - RuntimeError eth0: You don't have permission to perform this capture on that device (socket: Operation not permitted)
[10/26/2024 08:13:51] [e(0)] core: Auxiliary failed - RuntimeError eth0: You don't have permission to perform this capture on that device (socket: Operation not permitted)
[10/26/2024 08:33:04] [e(0)] core: Failed to connect to the database: No database YAML file
[10/26/2024 08:33:15] [e(0)] core: Failed to connect to the database: No database YAML file
[10/26/2024 13:31:59] [e(0)] core: Auxiliary failed - RuntimeError eth0: You don't have permission to capture on that device (socket: Operation not permitted)
[10/26/2024 15:57:53] [e(0)] core: Auxiliary failed - NoMethodError undefined method `add_static' for #<Rex::Proto::DNS::Cache:0x00007f4cf337c728 @records={}, @lock=#<Thread::Mutex:0x00007f4cf337c6b0>, @monitor_thread=#<Thread:0x00007f4cf3376440 /opt/metasploit-framework/embedded/framework/lib/msf/core/thread_manager.rb:98 run>>
Call stack:
/opt/metasploit-framework/embedded/framework/lib/msf/core/exploit/remote/dns/server.rb:59:in `block (2 levels) in add_static_hosts'
/opt/metasploit-framework/embedded/framework/lib/msf/core/exploit/remote/dns/server.rb:57:in `each'
/opt/metasploit-framework/embedded/framework/lib/msf/core/exploit/remote/dns/server.rb:57:in `block in add_static_hosts'
/opt/metasploit-framework/embedded/framework/lib/msf/core/exploit/remote/dns/server.rb:54:in `each'
/opt/metasploit-framework/embedded/framework/lib/msf/core/exploit/remote/dns/server.rb:54:in `add_static_hosts'
/opt/metasploit-framework/embedded/framework/lib/msf/core/exploit/remote/dns/server.rb:125:in `start_service'
/opt/metasploit-framework/embedded/framework/modules/auxiliary/spoof/dns/native_spoofer.rb:60:in `run'
/opt/metasploit-framework/embedded/framework/lib/msf/base/simple/auxiliary.rb:179:in `job_run_proc'
/opt/metasploit-framework/embedded/framework/lib/msf/base/simple/auxiliary.rb:79:in `block in run_simple'
/opt/metasploit-framework/embedded/framework/lib/rex/job.rb:49:in `block in start'
/opt/metasploit-framework/embedded/framework/lib/rex/thread_factory.rb:22:in `block in spawn'
/opt/metasploit-framework/embedded/framework/lib/msf/core/thread_manager.rb:105:in `block in spawn'
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 04:37:58] [e(0)] core: Failed to connect to the database: No database YAML file
[10/26/2024 04:38:07] [e(0)] core: Failed to open history file: /home/kali/.msf4/history with error: No such file or directory @ rb_sysopen - /home/kali/.msf4/history
[10/26/2024 04:47:49] [e(0)] core: Failed to connect to the database: No database YAML file
[10/26/2024 05:06:03] [e(0)] core: Module auxiliary/spoof/dns/dns_spoof not found, and no loading errors found. If you're using a custom module refer to our wiki: https://docs.metasploit.com/docs/using-metasploit/intermediate/running-private-modules.html
[10/26/2024 05:43:45] [e(0)] core: Failed to connect to the database: No database YAML file
[10/26/2024 05:47:27] [e(0)] core: Failed to connect to the database: No database YAML file
[10/26/2024 07:44:23] [e(0)] core: Auxiliary failed - NoMethodError undefined method `split' for nil:NilClass
[10/26/2024 08:04:56] [e(0)] core: Auxiliary failed - NoMethodError undefined method `split' for nil:NilClass
[10/26/2024 08:11:06] [e(0)] core: Auxiliary failed - NoMethodError undefined method `split' for nil:NilClass
[10/26/2024 08:12:56] [e(0)] core: Auxiliary failed - NoMethodError undefined method `split' for nil:NilClass
[10/26/2024 08:13:14] [e(0)] core: Auxiliary failed - RuntimeError eth0: You don't have permission to perform this capture on that device (socket: Operation not permitted)
[10/26/2024 08:13:51] [e(0)] core: Auxiliary failed - RuntimeError eth0: You don't have permission to perform this capture on that device (socket: Operation not permitted)
[10/26/2024 08:33:04] [e(0)] core: Failed to connect to the database: No database YAML file
[10/26/2024 08:33:15] [e(0)] core: Failed to connect to the database: No database YAML file
[10/26/2024 13:31:59] [e(0)] core: Auxiliary failed - RuntimeError eth0: You don't have permission to capture on that device (socket: Operation not permitted)
[10/26/2024 15:57:34] [i(2)] core: Reloading auxiliary module spoof/dns/native_spoofer. Ambiguous module warnings are safe to ignore
[10/26/2024 15:57:53] [e(0)] core: Auxiliary failed - NoMethodError undefined method `add_static' for #<Rex::Proto::DNS::Cache:0x00007f4cf337c728 @records={}, @lock=#<Thread::Mutex:0x00007f4cf337c6b0>, @monitor_thread=#<Thread:0x00007f4cf3376440 /opt/metasploit-framework/embedded/framework/lib/msf/core/thread_manager.rb:98 run>>
Call stack:
/opt/metasploit-framework/embedded/framework/lib/msf/core/exploit/remote/dns/server.rb:59:in `block (2 levels) in add_static_hosts'
/opt/metasploit-framework/embedded/framework/lib/msf/core/exploit/remote/dns/server.rb:57:in `each'
/opt/metasploit-framework/embedded/framework/lib/msf/core/exploit/remote/dns/server.rb:57:in `block in add_static_hosts'
/opt/metasploit-framework/embedded/framework/lib/msf/core/exploit/remote/dns/server.rb:54:in `each'
/opt/metasploit-framework/embedded/framework/lib/msf/core/exploit/remote/dns/server.rb:54:in `add_static_hosts'
/opt/metasploit-framework/embedded/framework/lib/msf/core/exploit/remote/dns/server.rb:125:in `start_service'
/opt/metasploit-framework/embedded/framework/modules/auxiliary/spoof/dns/native_spoofer.rb:60:in `run'
/opt/metasploit-framework/embedded/framework/lib/msf/base/simple/auxiliary.rb:179:in `job_run_proc'
/opt/metasploit-framework/embedded/framework/lib/msf/base/simple/auxiliary.rb:79:in `block in run_simple'
/opt/metasploit-framework/embedded/framework/lib/rex/job.rb:49:in `block in start'
/opt/metasploit-framework/embedded/framework/lib/rex/thread_factory.rb:22:in `block in spawn'
/opt/metasploit-framework/embedded/framework/lib/msf/core/thread_manager.rb:105:in `block in spawn'
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.34-dev-
Ruby: ruby 3.2.5 (2024-07-26 revision 31d0f1a2e7) [x86_64-linux]
OpenSSL: OpenSSL 1.1.1t 7 Feb 2023
Install Root: /opt/metasploit-framework/embedded/framework
Session Type: Connected to msf. Connection type: postgresql.
Install Method: Omnibus Installer
The text was updated successfully, but these errors were encountered:
Steps to reproduce
How'd you do it?
Expected behavior
[*] Auxiliary module running as background job 2.
Current behavior
msf6 auxiliary(spoof/dns/native_spoofer) > run
[] Auxiliary module running as background job 3.
msf6 auxiliary(spoof/dns/native_spoofer) >
[-] Auxiliary failed: NoMethodError undefined method add_static' for #<Rex::Proto::DNS::Cache:0x00007f1b1afb7c00 @records={}, @lock=#Thread::Mutex:0x00007f1b1afb7b88, @monitor_thread=#<Thread:0x00007f1b1afb55b8 /usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:98 run>>
[-] Call stack:
[-] /usr/share/metasploit-framework/lib/msf/core/exploit/remote/dns/server.rb:59:in block (2 levels) in add_static_hosts'
[-] /usr/share/metasploit-framework/lib/msf/core/exploit/remote/dns/server.rb:57:in each'
[-] /usr/share/metasploit-framework/lib/msf/core/exploit/remote/dns/server.rb:57:in block in add_static_hosts'
[-] /usr/share/metasploit-framework/lib/msf/core/exploit/remote/dns/server.rb:54:in each'
[-] /usr/share/metasploit-framework/lib/msf/core/exploit/remote/dns/server.rb:54:in add_static_hosts'
[-] /usr/share/metasploit-framework/lib/msf/core/exploit/remote/dns/server.rb:125:in start_service'
[-] /usr/share/metasploit-framework/modules/auxiliary/spoof/dns/native_spoofer.rb:60:in run'
[] Server stopped.
Metasploit version
Gmsf6 > version
Framework: 6.4.34-dev-
Console : 6.4.34-dev-
Module/Datastore
The following global/module datastore, and database setup was configured before the issue occurred:
Collapse
Database Configuration
The database contains the following information:
Collapse
Framework Configuration
The features are configured as follows:
Collapse
History
The following commands were ran during the session and before this issue occurred:
Collapse
Framework Errors
The following framework errors occurred before the issue occurred:
Collapse
Web Service Errors
The following web service errors occurred before the issue occurred:
Collapse
Framework Logs
The following framework logs were recorded before the issue occurred:
Collapse
Web Service Logs
The following web service logs were recorded before the issue occurred:
Collapse
Version/Install
The versions and install method of your Metasploit setup:
Collapse
The text was updated successfully, but these errors were encountered: