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

NoMethodError undefined method [] in post/windows/gather/enum_patches #11346

Closed
bcoles opened this issue Feb 1, 2019 · 0 comments
Closed

NoMethodError undefined method [] in post/windows/gather/enum_patches #11346

bcoles opened this issue Feb 1, 2019 · 0 comments

Comments

@bcoles
Copy link
Contributor

bcoles commented Feb 1, 2019

Cross-posted from rapid7/metasploit-payloads#242:

I'm currently trying to escalate privileges on a Windows machine. Whenver I try to enumerate over all installed patches to find a missing one I get this from the meterpreter:

meterpreter > run post/windows/gather/enum_patches 

[-] Post failed: NoMethodError undefined method `[]' for nil:NilClass
[-] Call stack:
[-]   /usr/share/metasploit-framework/modules/post/windows/gather/enum_patches.rb:70:in `run'

Meterpreter used:

* `exploit/windows/meterpreter/reverse_tcp`

No idea if this is a valid issue. I wasn't able to reproduce it on Win 7 (x64) as low priv user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant