Metasploit mailing list archives
Re: Scraper problem
From: Carlos Perez <carlos_perez () darkoperator com>
Date: Sun, 11 Jul 2010 20:37:13 -0400
OK just tested on Win XP Pro with SP1, SP2 and SP3 with Ruby 1.8.7 and 1.9.1 and I could not replicate the problem , Downloading WinXP Home SP2 right now to test. please clear your cache and svn up to make sure it is not a cached library while I set XP home for test. Cheers, Carlos On Jul 11, 2010, at 8:00 PM, Matt Gardenghi wrote:
Revision is 9782. Targeting XP Home SP2. On 7/11/2010 4:32 PM, Carlos Perez wrote:Can you send what revision you are running and against what OS? Sent from my iPhone On Jul 11, 2010, at 4:25 PM, Matt Gardenghi<mtgarden () gmail com> wrote:I've been testing the AutoRunScript feature. It used to work for me, but seems to be failing now. At least with scraper. I tried this on two different machines. One was BT4, the other a stripped down Ubuntu 10.04 server. And by stripped down, I mean: core system plus Metasploit. I ran the install.bin and then updated. Here is a log of what I've done: [*] Started reverse handler on 192.168.30.132:12345 [*] Starting the payload handler... [*] Sending stage (748032 bytes) to 192.168.30.130 [*] Meterpreter session 1 opened (192.168.30.132:12345 -> 192.168.30.130:1086) at 2010-07-11 16:15:03 -0400 [*] Session ID 1 (192.168.30.132:12345 -> 192.168.30.130:1086) processing AutoRunScript 'scraper' [*] New session on 192.168.30.130:1086... [*] Gathering basic system information... [*] Exception: Rex::Post::Meterpreter::RequestError stdapi_sys_process_execute: Operation failed: 2 ["/opt/metasploit3/msf3/lib/rex/post/meterpreter/extensions/stdapi/sys/process.rb:163:in `execute'", "(eval):43:in `m_exec'", "(eval):126:in `block in run'", "(eval):125:in `open'", "(eval):125:in `run'", "/opt/metasploit3/msf3/lib/rex/script/base.rb:41:in `eval'", "/opt/metasploit3/msf3/lib/rex/script/base.rb:41:in `run'", "/opt/metasploit3/msf3/lib/rex/post/meterpreter/client.rb:183:in `execute_file'", "/opt/metasploit3/msf3/lib/msf/base/sessions/meterpreter.rb:182:in `execute_script'", "/opt/metasploit3/msf3/lib/msf/base/sessions/meterpreter_options.rb:59:in `on_session'", "/opt/metasploit3/msf3/lib/msf/core/handler.rb:217:in `register_session'", "/opt/metasploit3/msf3/lib/msf/core/handler.rb:200:in `create_session'", "/opt/metasploit3/msf3/lib/msf/core/payload/stager.rb:135:in `handle_connection_stage'", "/opt/metasploit3/msf3/lib/msf/core/payload/stager.rb:126:in `hand
le_connection'", "/opt/metasploit3/msf3/lib/msf/core/handler/reverse_tcp.rb:146:in `block (2 levels) in start_handler'"]
meterpreter> run scraper [*] New session on 192.168.30.130:1086... [*] Gathering basic system information... [*] Exception: Rex::Post::Meterpreter::RequestError stdapi_sys_process_execute: Operation failed: 2 ["/opt/metasploit3/msf3/lib/rex/post/meterpreter/extensions/stdapi/sys/process.rb:163:in `execute'", "(eval):43:in `m_exec'", "(eval):126:in `block in run'", "(eval):125:in `open'", "(eval):125:in `run'", "/opt/metasploit3/msf3/lib/rex/script/base.rb:41:in `eval'", "/opt/metasploit3/msf3/lib/rex/script/base.rb:41:in `run'", "/opt/metasploit3/msf3/lib/rex/post/meterpreter/client.rb:183:in `execute_file'", "/opt/metasploit3/msf3/lib/msf/base/sessions/meterpreter.rb:182:in `execute_script'", "/opt/metasploit3/msf3/lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb:348:in `cmd_run'", "/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:246:in `run_command'", "/opt/metasploit3/msf3/lib/rex/post/meterpreter/ui/console.rb:101:in `run_command'", "/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:208:in `block in run_single'", "/opt/metasploit3/msf3/lib/rex
/ui/text/dispatcher_shell.rb:202:in `each'", "/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:202:in `run_single'", "/opt/metasploit3/msf3/lib/rex/post/meterpreter/ui/console.rb:67:in `block in interact'", "/opt/metasploit3/msf3/lib/rex/ui/text/shell.rb:131:in `call'", "/opt/metasploit3/msf3/lib/rex/ui/text/shell.rb:131:in `run'", "/opt/metasploit3/msf3/lib/rex/post/meterpreter/ui/console.rb:65:in `interact'", "/opt/metasploit3/msf3/lib/msf/base/sessions/meterpreter.rb:233:in `_interact'", "/opt/metasploit3/msf3/lib/rex/ui/interactive.rb:48:in `interact'", "/opt/metasploit3/msf3/lib/msf/ui/console/command_dispatcher/core.rb:1217:in `cmd_sessions'", "/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:246:in `run_command'", "/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:208:in `block in run_single'", "/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:202:in `each'", "/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:202:in `run_sing le'", "/opt/metasploit3/msf3/lib/msf/ui/console/command_dispatcher/exploit.rb:176:in `cmd_exploit'", "/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:246:in `run_command'", "/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:208:in `block in run_single'", "/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:202:in `each'", "/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:202:in `run_single'", "/opt/metasploit3/msf3/lib/rex/ui/text/shell.rb:141:in `run'", "/opt/metasploit3/msf3/msfconsole:112:in `<main>'"]
I then ran getsystem and tried it again to see if that would help. And still failing. Run persistence works. Am I missing something? Matt _______________________________________________ https://mail.metasploit.com/mailman/listinfo/framework
_______________________________________________ https://mail.metasploit.com/mailman/listinfo/framework
Current thread:
- Scraper problem Matt Gardenghi (Jul 11)
- Re: Scraper problem Carlos Perez (Jul 11)
- Re: Scraper problem Matt Gardenghi (Jul 11)
- Re: Scraper problem Carlos Perez (Jul 11)
- Re: Scraper problem HD Moore (Jul 11)
- Re: Scraper problem Matt Gardenghi (Jul 12)
- Re: Scraper problem Matt Gardenghi (Jul 12)
- Re: Scraper problem Carlos Perez (Jul 12)
- Re: Scraper problem Carlos Perez (Jul 12)
- Re: Scraper problem Matt Gardenghi (Jul 11)
- Re: Scraper problem Carlos Perez (Jul 11)