Last active
January 20, 2016 14:27
-
-
Save kura-lab/ea9ac27f878d78f8adf4 to your computer and use it in GitHub Desktop.
WebViewとブラウザーの比較
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| array(7) { | |
| ["Host"]=> string(11) "kuralab.net" | |
| ["Connection"]=> string(10) "keep-alive" | |
| ["Accept"]=> string(63) "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" | |
| ["User-Agent"]=> string(217) "Mozilla/5.0 (iPhone; CPU iPhone OS 9_2 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13C75 [FBAN/FBIOS;FBAV/46.0.0.54.156;FBBV/18972819;FBDV/iPhone7,2;FBMD/iPhone;FBSN/iPhone OS;FBSV/9.2;FBSS/2; FBCR/" | |
| ["Accept-Language"]=> string(5) "en-us" | |
| ["Referer"]=> string(21) "http://m.facebook.com" | |
| ["Accept-Encoding"]=> string(13) "gzip, deflate" | |
| } | |
| ==== | |
| Your browser fingerprint with default settings (canvas, screen resolutin, activeX disabled) | |
| 2220299663 | |
| Your browser fingerprint with canvas enabled is: | |
| 1211916473 | |
| Your browser fingerprint with ie_activex enabled is: | |
| 2220299663 | |
| Your browser fingerprint with screen_resolution enabled is: | |
| 2166191543 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| array(6) { | |
| ["Host"]=> string(11) "kuralab.net" | |
| ["Accept"]=> string(63) "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" | |
| ["Accept-Language"]=> string(5) "en-us" | |
| ["Connection"]=> string(10) "keep-alive" | |
| ["Accept-Encoding"]=> string(13) "gzip, deflate" | |
| ["User-Agent"]=> string(125) "Mozilla/5.0 (iPhone; CPU iPhone OS 9_2 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13C75 Safari Line/5.9.1" | |
| } | |
| ==== | |
| Your browser fingerprint with default settings (canvas, screen resolutin, activeX disabled) | |
| 83676432 | |
| Your browser fingerprint with canvas enabled is: | |
| 817598904 | |
| Your browser fingerprint with ie_activex enabled is: | |
| 83676432 | |
| Your browser fingerprint with screen_resolution enabled is: | |
| 3562603357 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| array(7) { | |
| ["Host"]=> string(11) "kuralab.net" | |
| ["Accept"]=> string(63) "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" | |
| ["Cookie"]=> string(62) "__utma=242662680.1042782221.1424298640.1424298640.1424298640.1" | |
| ["User-Agent"]=> string(132) "Mozilla/5.0 (iPhone; CPU iPhone OS 9_2 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13C75 Safari/601.1" | |
| ["Accept-Language"]=> string(5) "en-us" | |
| ["Accept-Encoding"]=> string(13) "gzip, deflate" | |
| ["Connection"]=> string(10) "keep-alive" | |
| } | |
| ==== | |
| Your browser fingerprint with default settings (canvas, screen resolutin, activeX disabled) | |
| 4226580521 | |
| Your browser fingerprint with canvas enabled is: | |
| 4140615249 | |
| Your browser fingerprint with ie_activex enabled is: | |
| 4226580521 | |
| Your browser fingerprint with screen_resolution enabled is: | |
| 858236468 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| array(7) { | |
| ["Host"]=> string(11) "kuralab.net" | |
| ["Connection"]=> string(10) "keep-alive" | |
| ["Accept"]=> string(63) "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" | |
| ["User-Agent"]=> string(126) "Mozilla/5.0 (iPhone; CPU iPhone OS 9_2 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13C75 Twitter for iPhone" | |
| ["Accept-Language"]=> string(5) "en-us" | |
| ["Referer"]=> string(23) "https://t.co/Ofoylc0Rgr" | |
| ["Accept-Encoding"]=> string(13) "gzip, deflate" | |
| } | |
| ==== | |
| Your browser fingerprint with default settings (canvas, screen resolutin, activeX disabled) | |
| 2905995772 | |
| Your browser fingerprint with canvas enabled is: | |
| 1653352331 | |
| Your browser fingerprint with ie_activex enabled is: | |
| 2905995772 | |
| Your browser fingerprint with screen_resolution enabled is: | |
| 3238808919 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| * ヘッダーはPHPで出力 | |
| ``` | |
| <?php | |
| echo '<pre>'; | |
| var_dump(getallheaders()); | |
| ``` | |
| * fingerprintは以下のモジュールを利用 | |
| * https://github.com/Valve/fingerprintjs | |
| * 考察 | |
| * WebViewとSafariでUser-Agentが異なる | |
| * 末尾をみることでアプリを特定可能 | |
| * Facebook: [FBAN/FBIOS;FBAV/46.0.0.54.156;FBBV/18972819;FBDV/iPhone7,2;FBMD/iPhone;FBSN/iPhone OS;FBSV/9.2;FBSS/2; FBCR/ | |
| * LINE: Safari Line/5.9.1 | |
| * Safari: Safari/601.1 | |
| * Twitter: Twitter for iPhone | |
| * fingerprintもWebView,Safariの全てで異なる | |
| * ただし、各数値からアプリを特定できるかは不明 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment