diff --git a/README-CN.md b/README-CN.md index e728c14..fe55dcc 100644 --- a/README-CN.md +++ b/README-CN.md @@ -335,6 +335,7 @@ fapro run -v -l :8080 ## 学习更多 - [如何打造一个网络扫描分析平台 - Part I](./howto/howto_CN_1.md) - [如何打造一个网络扫描分析平台 - Part II](./howto/howto_CN_2.md) +- [如何使用FaPro批量模拟设备](./howto/rule.md) - [Discord](https://discord.gg/Eaz9dzV4AP) ## 常见问题 diff --git a/README.md b/README.md index e8ad5e2..c45bd53 100644 --- a/README.md +++ b/README.md @@ -339,6 +339,7 @@ Use the **ipclone.py** script in [Scripts](scripts/README.md), You can clone the ## Learn more - [How to build a network scanning analysis platform - Part I](./howto/howto_1.md) - [How to build a network scanning analysis platform - Part II](./howto/howto_2.md) +- [How to use FaPro to simulate multiple devices in network](./howto/rule_en.md) - [Discord](https://discord.gg/Eaz9dzV4AP) ## FAQ diff --git a/howto/rule.md b/howto/rule.md index b2d172a..0e587ff 100644 --- a/howto/rule.md +++ b/howto/rule.md @@ -76,7 +76,7 @@ sudo ./fapro run -f camera.pak -v ``` 会创建一个8.0.0.0/8的虚拟网络,并随机生成设备ip。 -![rules demo](../docs/rule.gif) +![camera rules demo](../docs/camera.gif) 使用web界面可以查看ip端口对应的设备规则。 diff --git a/howto/rule_en.md b/howto/rule_en.md new file mode 100644 index 0000000..2b22226 --- /dev/null +++ b/howto/rule_en.md @@ -0,0 +1,80 @@ +

+How to use FaPro to simulate multiple devices in network +

+
+ +## Introduction + + 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. + + 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. + + With FaPro, you can create a virtual network and simulate several different devices in it with a single command. + + We've created a set of device rules for surveillance video equipment from over 30 manufacturers: +``` +ABUS IP Camera +ADT NVR +ADT DVR +AJA-Video-Converter +Advidia IP Camera +AirSpace DVR2 +AirSpace DVR +Alibi IP Camera +CP Plus DVR2 +CP Plus DVR +Canon VB-H610 +Clare Control IP Camera +Dahua IP Camera2 +Dahua DHI-XVR4104C-N +Dahua IP Camera +Eyesonic IP Camera +GRUNDIG IP Camera +GeoVision-Camera +HIKVISION-Camera2 +HIKVISION-Camera +HUAWEI IVS +IC Realtime NVR6000K +IC Realtime NVR7000K +Illustra-camera2 +Illustra-camera +InVid Tech IP Camera2 +InVid Tech IP Camera +JXJ-Camera2 +JXJ-Camera +KB Vision DVR +KT&C IP Camera +KT&C IP Camera2 +LG-Smart-IP-Device +Lorex DVR2 +Lorex DVR +Lorex DVR3 +Luma IP Camera +Luma 310 IP Camera +PARTIZAN-Cameras +Q-See NVR2 +Q-See NVR +TRENDnet NVR408 +TRENDnet TV-IP862IC +TRENDnet NVR2208 +The Surveillance Shop IP Camera +The Surveillance Shop IP Camera2 +TruVision TVR Camera +TruVision NVR Camera +WebWarrior IP Camera +WebWarrior IP Camera2 +WebWarrior IP Camera3 +``` + +## Usage +Download [Camera Device Rules Pack](https://github.com/fofapro/fapro/raw/master/rules/camera.pak) + +Then run fapro with root user to create the simulated device from the rules pack: +```shell +sudo ./fapro run -f camera.pak -v +``` +A virtual network of 8.0.0.0/8 will be generated, and the device IP will be randomly generated. + +![camera rules demo](../docs/camera.gif) + +Use the web interface to view the device rule(App) corresponding to the ip port.