Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speedup reading file, added authenticode arg #15

Merged
merged 1 commit into from
Feb 7, 2020

Conversation

aaronhudon
Copy link
Contributor

[IO.File]::ReadAllBytes will place entire file in memory. On large files, this is a performance issue.
Get-AuthenticodeStatus is extremely slow on large files. Added -SkipAuthenticode argument to skip checking authenticode.

[IO.File]::ReadAllBytes will place entire file in memory.  On large files, this is a performance issue.
Get-AuthenticodeStatus is extremely slow on large files.  Added -SkipAuthenticode argument to skip checking authenticode.
@aaronhudon aaronhudon changed the title Speedup reading file, added arg authenticode arg Speedup reading file, added authenticode arg Aug 10, 2018
@ESIC-DA
Copy link

ESIC-DA commented Jan 30, 2020

I think it would be great if this got merged in...I just spent ...too long... trying to remember where I had seen something about skipping authenticode checks before

(our usecase: because we want to combine everything else provided by Get-PESecurity with a direct call to Get-AuthentiCode signature to have access to more info than gets passed through Get-PESecurity)

@egru egru merged commit 9b98449 into NetSPI:master Feb 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants