First, try to determine the shell
echo $PATH echo $SHELL
Try to set the PATH variable
export PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin
Upload the escape_from_restricted_shell.c program (scripts directory).
Have a look into a local bin directory and see if you can use any binary there to escape.
Leave a Reply
You must be logged in to post a comment.