File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
modules/exploits/windows/local Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -92,10 +92,8 @@ def exploit
92
92
93
93
if sysinfo [ 'Architecture' ] =~ /wow64/i
94
94
fail_with ( Failure ::NoTarget , 'Running against WOW64 is not supported' )
95
- elsif sysinfo [ 'Architecture' ] == ARCH_X64 && target . arch . first == ARCH_X86
96
- fail_with ( Failure ::NoTarget , 'Session host is x64, but the target is specified as x86' )
97
- elsif sysinfo [ 'Architecture' ] == ARCH_X86 && target . arch . first == ARCH_X64
98
- fail_with ( Failure ::NoTarget , 'Session host is x86, but the target is specified as x64' )
95
+ elsif sysinfo [ 'Architecture' ] == ARCH_X86
96
+ fail_with ( Failure ::NoTarget , 'Session host is x86, but only x64 targets are supported' )
99
97
end
100
98
101
99
pid = session . sys . process [ 'RazerIngameEngine.exe' ]
You can’t perform that action at this time.
0 commit comments