diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 2bc5c39..1ff13a9 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -22,8 +22,10 @@ jobs: go-version: '1.20' - name: Install1 - run: cd /tmp;git clone https://github.com/libbpf/libbpf.git;cd libbpf;cd src;pwd;sudo make;sudo make install;sudo apt install -y linux-tools-$(uname -r); + run: apt install -y make clang llvm libelf-dev libbpf-dev bpfcc-tools libbpfcc-dev - name: Install2 + run: apt install -y linux-tools-$(uname -r) linux-headers-$(uname -r) linux-tools-common + - name: Install3 run: bpftool btf dump file /sys/kernel/btf/vmlinux format c > vmlinux.h;go mod download;go generate;go build -v -o bin/eBPFeXPLOIT