Answers

Question and Answer:

  Home  Hacking

⟩ How do I break out of a restricted shell?

On poorly implemented restricted shells you can break out of the

restricted environment by running a program that features a shell

function. A good example is vi. Run vi and use this command:

:set shell=/bin/sh

then shell using this command:

:shell

 282 views

More Questions for you: