8000 GitHub - micronoyau/pwnkernel: Kernel development & exploitation practice environment.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

micronoyau/pwnkernel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pwn.college helper environment for kernel development and exploitation

pwn.kernel fork

Improvements compared to main project :

  • Building is done in a container : no compilation problems on newer kernels
  • Added small userspace programs to start playing.

NOTE: you don't need to interact with this repo in the course of interacting with pwn.college. The kernel challenges can be solved in the infrastructure; this is just here as a way to reproduce the infrastructure locally.

Setup

Create docker image

First, run scripts/setup.sh : this will build a docker image capable of building older kernels.

Build stuff

Building the kernel, busybox, demo modules, filesystem (initramfs) and userspace programs :

$ make kernel
$ make busybox
$ make modules
$ make fs
$ make userspace

Running the kernel: (this will build everything automatically for you)

$ make run

All modules will be in /, ready to be insmoded, and the host's userspace build directory will be mounted as /home/ctf in the guest.

About

Kernel development & exploitation practice environment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 47.1%
  • Shell 35.9%
  • Makefile 14.0%
  • Dockerfile 3.0%
0