Metasploit mailing list archives

Re: getting mime types


From: Stephen Haywood <stephen () averagesecurityguy info>
Date: Fri, 1 Feb 2013 10:45:54 -0500

Also, It may be too intro level for you, but I have a How To on developing
metasploit post modules, http://averagesecurityguy.info/post-exploitation/

On Fri, Feb 1, 2013 at 10:06 AM, Robin Wood <robin () digininja org> wrote:

I've written a scrip to pull arbitrary files from a server, when I use the
store_loot function it wants a mime type. As the file can be anything, how
do I get the mime type?

I can't see anyone else doing it in any of the other auxiliary modules,
most are hard coded or do simple checks on the file extension.

Robin

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




-- 
Stephen Haywood
Information Security Consultant
CISSP, GSEC, OSCP
T: @averagesecguy
W: averagesecurityguy.info
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework

Current thread: