aboutsummaryrefslogtreecommitdiff
path: root/CodeExecution/Invoke-ShellcodeMSIL.ps1
diff options
context:
space:
mode:
authorMatt Graeber <mattgraeber@gmail.com>2013-04-05 11:04:48 -0400
committerMatt Graeber <mattgraeber@gmail.com>2013-04-05 11:04:48 -0400
commit1e79c0f7938159e428e073eddb5e0a7a38701580 (patch)
tree20d2abf7a9cbb47cbfbac6e016b6f917d77ed5a2 /CodeExecution/Invoke-ShellcodeMSIL.ps1
parent577be2fea5944ba66417ca03b5a5db48a36024d2 (diff)
downloadPowerSploit-1e79c0f7938159e428e073eddb5e0a7a38701580.tar.gz
PowerSploit-1e79c0f7938159e428e073eddb5e0a7a38701580.zip
Fixed x86 bug in Get-MethodAddress
Get-MethodAddress was not working correctly in 32-bit PowerShell because it was returning a [UInt64] value when it should have been a [UInt32]. This fix will detect if PowerShell is running as 32 or 64-bit and define its return type accordingly.
Diffstat (limited to 'CodeExecution/Invoke-ShellcodeMSIL.ps1')
0 files changed, 0 insertions, 0 deletions