The binary does basically nothing in main. I had a look at __libc_gnu_init
(runs before main) and noticed it read /proc/self/cmdline
and does some XORing against a static value named GNU_HASH
. All I had to do was reverse the XOR and I got the 'desired cmdline':
#### Flag: union{ct0rs_b3war3}
Last updated