一、安装PoshC2
curl -sSL https://raw.githubusercontent.com/nettitude/PoshC2/master/Install-for-Docker.sh | sudo bash

二、创建工程
posh-project -n test

三、修改配置文件
posh-config
将图中的baidu.com改为自己要攻击的域名或者IP地址


四、执行
posh-server显示没有docker,装一个。

再一次执行以下代码之前,用wireshark抓包,抓一段时间即可。
posh-server





![蓝桥杯刷题 深度优先搜索-[NewOJ P1158]N皇后(C++)](https://img-blog.csdnimg.cn/img_convert/f23b0934bc3f31c4a5b3a5966f41919d.png)













