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

Fix postgres version logging #18992

Merged
merged 1 commit into from Mar 22, 2024

Conversation

adfoster-r7
Copy link
Contributor

@adfoster-r7 adfoster-r7 commented Mar 22, 2024

closes #18988

Verification

Target:

docker run -it --rm --publish 127.0.0.1:9000:5432 -e POSTGRES_PASSWORD=password postgres:14

Module run:

use scanner/postgres/postgres_version
run rhost=127.0.0.1 rport=9000

Running the version without creds is the crash; Test with:

  • No creds
  • Creds
  • Existing session

@dwelch-r7 dwelch-r7 merged commit a674310 into rapid7:master Mar 22, 2024
37 checks passed
@dwelch-r7
Copy link
Contributor

Release Notes

Fixes a crash within the postgres version module

@bwatters-r7 bwatters-r7 added the rn-fix release notes fix label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn-fix release notes fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Armitage: Auxiliary failed: NoMethodError undefined method `peerhost' for nil:NilClass
3 participants