The Restricted Bash Shell By Daniel Pendolino Counter Hack The Bash shell is a nearly ubiquitous way to interact with a Linux console. A little know feature is the restricted Bash shell, which you can invoke by calling rbash or bash -restricted. While it isn't something you would normally opt into, it certainly a situation … Continue reading A Spot of Tee
By Jeff McJunkin Imagine a Linux binary compiled from the following source: #include #include int main(){ int duration = 15 * 1000 * 1000; /* microseconds are hard */ printf("Starting, please wait..."); usleep(duration); printf(" Done!\
The program started up or whatever.\
"); return 0; } Now, dear readers, what if we wanted the program to … Continue reading Go To The Head Of The Class: LD_PRELOAD For The Win