[prev in list] [next in list] [prev in thread] [next in thread] 

List:       metasploit-framework
Subject:    Re: [framework] getting mime types
From:       Stephen Haywood <stephen () averagesecurityguy ! info>
Date:       2013-02-01 15:45:54
Message-ID: CAOG_E9VMXJhPaNudjuG+kCCiZM7uod3r=iOVnW1q1WFFKrGzwg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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

[Attachment #5 (text/html)]

Also, It may be too intro level for you, but I have a How To on developing metasploit \
post modules, <a href="http://averagesecurityguy.info/post-exploitation/">http://averagesecurityguy.info/post-exploitation/</a><br><br><div \
class="gmail_quote"> On Fri, Feb 1, 2013 at 10:06 AM, Robin Wood <span \
dir="ltr">&lt;<a href="mailto:robin@digininja.org" \
target="_blank">robin@digininja.org</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> <div dir="ltr"><div><div>I&#39;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?<br><br></div>I \
can&#39;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.<span class="HOEnZb"><font \
color="#888888"><br>


<br></font></span></div><span class="HOEnZb"><font \
color="#888888">Robin<br></font></span></div> \
<br>_______________________________________________<br> <a \
href="https://mail.metasploit.com/mailman/listinfo/framework" \
target="_blank">https://mail.metasploit.com/mailman/listinfo/framework</a><br> \
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Stephen \
Haywood<br>Information Security Consultant<br>CISSP, GSEC, OSCP<br>T: \
@averagesecguy<br>W: <a href="http://averagesecurityguy.info" \
target="_blank">averagesecurityguy.info</a><br>



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic