title: Redis-cli Code execution using EVAL
body: <p>I am facing issue in executing the code in redis-cli using lua.</p>
  <p>Below are the things that I have done so far:-</p>
  <blockquote>
  <p>root@ubuntu:~# redis-cli -h 127.0.0.1  -p 6379 eval &quot;return 'hello'&quot; 0</p>
  <p>&quot;hello&quot;</p>
  </blockquote>
  <p>If I am doing like this to read a system file:-</p>
  <blockquote>
  <p>root@ubuntu:~# redis-cli -h 127.0.0.1  -p 6379 eval &quot;dofile('/etc/passwd')&quot; 0</p>
  </blockquote>
  <p>I am getting error like</p>
  <blockquote>
  <p>(error) ERR Error running script (call to f_afdc51b5f9e34eced5fae459fc1d856af181aaf1): @user_script:1: /etc/passwd:1: function arguments expected near ':</p>
  </blockquote>
  <p>Is it possible to read complete file ?</p>
  <p>Also, I am thinking to get reverse shell. How that can be possible using lua and eval ?</p>