Post

(Kernel Security) level 2

(Kernel Security) level 2

Information

  • category: pwn

Description

Ease into kernel exploitation with another crackme level.

Explit

Another copy-paste scheme level U_u.

1
2
3
4
5
6
7
8
9
10
11
#include <fcntl.h>
#include <stdio.h>
#include <unistd.h>
int main() {
  int fd = open("/proc/pwncollege", O_RDWR);
  printf("Driver opened.\n");
  char pass[16] = "zcexibhdcclcottw";
  write(fd, pass, 16);
  printf("Password sent.\n");
  return 0;
}
This post is licensed under CC BY 4.0 by the author.