Skip to content

Commit

Permalink
Update the spelling of the docker command about #43
Browse files Browse the repository at this point in the history
  • Loading branch information
liyansong2018 committed Jul 22, 2022
1 parent bba531f commit fa97115
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,14 @@ cd firmware-analysis-plus

```shell
# 拉取镜像
sudo docker push liyansong2022/fap-docker:2.3.1
sudo docker pull liyansong2022/fap-docker:2.3.1

# 创建容器
sudo docker run -it --privileged -p 8080:80 --name fap liyansong2022/fap-docker:2.3.1 /bin/bash

# 进入容器
sudo docker exec -t fap /bin/sh

# 使用Fap
root@a8e4d33280d9:/# cd root/firmware-analysis-plus/
root@a8e4d33280d9:~/firmware-analysis-plus# ./fap.py testcases/iot_dir880l_110b01.bin
Expand All @@ -104,7 +106,7 @@ root@a8e4d33280d9:~/firmware-analysis-plus# ./fap.py testcases/iot_dir880l_110b0
root@a8e4d33280d9:/# vi /etc/rinetd.conf
0.0.0.0 80 192.168.0.1 80

root@a8e4d33280d9:/# pkill rinetd # 关闭进程
root@a8e4d33280d9:/# pkill rinetd # 关闭进程
root@a8e4d33280d9:/# rinetd -c /etc/rinetd.conf # 启动转发
```

Expand Down

0 comments on commit fa97115

Please sign in to comment.