[ ROP ] dup2's but no stdout ?

What file descriptor are you using, and I’ve had the same problem before. btw you dont need execve, you can use system() call as well =)