Another method for MYSQL Privilege Escalation

Source: Internet
Author: User

Reprinted with the source h4x0er.org

Idea: Download The MYSQL Data of the server and check the ROOT password locally for privilege escalation.

Make sure that the MYSQL installation directory is readable.

Log on to PHPMYADMIN by setting up MYSQL locally

Find the MYSQL installation directory in SHELL

For example, C:/MYSQL5/enter the C:/MYSQL5/DATA file and find the MYSQL folder.

[3] USER tables in the table are downloaded to the local device.

In the local MYSQL directory, find the DATA/MYSQL directory and create a new directory: arbitrary (123)
Put the downloaded USER in the MYSQL directory DATA/123 directory [This is the directory we created]

Log on to PHPMYADMIN, and we can see that one database is 123 more.
When we enter the 123 database, we can find that a USER is the name of the data we downloaded.

Then, enter and find the password of the ROOT account.

In this way, I can easily find the password of the ROOT account.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.