You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.
If that returns '64-bit' then line 284 cannot execute.
For reference, the check in line 284 is designed to throw an error if you're trying to inject a non 32-bit dll into a process on a 32-bit operating system. Your suggested change is illogical.
https://github.com/PowerShellMafia/PowerSploit/blob/master/CodeExecution/Invoke-DllInjection.ps1
$Proc = Get-Process notepad
Invoke-DllInjection -ProcessId $Proc.Id -Dll DemoDLL.dll
When I use the above command to inject DemoDLL.dll into the running process notepad.exe on Windows8 x64
it occurs
PE file was not compiled for x86.
I think Line284 should be
if ($Architecture -eq 'X86')
and it will solve the probmlem:)
The text was updated successfully, but these errors were encountered: