In this post, we solve one of the “Root me” challenges called “Bash — System 1”. We have a binary file with SUID bit and the C code to understand the binary.

The code:
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
i…In this post, we solve one of the “Root me” challenges called “Bash — System 1”. We have a binary file with SUID bit and the C code to understand the binary.

The code:
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
i…