Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Armitage: Auxiliary failed: NoMethodError undefined method `peerhost' for nil:NilClass #18988

Closed
alyaparan opened this issue Mar 22, 2024 · 0 comments · Fixed by #18992
Closed
Labels

Comments

@alyaparan
Copy link

alyaparan commented Mar 22, 2024

[*] 1 scan to go...
msf6 auxiliary(scanner/winrm/winrm_auth_methods) > use scanner/postgres/postgres_version
msf6 auxiliary(scanner/postgres/postgres_version) > set RHOSTS [IP]
RHOSTS => [IP]
msf6 auxiliary(scanner/postgres/postgres_version) > set THREADS 24
THREADS => 24
msf6 auxiliary(scanner/postgres/postgres_version) > set RPORT 5432
RPORT => 5432
msf6 auxiliary(scanner/postgres/postgres_version) > run -j
[*] Auxiliary module running as background job 49.
[-] Auxiliary failed: NoMethodError undefined method `peerhost' for nil:NilClass
[-] Call stack:
[-]   /usr/share/metasploit-framework/modules/auxiliary/scanner/postgres/postgres_version.rb:93:in `do_fingerprint'
[-]   /usr/share/metasploit-framework/modules/auxiliary/scanner/postgres/postgres_version.rb:38:in `run_host'
[-]   /usr/share/metasploit-framework/lib/msf/core/auxiliary/scanner.rb:128:in `block (2 levels) in run'
[-]   /usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:105:in `block in spawn'
[-]   /usr/share/metasploit-framework/vendor/bundle/ruby/3.1.0/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant