add Windows Embedded Standard 7 support

GSoC/Meterpreter_Web_Console
zerosum0x0 2018-06-27 19:17:18 -06:00
parent a7817564ea
commit a5c0881c08
2 changed files with 2 additions and 2 deletions

View File

@ -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'
@ctx['os'] = 'WIN8'
@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['go_fish'] = false
elsif os.starts_with? "Windows Server (R) 2008" or os.starts_with? 'Windows Vista'

View File

@ -76,7 +76,7 @@ class MetasploitModule < Msf::Exploit::Remote
'Platform' => 'win',
'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
'et_alertable' => 0x4c, # ETHREAD.Alertable offset
'teb_acp' => 0x2c8, # TEB.ActivationContextPointer offset