[BUG] WinPEAS Exceptions / Internet Explorer Enumeration
godylockz opened this issue · comments
godylockz commented
Issue description
There are exceptions happening in winpeas c# executable due to calling Directory.EnumerateFiles
or Directory.EnumerateDirectories
without checking if the file/directory exists first. I believe its faster to check if something exists versus making it cause an exception since exception handling can be slow.
In IE History enumeration, the HKCU\\SOFTWARE\\Microsoft\\Internet Explorer\\TypedURLsTime
registry key seems like its outdated and was filtering the history down to 0.
A pull request will follow for this issue.