NYCY_homework_&_meeting# A NYCU CVE-2021-3560 research. QQ
A CVE-2021-3560 poc, easy to read and learn.
reference from [POC](https://github.com/hakivvi/CVE-2021-3560) by hakivvi.
Thanks to hakivvi. He saved a lot of my time.
# run:
1. compile the exploit:
```
$ gcc -g cve-2021-3560_poc.c -o cve-2021-3560 /usr/lib/x86_64-linux-gnu/libdbus-1.so /usr/lib/x86_64-linux-gnu/libz.so
```
2. Simply Checking whether this machine is vulnerable.(for ubuntu)
```
$ ./cve-2021-3560 check
```
3. run the exploit:
```
$ ./cve-2021-3560
```
[4.0K] /data/pocs/e39f015dc517dcc4d257eee8b46800a24e85ee00
├── [8.9K] cve-2021-3560_poc.c
└── [ 515] README.md
0 directories, 2 files