output: Which /proc file do you want to see? input: /tmp/.example # do not allow stuff like "../etc/passwd" deny: /tmp/.example .. run: cat /proc/`(cat /tmp/.example | cut -f 1 -d " ")` > /tmp/.example cat: /tmp/.example