Bug fixes to Invoke-ReflectivePEInjection
Bug fixes to Invoke-ReflectivePEInjection

Fixed a bug where calling GetProcAddress by ordinal instead of procedure
name failed.
Fixed a bug where reflectively loading an EXE will cause the entry
function (main()) to be called twice instead of once as expected.
Added a ForceASLR flag to force ASLR to be used even if the PE file
doesn't officially support ASLR.
Some minor other changes.

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