https://github.com/iagox86/dnscat2
配置环境
Kali Server端
$ git clone https://github.com/iagox86/dnscat2.git
$ cd dnscat2/server/
$ gem install bundler
$ apt-get install ruby-dev
$ bundle install
Client端
$ git clone https://github.com/iagox86/dnscat2
$ cd dnscat2/client/
$ make
攻击复现
这里其实有两种模式 一种是指定域名 另一种是直连
直连
Server
ruby ./dnscat2.rb
![](https://www.icode9.com/i/l/?n=20&i=blog/1272123/202201/1272123-20220106205126735-1069612988.png)
Client