root@kali:~/ohm/code_exec# gcc -fno-stack-protector -z execstack -o pwd_shell pwd_shell.c 
root@kali:~/ohm/code_exec# ./pwd_shell 
Length: 29
/root/ohm/code_exec

