Find-AVSignature Performance Improvements
Find-AVSignature Performance Improvements

Updated code to use [System.IO.FileStream] class with a buffer (64kb
default) to greatly increase performance, especially when handling large
files.

Updated $EndBytes validation logic to change it to a valid value rather
than throw an error.

zigitax/PowerSploit,forbidden-ali/PowerSploit,PYANTSU/test,reuf/PowerSploit,NoobCam/PowerSploit,hoangcuongflp/PowerSploit,efateva/PowerSploit,beni55/PowerSploit,api0cradle/PowerSploit,indigosax/PowerSploit,jakxx/PowerSploit,ttyard/PowerSploit,ttyard/PowerSploit,jtaylo78/PowerSploit,zigitax/PowerSploit,jr69ss/PowerSploit,api0cradle/PowerSploit,azizjonm/PowerSploit,beni55/PowerSploit,amrme/PowerSploit,azizjonm/PowerSploit,sammbertram/PowerSploit,efateva/PowerSploit,masterdon/PowerSploit,leverz/PowerSploit,forbidden-ali/PowerSploit,mattifestation/PowerSploit,indigosax/PowerSploit,coca1ne/PowerSploit,xujun10110/PowerSploit,PYANTSU/test,z8oon/Powershell,adeptex/PowerSploit,coca1ne/PowerSploit,masterdon/PowerSploit,jr69ss/PowerSploit,j4s0nh4ck/PowerSploit,reuf/PowerSploit,brianaddicks/PowerSploit,chouchouzzj/Powershell,lamkeysing92/PowerSploit,gabemarshall/PowerSploit,sammbertram/PowerSploit,jtaylo78/PowerSploit,j4s0nh4ck/PowerSploit,jakxx/PowerSploit,xujun10110/PowerSploit,NoobCam/PowerSploit,daviwesley/PowerSploit,secabstraction/PowerSploit,leverz/PowerSploit,gabemarshall/PowerSploit,hoangcuongflp/PowerSploit,amrme/PowerSploit,secabstraction/PowerSploit,kk9599/PowerSploit,adeptex/PowerSploit,lamkeysing92/PowerSploit,bmroberts1987/PowerSploit,demondayza/PowerSploit,HarmJ0y/PowerSploit,z8oon/Powershell,HarmJ0y/PowerSploit,bmroberts1987/PowerSploit,brianaddicks/PowerSploit,kk9599/PowerSploit,demondayza/PowerSploit,chouchouzzj/Powershell,mattifestation/PowerSploit,jorik041/PowerSploit,daviwesley/PowerSploit,jorik041/PowerSploit