nopowershell icon indicating copy to clipboard operation
nopowershell copied to clipboard

NoPowerShell for rundll32 crashes when input is too long

Open bitsadmin opened this issue 6 years ago • 0 comments

Input: gwmi "Select ProcessId,Name,CommandLine From Win32_Process" | ? Name -Like *PowerShell* | select ProcessId,CommandLine

Crashes at: Bottom of ReadLine function in ProgramDll.cs: Console.CursorLeft = cursorCurrent + 1;

Error: System.ArgumentOutOfRangeException: 'The value must be greater than or equal to zero and less than the console's buffer size in that dimension. Parameter name: left Actual value was 80.'

bitsadmin avatar Apr 28 '19 17:04 bitsadmin