lukebaggett / dnscat2-powershell

A Powershell client for dnscat2, an encrypted DNS command and control tool.
https://github.com/iagox86/dnscat2
393 stars 118 forks source link

Session killed on idle #10

Open vladimirpe00 opened 6 years ago

vladimirpe00 commented 6 years ago

session got terminated after a part of time and when the computer is in idle mode the session got disconnected and error code shown=

CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Update-Dnscat2Session on line 2105 and char 41

$Sessions[$SessionId] = Update-Dnscat2Session $Sessions[$SessionId]