Skip to content

Commit edf2764

Browse files
authored
Merge pull request #2 from Pwnzer0tt1/unprivileged
Unprivileged POC
2 parents 09e5886 + 2106c57 commit edf2764

File tree

267 files changed

+433
-44
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

267 files changed

+433
-44
lines changed

.github/workflows/docker-image.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Create and publish a Docker image
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
8+
env:
9+
REGISTRY: ghcr.io
10+
IMAGE_NAME: ${{ github.repository }}
11+
12+
jobs:
13+
build-and-push-image:
14+
runs-on: ubuntu-latest
15+
permissions:
16+
contents: read
17+
packages: write
18+
19+
steps:
20+
- name: Checkout repository
21+
uses: actions/checkout@v3
22+
23+
- name: Set up QEMU
24+
uses: docker/setup-qemu-action@master
25+
with:
26+
platforms: all
27+
28+
- name: Set up Docker Buildx
29+
id: buildx
30+
uses: docker/setup-buildx-action@master
31+
32+
- name: Log in to the Container registry
33+
uses: docker/login-action@v2
34+
with:
35+
registry: ${{ env.REGISTRY }}
36+
username: ${{ github.actor }}
37+
password: ${{ secrets.GITHUB_TOKEN }}
38+
39+
- name: Extract metadata (tags, labels) for Docker
40+
id: meta
41+
uses: docker/metadata-action@v4
42+
with:
43+
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
44+
45+
- name: Build and push Docker image
46+
uses: docker/build-push-action@v3
47+
with:
48+
context: .
49+
builder: ${{ steps.buildx.outputs.name }}
50+
platforms: linux/amd64,linux/arm64
51+
push: true
52+
tags: ${{ steps.meta.outputs.tags }}
53+
labels: ${{ steps.meta.outputs.labels }}

Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM debian
2+
3+
RUN apt-get update
4+
RUN apt-get install -y libnetfilter-queue-dev libmnl-dev libnfnetlink-dev iptables gcc
5+
WORKDIR /exploit
6+
COPY panic6_podman.c panic6.c
7+
8+
RUN cc panic6.c -o nfpanic -lmnl -lnetfilter_queue
9+
CMD ["./nfpanic"]

README.md

Lines changed: 16 additions & 0 deletions

amd64/ip

776 KB
Binary file not shown.

amd64/iptables

223 KB
Binary file not shown.

amd64/ld-linux.so.1

211 KB
Binary file not shown.

amd64/libbpf.so.1

366 KB
Binary file not shown.

amd64/libc.so.6

2.26 MB
Binary file not shown.

amd64/libcap.so.2

42 KB
Binary file not shown.

amd64/libelf.so.1

110 KB
Binary file not shown.

0 commit comments

Comments
 (0)