rapid7 / metasploit-framework

Metasploit Framework
https://www.metasploit.com/
Other
33.42k stars 13.82k forks source link

Post failed: NoMethodError undefined method `unpack' for nil:NilClass #19222

Open kokxxoo opened 1 month ago

kokxxoo commented 1 month ago

run post/windows/gather/hashdump

[*] Obtaining the boot key...

[*] Calculating the hboot key using SYSKEY feafa24f2f975fdc62f236r899999999...
[*] Obtaining the user list and keys...
[*] Decrypting user keys...
[-] Post failed: NoMethodError undefined method `unpack' for nil:NilClass
[-] Call stack:
[-]   /opt/metasploit-framework/embedded/framework/modules/post/windows/gather/hashdump.rb:261:in `decrypt_user_hash'
[-]   /opt/metasploit-framework/embedded/framework/modules/post/windows/gather/hashdump.rb:233:in `block in decrypt_user_keys'
[-]   /opt/metasploit-framework/embedded/framework/modules/post/windows/gather/hashdump.rb:222:in `each_key'
[-]   /opt/metasploit-framework/embedded/framework/modules/post/windows/gather/hashdump.rb:222:in `decrypt_user_keys'
[-]   /opt/metasploit-framework/embedded/framework/modules/post/windows/gather/hashdump.rb:55:in `run'
github-actions[bot] commented 1 month ago

It looks like there's not enough information to replicate this issue. Please provide any relevant output and logs which may be useful in diagnosing the issue.

This includes:

The easier it is for us to replicate and debug an issue means there's a higher chance of this issue being resolved.

github-actions[bot] commented 3 weeks ago

Hi!

This issue has been left open with no activity for a while now.

We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 30 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open!

As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request.