I successfully exploited the program and popped a shell but I still have the same permissions, any advice?
you need to capture the shell with somthing like "cat <(your exploit) - | ./ch13