Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
s2fuzzer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
文周繁
s2fuzzer
Commits
d91e758d
Commit
d91e758d
authored
Jun 27, 2025
by
文周繁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:更新s2fuzzer说明
parent
f367d764
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
s2fuzzer说明.md
s2fuzzer说明.md
+11
-3
No files found.
s2fuzzer说明.md
View file @
d91e758d
# S2f
uzzer说明
# S2f
uzzer说明
...
...
@@ -70,6 +70,8 @@
### 1.S2fuzzer工具编译
按如下命令编译
`s2fuzzer`
工具:
```
sh
# Install clang (as required by AFL/AFLNet to enable llvm_mode)
sudo
apt-get install clang llvm
...
...
@@ -90,8 +92,8 @@ make
编译完成后,工具目录生成如下程序:
| 名称 | |
| :--------------: | :-------------------: |
| 名称 |
说明
|
| :--------------: | :-------------------
-------
: |
| afl-analyze | 输入数据模式分析器 |
| afl-as | 汇编器包装器 |
| afl-gcc |
`gcc`
编译器封装器 |
...
...
@@ -107,6 +109,8 @@ make
| aflnet-replay | 有状态网络协议重放器 |
| afl-llvm-pass.so | LLVM插桩插件 |
| sock2shm.so | 共享内存加速库 |
| e9tool |
`E9Patch`
的线性反汇编工具 |
| testghidra | java实现的
`Ghidra`
脚本工具集 |
...
...
@@ -135,6 +139,8 @@ make
一般情况下,可以通过以下命令启动对一个server的协议模糊测试:
```
sh
s2fuzzer
-d
-i
in
-o
out
-N
<server info>
-x
<dictionary file>
-P
<protocol>
-D
10000
-q
3
-s
3
-E
-K
-R
<executable binary and its arguments
(
e.g., port number
)>
```
...
...
@@ -365,6 +371,8 @@ memory_used = 11604KB
#### 4.1 使用共享内存
在运行模糊测试前,通过以下命令设置
`AFL_PRELOAD`
环境变量:
```
sh
export
AFL_PRELOAD
=
/path/to/s2fuzzer/sock2shm.so
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment