Metasploit mailing list archives

getting mime types


From: Robin Wood <robin () digininja org>
Date: Fri, 1 Feb 2013 15:06:05 +0000

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

Current thread: