Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

/prog/ Challenge #1872 - Exploit slock

Name: Anonymous 2016-01-28 14:57

slock is a simple X display locker utility.

After invoking slock, the only way to get out of it is to enter your password.

The challenge: find a way to exploit it, so that the you get out of slock without knowing the victim's password.

The source code is less than 400 LOCs.
http://git.suckless.org/slock/tree/slock.c

Good luck.

Name: Anonymous 2016-01-29 6:43

>>10
ifdef add bloat
ifdef are processed at preprocessor stage and if they don't match conditions, they are discarded before the lexer stage: in fact they prevent the #define's from even reaching the lexer. Its zero-overhead for compile-time C code.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List