I've been trying to get credentials hashes on a windows meterpreter session, but each time i run "run post/windows/gather/hashdump" i get the following error:
Post failed: NoMethodError undefined method
unpack' for nil:NilClass Call stack: /usr/share/metasploit-framework/modules/post/windows/gather/hashdump.rb:42:in
run'
the unpack() method is used through all of the hashdump.rb script but as the meterpeter session tells it's not defined.
I've never used ruby before, so i don't know whether it's a predefined method or should i define it, nor how to do it.
Any help is appreciated. Thanks.