cashA completely dumb restricted interactive shell for your Mac | |
Download |
cash Ranking & Summary
Advertisement
- License:
- Freeware
- Price:
- FREE
- Publisher Name:
- Benoit Rouits
- Publisher web site:
- http://brouits.free.fr/
- Operating Systems:
- Mac OS X
- File Size:
- 3 KB
cash Tags
cash Description
A completely dumb restricted interactive shell for your Mac cash is probably the smallest restricted shell ever written in C. cash features 160 lines of C with comments. Currently cash just works. cash has originaly been made for a C practical exercise to student to learn how to manage memory allocation, string reading and parsing and also fork and exec Unix system calls. You can learn C by reading the source code of cash and imagine improvements from your own. NOTE: cash is provided and licensed under the terms of the WTF Public License v2.0. Here are some key features of "cash": · unallow commands using '/' · unallow use of 'env' · unallow launching one of /etc/shells · allow "cd" · allow only commands located in /bin and /usr/bin · compiles on dietlibc and glibc
cash Related Software