Dirtycow also is known as CVE-2016-5195Dirtycow also known as CVE-2016-5195 and it's very populer vulnerability of past time.
First of all choose the fitted Linux version for that vulnerability.
then install or run it on VBOX or VMWare .
after install it follow those instructions.
1. Create a user without having root access.
2. Log into that created user.
3. Create directory.
4. Create root access to ‘.txt’ document and give to it read only permission.
5. Compile and run the ‘.c’ file in where the ‘.txt’ file created.
6. Then run it.,
before it running there are two arguments want to give to it.
./compile_name_of_file_created r-only file write_here_something
[4.0K] /data/pocs/c6a074bfb898bc1f6ec8af4e46dff17fabdd8ac7
├── [2.8K] dirty.c
├── [1.3M] IT19154640 SNP.pdf
├── [ 644] README.md
└── [ 601] readme.txt
0 directories, 4 files