Metasploit mailing list archives

Re: upload and execute script error in meterpreter


From: Miguel Rios <miguelrios35 () yahoo com>
Date: Mon, 11 Oct 2010 03:41:49 -0700 (PDT)

I sent you my todo.lst in case you wanted to take a look but I'm happy to report that the uploadexec script now runs 
without a hitch.

cheers

--- On Fri, 10/8/10, Joshua J. Drake <jdrake () metasploit com> wrote:

From: Joshua J. Drake <jdrake () metasploit com>
Subject: Re: [framework] upload and execute script error in meterpreter
To: "Miguel Rios" <miguelrios35 () yahoo com>
Cc: "Rob Fuller" <mubix () room362 com>, framework () spool metasploit com
Date: Friday, October 8, 2010, 10:01 PM

On Fri, Oct 08, 2010 at 12:11:33PM -0700, Miguel Rios wrote:
Thanks. Weird because I've used it before and don't recall this
problem.

Anyway, I have the initialautorunscript set to migrate -f, then I
have autorunscript set to multiscript.rb -rc
/opt/metasploit3/msf3/todo.lst. On my todo.lst I have "uploadexec -e
/opt/metasploit3/msf3/bc.exe" on the first line and
"getcountermeasure" on the second line (without the quotes). I thought
this was the correct way to run the scripts, and if I add other
scripts (like enum firefox) on the 3rd line, etc they seem to run OK.

It may have been caused by using DOS style line endings in your file.

I think I've already fixed the problem... Please update and let us
know if the error goes away.

If not, could you please send (directly if you prefer) the unmodified
todo.lst file?  Keeping it binary-safe is important, so please zip it
up or something..

-- 
Joshua J. Drake



      
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework

Current thread: