The database that exists by default:
Mysql
Requires root permission to read
Information_schema
exists in more than 5 versions
Test for the presence of an injection methodFalse: Indicates that the
As far as my current tests are concerned, this vulnerability has two reasons:1. Use the default mysql installation method. The mysql User does not have the permission to access the configuration file/etc/mysql/my. cnf;2. If selinux or apparmor is
This article turns from: Http://bbs.blackbap.org/forum.php?mod=viewthread&tid=6483&highlight=mysql%2B error injectionUsing SQL injection to obtain database data, the method can be broadly divided into joint query, error, Boolean blind and delay
Read the previous gr36_ predecessors in the Prophet on the topic, which refers to the sequencing injection, this has frequently encountered such problems in the recent, so first summarize the order by sequencing injection of knowledge.0x00
Turn to the small partners in the group issued a post-type SQL injection problem, simple grab packet to determine the problem requires Base64 code to execute the SQL statement, for Learning SQL injection question and the idea of the breakthrough +
1. Preface
MySQL is a fully networked cross-platform relational database system and a distributed database management system with a client/server architecture. It has the advantages of strong functions, ease of use, convenient management, fast
SqlliabLess1First look at the source codeWe found that the field of the ID was dropped directly to the query SQL statement function. Enter an address to see the effectHttp://192.168.16.135/sqli-labs-master/Less-1/?id=1We find that when id=1, the
First we find an injected station: Here I use my own environment to express; Let's not mess around.Http://localhost/pentest/sql/sql_injection_get.php?id=1Discovery is root permission, we try to write the horse directlyFirst, find the Web site's home
These points of injection point generation are mostly located at the HTTP header locationCommon HTTP injection points are generated in "Referer", "X-forwarded-for", "Cookie", "X-real-ip", "Accept-language", "Authorization";
Less-18 Header
1. Unable to find the backend address, then simply explodeMysqlAdministrator's passwordHttp://www.***.com.cn/news_detail.php?newsid=-1+union+select+1,2,3,4,5,6,concat (User,password),
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.