Check whether the Database Password has SA or root permissions.

Source: Internet
Author: User

Author: enterer

Blog:Www.enterer.cn

Reprinted with reserved characters

Well, the blog will be updated from time to time.

In general, we will go to the Database Password to escalate the permission. Sometimes the sa password of mssql and the root password of mysql cannot be found. I mentioned that the password may have been changed by the Administrator.

Here we provide you with a simple method to determine whether the database account you have found is the sa or root account that has changed the password.

There is an SQL statement execution function in php. We can use the database password we found to connect to the default mysql database. If the connection can be established, it is basically the root account with the user name changed.

Similarly, we use the account of the mssql database to connect to the master. If the default database of mssql can be connected, we can basically tell that the account of SA has changed the password. Here, the SA and pwd contents are changed to the found account, and then click execute.

In addition, sometimes we find the root password, but failed to escalate permissions using udf and mysql backdoor due to soft removal. You can use the root password to connect to the SA account. Sometimes the Administrator is very lazy.

Related Article

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.