ropmev2 pwn challenge

Finally got it, thanks @yb4Iym8f88 , but i don’t understand why I can’t get the list of files in the directory, i tried it in local and it worked, but not in the remote server.