mimikatz icon indicating copy to clipboard operation
mimikatz copied to clipboard

Prevent infinite loop in main

Open clubby789 opened this issue 3 years ago • 1 comments

In contexts with no usable stdin (for instance, PSRemoting), the prompt would loop forever. This patch checks the return value of fgetws and breaks if it indicates an error in reading.

clubby789 avatar Jun 28 '21 01:06 clubby789

images

T35R6braPwgDJKq avatar Dec 09 '21 13:12 T35R6braPwgDJKq