Last active
December 18, 2015 23:29
-
-
Save luca-m/5861747 to your computer and use it in GitHub Desktop.
A collection of useful commands.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # convert images | |
| convert *.pgm %d.jpg | |
| # video from image sequence | |
| avidemux2_cli --video-codec DV --fps 1 --load jpg/*.jpg --save out.avi --quit | |
| # No ASLR | |
| sysctl -w kernel.randomize_va_space=0 | |
| paxctl -x <program> | |
| setarch `arch` -R <program> | |
| # Compile library | |
| gcc -shared -fPIC -o libsource.so source.c | |
| # Run with LD_PRELOAD | |
| env LD_PRELOAD="./libmy.so" ./program |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment