Curling

Finally got root flag, but I cannot figure out how to get a root shell.

EDIT: I must just have the syntax wrong. I can get what I want from the user shell to spawn a reverse user shell, but I cannot get the same result using input. If I am one the right track, please PM me.