How To Break Out of Restricted Shells and Menus, v2.3 – An excellent whitepaper detailing methods for breaking out of virtually any kind of restricted shell or menu you might come across.
You can download it from the following link: https://packetstormsecurity.com/files/download/14914/menu2eng.txt
Source: https://packetstormsecurity.com/files/14914/menu2eng.txt.html