rm -rf pic*
Are you sure? Are you one hundred percent sure?
mayberuns processes under the control of ptrace (with the help of the excellent python-ptrace library). When it intercepts a system call that is about to make changes to the file system, it logs that call, and then modifies CPU registers to both redirect the call to an invalid syscall ID (effectively turning it into a no-op) and set the return value of that no-op call to one indicating success of the original call.
maybeshould NEVER be used to run untrusted code on a system you care about! A process running under
maybecan still do serious damage to your system because only a handful of syscalls are blocked. Currently,
maybeis best thought of as an (alpha-quality) “what exactly will this command I typed myself do?” tool.
pip install maybe
either as a superuser or from a virtualenv environment. To develop
maybe , clone the repository and run
pip install -e .
in its main directory to install the package in editable mode.
maybe COMMAND [ARGUMENT]...
No other command line parameters are currently accepted.
maybe mkdir test