mirror of
https://github.com/eunomia-bpf/bpf-developer-tutorial.git
synced 2026-02-03 02:04:30 +08:00
add example of 34
This commit is contained in:
20
src/34-syscall/README.md
Normal file
20
src/34-syscall/README.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# ebpf modify syscall parameters
|
||||
|
||||
## modify open filename
|
||||
|
||||
```bash
|
||||
make
|
||||
./victim
|
||||
```
|
||||
|
||||
```bash
|
||||
sudo ./ecli run package.json -- --rewrite --target_pid=$(pidof victim)
|
||||
```
|
||||
|
||||
## modify exec commands
|
||||
|
||||
TODO
|
||||
|
||||
## reference
|
||||
|
||||
- <https://github.com/pathtofile/bad-bpf/blob/main/src/exechijack.bpf.c>
|
||||
Reference in New Issue
Block a user