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-b9f4589650da
unstable
James Lee 2011-01-06 21:24:38 +00:00
parent 4ae8b8b14a
commit aafb30ba8c
1 changed files with 8 additions and 0 deletions

View File

@ -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