OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
reader
/
testing
/
vendor
/
facebook
/
graph-sdk
/
src
/
Facebook
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/03/2025 08:41:24 AM
rwxr-xr-x
📁
Authentication
-
05/19/2025 10:07:13 AM
rwxr-xr-x
📁
Exceptions
-
05/19/2025 10:07:13 AM
rwxr-xr-x
📄
Facebook.php
18.93 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
FacebookApp.php
2.95 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
FacebookBatchRequest.php
9.03 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
FacebookBatchResponse.php
4.85 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
FacebookClient.php
7.43 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
FacebookRequest.php
12.79 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
FacebookResponse.php
10.29 KB
05/19/2025 10:07:13 AM
rw-r--r--
📁
FileUpload
-
05/19/2025 10:07:13 AM
rwxr-xr-x
📁
GraphNodes
-
05/19/2025 10:07:13 AM
rwxr-xr-x
📁
Helpers
-
05/19/2025 10:07:13 AM
rwxr-xr-x
📁
Http
-
05/19/2025 10:07:13 AM
rwxr-xr-x
📁
HttpClients
-
05/19/2025 10:07:13 AM
rwxr-xr-x
📁
PersistentData
-
05/19/2025 10:07:13 AM
rwxr-xr-x
📁
PseudoRandomString
-
05/19/2025 10:07:13 AM
rwxr-xr-x
📄
SignedRequest.php
8.18 KB
05/19/2025 10:07:13 AM
rw-r--r--
📁
Url
-
05/19/2025 10:07:13 AM
rwxr-xr-x
📄
autoload.php
2.8 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
polyfills.php
1.81 KB
05/19/2025 10:07:13 AM
rw-r--r--
Editing: polyfills.php
Close
<?php /** * Copyright 2017 Facebook, Inc. * * You are hereby granted a non-exclusive, worldwide, royalty-free license to * use, copy, modify, and distribute this software in source code or binary * form for use in connection with the web services and APIs provided by * Facebook. * * As with any software that integrates with the Facebook platform, your use * of this software is subject to the Facebook Developer Principles and * Policies [http://developers.facebook.com/policy/]. This copyright notice * shall be included in all copies or substantial portions of the software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. * */ /** * @see https://github.com/sarciszewski/php-future/blob/master/src/Security.php#L37-L51 */ if (!function_exists('hash_equals')) { function hash_equals($knownString, $userString) { if (function_exists('mb_strlen')) { $kLen = mb_strlen($knownString, '8bit'); $uLen = mb_strlen($userString, '8bit'); } else { $kLen = strlen($knownString); $uLen = strlen($userString); } if ($kLen !== $uLen) { return false; } $result = 0; for ($i = 0; $i < $kLen; $i++) { $result |= (ord($knownString[$i]) ^ ord($userString[$i])); } // They are only identical strings if $result is exactly 0... return 0 === $result; } }