Quote:
Originally posted by dk01
The problem with this is is browsers such as Opera are spoofing as something else it still sends the spoofed version in the http header.
|
In my experience Opera always identifies itself as Opera even when it is Spoofing - the spoof just takes advantage of the poorly written browser detection scripts that are still going around.
Examples of some spoofed Opera files in my logs - I can confirm they were recognised as Opera by my technique above as they were correctly served the Opera style sheet.
Opera attempting to spoof
Mozilla/4.0 (compatible; MSIE 5.0; Windows 2000) Opera 6.04 [en] - Opera 6.04 spoofing MSIE 5 on a Win 2K machine
Mozilla/4.0 (compatible; MSIE 5.0; Windows NT 4.0) Opera 6.02 [en] - Opera 6.02 spoofing MSIE 5 on a Win NT machine
Mozilla/4.0 (compatible; MSIE 5.0; Linux 2.4.18-6mdk i686) Opera 6.0 [en] - Opera 6.0 spoofing MSIE 5 on a Linux machine!
Mozilla/4.71 (Windows 3.10;US) Opera 3.62 [en] - Opera 3.62 spoofing Netscape 4.71 on a Win 3.1 machine
Opera as itself
Opera/6.02 (Linux 2.4.18 i686; U) [en] - Opera 6.02 on a Linux machine
Opera/4.0 (Windows 95;US) [en] - Opera 4 on a Win 95 machine
Opera/5.12 (Windows 98; U) [en] - Opera 5.12 on a Win 98 machine
Opera/6.02 (Windows XP; U) [en] - Opera 6.02 on a Win XP machine (I've just noticed that Opera is the only browser to visit my site to identify Win XP as XP in the UA string - strange)
IIRC - I remember reading somewhere that Opera doesn't engage in true spoofing for the sake that it would never get true representation in the logs. This makes sense and appears to be the case - I'm sure the folks at Opera would like to prove they have so much market share by making sure their name is in all the requests their browser makes, regardless if it is spoofing or not.
In conclusion then, when Opera is spoofing it just moves the Opera identification to the end... so any decent browser sniffer is going to correctly identify it regardless of how the user wants to identify it.
__________________
Web Site Owner's Resource - Please login or register to view this content. Registration is FREE
|