
शैक्षिक कर्नेल एक्सप्लॉइट कार्यान्वयन CVE-2020-8835 के लिए, Docker-आधारित परीक्षण वातावरण के साथ जो BPF भेद्यता शोषण और रक्षात्मक शमन तकनीकों को प्रदर्शित करता है।
cd ../app
npm i
node server.js
# Make sure to be in the same directory as the Dockerfile
# Build the Docker image
docker build . -t inf8602/node-web-app
# Your docker image should be listed by Docker
docker images
# Run the image
docker run -p 8080:8080 -d inf8602/node-web-app
# Print the output of the app
docker ps #get the container id
docker logs <container id> # print app output
# Example
# Hello World
sudo sysctl kernel.unprivileged_bpf_disabled=1
cd ../app
npm i
node server.js
Open in Container