-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
506 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
## 第 8 章 使用 eBPF 技术审计和拦截命令执行操作 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
## 编译 | ||
|
||
``` | ||
make build | ||
``` | ||
|
||
## 运行 | ||
|
||
``` | ||
make run | ||
``` | ||
|
||
|
||
在另一个终端中执行一些命令。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
## 编译 | ||
|
||
``` | ||
make build | ||
``` | ||
|
||
## 运行 | ||
|
||
``` | ||
make run | ||
``` | ||
|
||
|
||
在另一个终端中执行一些命令。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
## 编译 | ||
|
||
``` | ||
make build | ||
``` | ||
|
||
## 运行 | ||
|
||
``` | ||
make run | ||
``` | ||
|
||
|
||
在另一个终端中执行一些命令。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
## 编译 | ||
|
||
``` | ||
make build | ||
``` | ||
|
||
## 运行 | ||
|
||
``` | ||
make run | ||
``` | ||
|
||
|
||
在另一个终端中执行一些命令。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
## 编译 | ||
|
||
``` | ||
make build | ||
``` | ||
|
||
## 运行 | ||
|
||
``` | ||
make run | ||
``` | ||
|
||
|
||
在另一个终端中执行一些命令。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
## 编译 | ||
|
||
``` | ||
make build | ||
``` | ||
|
||
## 运行 | ||
|
||
``` | ||
make run | ||
``` | ||
|
||
|
||
在另一个终端中执行一些命令。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
## 编译 | ||
|
||
``` | ||
make build | ||
``` | ||
|
||
## 运行 | ||
|
||
``` | ||
make run | ||
``` | ||
|
||
|
||
在另一个终端中执行 ``cat README.md`` 。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
## 编译 | ||
|
||
``` | ||
make build | ||
``` | ||
|
||
## 运行 | ||
|
||
``` | ||
make run | ||
``` | ||
|
||
|
||
在另一个终端中执行 ``cat README.md`` 。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
## 编译 | ||
|
||
``` | ||
make build | ||
``` | ||
|
||
## 运行 | ||
|
||
``` | ||
make run | ||
``` | ||
|
||
|
||
在另一个终端中执行 ``cat README.md`` 。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
## 编译 | ||
|
||
``` | ||
make build | ||
``` | ||
|
||
## 运行 | ||
|
||
``` | ||
make run | ||
``` | ||
|
||
|
||
在另一个终端中执行 ``cat README.md`` 。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
## 编译 | ||
|
||
``` | ||
make build | ||
``` | ||
|
||
## 运行 | ||
|
||
``` | ||
make run | ||
``` | ||
|
||
|
||
在另一个终端中执行 ``cat README.md`` 。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
## 编译 | ||
|
||
``` | ||
make build | ||
``` | ||
|
||
## 运行 | ||
|
||
``` | ||
make run | ||
``` | ||
|
||
|
||
在另一个终端中执行 ``cat README.md`` 。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
## 编译 | ||
|
||
``` | ||
make build | ||
``` | ||
|
||
## 运行 | ||
|
||
``` | ||
make run | ||
``` | ||
|
||
|
||
在另一个终端中执行 ``cat README.md`` 。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
## 编译 | ||
|
||
``` | ||
make build | ||
``` | ||
|
||
## 运行 | ||
|
||
``` | ||
make run | ||
``` | ||
|
||
|
||
在另一个终端中执行 ``cat README.md`` 。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
## 编译 | ||
|
||
``` | ||
make build | ||
``` | ||
|
||
## 运行 | ||
|
||
``` | ||
make run | ||
``` | ||
|
||
|
||
在另一个终端的相同目录下中执行 ``./demo.sh`` 。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/env bash | ||
|
||
echo 'hello' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
## 编译 | ||
|
||
``` | ||
make build | ||
``` | ||
|
||
## 运行 | ||
|
||
``` | ||
make run | ||
``` | ||
|
||
|
||
在另一个终端的相同目录下中执行 ``./demo.sh`` 。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/env bash | ||
|
||
echo 'hello' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
## 编译 | ||
|
||
``` | ||
make build | ||
``` | ||
|
||
## 运行 | ||
|
||
``` | ||
make run | ||
``` | ||
|
||
|
||
在另一个终端的相同目录下中执行 ``./demo.sh`` 。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/env bash | ||
|
||
echo 'hello' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
## 编译 | ||
|
||
``` | ||
make build | ||
``` | ||
|
||
## 运行 | ||
|
||
``` | ||
make run | ||
``` | ||
|
||
|
||
在另一个终端的相同目录下中执行 ``./demo.sh`` 。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/env bash | ||
|
||
echo 'hello' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
## 编译 | ||
|
||
``` | ||
make build | ||
``` | ||
|
||
## 运行 | ||
|
||
``` | ||
make run | ||
``` | ||
|
||
|
||
在另一个终端中执行 ``curl baidu.com`` 。 | ||
|