Land #7947, fix crash in panda_psevents when an unexpected target OS is found
commit
8019a9e519
|
@ -61,10 +61,10 @@ class MetasploitModule < Msf::Exploit::Local
|
|||
|
||||
def get_path()
|
||||
case sysinfo['OS']
|
||||
when /Windows (7|8|10|2012|2008)/
|
||||
return '%ProgramData%\\Panda Security\\Panda Devices Agent\\Downloads\\1a2d7253f106c617b45f675e9be08171'
|
||||
when /Windows (NT|XP)/
|
||||
return '%AllUsersProfile%\\Application Data\\Panda Security\\Panda Devices Agent\\Downloads\\1a2d7253f106c617b45f675e9be08171'
|
||||
else #/Windows (7|8|10|2012|2008)/ we assume a modern operating system
|
||||
return '%ProgramData%\\Panda Security\\Panda Devices Agent\\Downloads\\1a2d7253f106c617b45f675e9be08171'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue