mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2025-12-31 21:06:25 +00:00
alter check.sh to take filename as arg
This commit is contained in:
@ -1,2 +1,2 @@
|
||||
#!/bin/bash
|
||||
sudo bpftool prog -d load ./execve.o /sys/fs/bpf/tmp && sudo rm -f /sys/fs/bpf/tmp
|
||||
sudo bpftool prog -d load $1 /sys/fs/bpf/tmp && sudo rm -f /sys/fs/bpf/tmp
|
||||
|
||||
Reference in New Issue
Block a user