Created
October 15, 2017 06:24
-
-
Save sroettger/b6d5082acbc864699b8a64b5d9947184 to your computer and use it in GitHub Desktop.
Set Theory from Hack Dat Kiwi 2017 CTF.
This file contains 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
#include <signal.h> | |
#include <unistd.h> | |
typedef void (*sighandler_t)(int); | |
sighandler_t signal(int signum, sighandler_t handler) { | |
void (*fn)() = (void (*)())0x404310; | |
fn(); | |
_exit(0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment