Fri, 10 Aug 2012 13:03:06 +0100
Add Facebook fingerprints (and move test for FBv1 from the ejabberd fingerprint)
function testers.facebook() if test(q_invalid_xml, false) and test(q_invalid_host, " id='1' ") and test(q_invalid_host, literal"<mechanism>X-FACEBOOK-PLATFORM</mechanism>") then server_name = "Facebook"; server_version = "2.0"; elseif (test(q_invalid_xml, [=[ id=["']none['"]]=]) or test(q_invalid_xml, " id='%d+'")) and (not test(q_invalid_xml, literal " xml:lang=")) and test(q_invalid_xml, " id=(.)") == '"' then server_name = "Facebook"; server_version = "1.0"; end end