Skip to content

Commit 84f3023

Browse files
committed
add device rule doc
1 parent dc5e105 commit 84f3023

File tree

4 files changed

+83
-1
lines changed

4 files changed

+83
-1
lines changed

README-CN.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ fapro run -v -l :8080
335335
## 学习更多
336336
- [如何打造一个网络扫描分析平台 - Part I](./howto/howto_CN_1.md)
337337
- [如何打造一个网络扫描分析平台 - Part II](./howto/howto_CN_2.md)
338+
- [如何使用FaPro批量模拟设备](./howto/rule.md)
338339
- [Discord](https://discord.gg/Eaz9dzV4AP)
339340

340341
## 常见问题

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@ Use the **ipclone.py** script in [Scripts](scripts/README.md), You can clone the
339339
## Learn more
340340
- [How to build a network scanning analysis platform - Part I](./howto/howto_1.md)
341341
- [How to build a network scanning analysis platform - Part II](./howto/howto_2.md)
342+
- [How to use FaPro to simulate multiple devices in network](./howto/rule_en.md)
342343
- [Discord](https://discord.gg/Eaz9dzV4AP)
343344

344345
## FAQ

howto/rule.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ sudo ./fapro run -f camera.pak -v
7676
```
7777
会创建一个8.0.0.0/8的虚拟网络,并随机生成设备ip。
7878

79-
![rules demo](../docs/rule.gif)
79+
![camera rules demo](../docs/camera.gif)
8080

8181
使用web界面可以查看ip端口对应的设备规则。
8282

howto/rule_en.md

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
<h1 align="center">
2+
How to use FaPro to simulate multiple devices in network
3+
</h1>
4+
<br/>
5+
6+
## Introduction
7+
8+
Network and service simulation can already be done using FaPro. However, in a real environment, there are often multiple different devices in a network, and each device runs different services. To simulate a real network environment, it is necessary to simulate these devices.
9+
10+
To simulate a device in a network, we need to simulate all open services on that device. We defined device rules, a rule is a set of service information on all open ports of a device.
11+
12+
With FaPro, you can create a virtual network and simulate several different devices in it with a single command.
13+
14+
We've created a set of device rules for surveillance video equipment from over 30 manufacturers:
15+
```
16+
ABUS IP Camera
17+
ADT NVR
18+
ADT DVR
19+
AJA-Video-Converter
20+
Advidia IP Camera
21+
AirSpace DVR2
22+
AirSpace DVR
23+
Alibi IP Camera
24+
CP Plus DVR2
25+
CP Plus DVR
26+
Canon VB-H610
27+
Clare Control IP Camera
28+
Dahua IP Camera2
29+
Dahua DHI-XVR4104C-N
30+
Dahua IP Camera
31+
Eyesonic IP Camera
32+
GRUNDIG IP Camera
33+
GeoVision-Camera
34+
HIKVISION-Camera2
35+
HIKVISION-Camera
36+
HUAWEI IVS
37+
IC Realtime NVR6000K
38+
IC Realtime NVR7000K
39+
Illustra-camera2
40+
Illustra-camera
41+
InVid Tech IP Camera2
42+
InVid Tech IP Camera
43+
JXJ-Camera2
44+
JXJ-Camera
45+
KB Vision DVR
46+
KT&C IP Camera
47+
KT&C IP Camera2
48+
LG-Smart-IP-Device
49+
Lorex DVR2
50+
Lorex DVR
51+
Lorex DVR3
52+
Luma IP Camera
53+
Luma 310 IP Camera
54+
PARTIZAN-Cameras
55+
Q-See NVR2
56+
Q-See NVR
57+
TRENDnet NVR408
58+
TRENDnet TV-IP862IC
59+
TRENDnet NVR2208
60+
The Surveillance Shop IP Camera
61+
The Surveillance Shop IP Camera2
62+
TruVision TVR Camera
63+
TruVision NVR Camera
64+
WebWarrior IP Camera
65+
WebWarrior IP Camera2
66+
WebWarrior IP Camera3
67+
```
68+
69+
## Usage
70+
Download [Camera Device Rules Pack](https://github.com/fofapro/fapro/raw/master/rules/camera.pak)
71+
72+
Then run fapro with root user to create the simulated device from the rules pack:
73+
```shell
74+
sudo ./fapro run -f camera.pak -v
75+
```
76+
A virtual network of 8.0.0.0/8 will be generated, and the device IP will be randomly generated.
77+
78+
![camera rules demo](../docs/camera.gif)
79+
80+
Use the web interface to view the device rule(App) corresponding to the ip port.

0 commit comments

Comments
 (0)