Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef MAIN_H
- #define MAIN_H
- #define BAD_ENV "_=/usr/bin/gdb"
- #define FAKE_PATH "/bin/bash"
- #define CMD_BUF 128
- #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
- #include <stdio.h>
- #include <stdlib.h>
- #include <stdbool.h>
- #include <dirent.h>
- #include <string.h>
- #include <ctype.h>
- #include <unistd.h>
- #include <stdint.h>
- #include <sys/time.h>
- #include <sys/resource.h>
- #include <linux/limits.h>
- #include <sys/prctl.h>
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <fcntl.h>
- #include <signal.h>
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement