mirror of
https://github.com/eunomia-bpf/bpf-developer-tutorial.git
synced 2026-05-08 14:52:40 +08:00
add English doc (#55)
* add english documents * docs: add root english README
This commit is contained in:
24
src/25-signal/README_en.md
Normal file
24
src/25-signal/README_en.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# Terminate Malicious Processes Using bpf_send_signal
|
||||
|
||||
Compile:
|
||||
|
||||
```bash
|
||||
make
|
||||
```
|
||||
|
||||
Usage:
|
||||
|
||||
```bash
|
||||
sudo ./bpfdos
|
||||
```
|
||||
|
||||
This program sends a `SIG_KILL` signal to any program that tries to use the `ptrace` system call, such as `strace`.
|
||||
Once bpf-dos starts running, you can test it by running the following command:
|
||||
|
||||
```bash
|
||||
strace /bin/whoami
|
||||
```
|
||||
|
||||
## References
|
||||
|
||||
- <https://github.com/pathtofile/bad-bpf>.
|
||||
Reference in New Issue
Block a user