update user agent string detection for some android, fedora, ipod/ipad/iphone
git-svn-id: file:///home/svn/framework3/trunk@11495 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
4ae8b8b14a
commit
aafb30ba8c
|
@ -193,6 +193,12 @@ module Exploit::Remote::HttpServer
|
|||
fp[:os_flavor] = 'Debian'
|
||||
when /ubuntu/
|
||||
fp[:os_flavor] = 'Ubuntu'
|
||||
when /fedora/
|
||||
fp[:os_flavor] = 'Fedora'
|
||||
when /red hat|rhel/
|
||||
fp[:os_flavor] = 'RHEL'
|
||||
when /android/
|
||||
fp[:os_flavor] = 'Android'
|
||||
else
|
||||
fp[:os_flavor] = ''
|
||||
end
|
||||
|
@ -206,6 +212,8 @@ module Exploit::Remote::HttpServer
|
|||
# in the useragent of 32-bit IE running on 64-bit
|
||||
# Windows
|
||||
fp[:arch] = ARCH_X86
|
||||
when /android|iphone|ipod|ipad/
|
||||
fp[:arch] = ARCH_ARMLE
|
||||
else
|
||||
fp[:arch] = ARCH_X86
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue