Exploit databaseDownload repository ZIP
GH-6619317e0cd9902e082b21d2f8f16c38
daniel616/cve-2022-21661-demo
Sources for CVE-2022-21661
10 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files74
daniel616/cve-2022-21661-demoRevision 5478a08b2d12
- ↑..Parent directory
- accordion.js
- accordion.min.js
- autocomplete.js
- autocomplete.min.js
- button.js
- button.min.js
- checkboxradio.js
- checkboxradio.min.js
- controlgroup.js
- controlgroup.min.js
- core.js
- core.min.js
- datepicker.js
- datepicker.min.js
- dialog.js
- dialog.min.js
- draggable.js
- draggable.min.js
- droppable.js
- droppable.min.js
- effect-blind.js
- effect-blind.min.js
- effect-bounce.js
- effect-bounce.min.js
- effect-clip.js
- effect-clip.min.js
- effect-drop.js
- effect-drop.min.js
- effect-explode.js
- effect-explode.min.js
- effect-fade.js
- effect-fade.min.js
- effect-fold.js
- effect-fold.min.js
- effect-highlight.js
- effect-highlight.min.js
- effect-puff.js
- effect-puff.min.js
- effect-pulsate.js
- effect-pulsate.min.js
- effect-scale.js
- effect-scale.min.js
- effect-shake.js
- effect-shake.min.js
- effect-size.js
- effect-size.min.js
- effect-slide.js
- effect-slide.min.js
- effect-transfer.js
- effect-transfer.min.js
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/wp-includes/js/jquery/ui/effect-fold.js
JavaScript · 2,133 bytes/*!
* jQuery UI Effects Fold 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
//>>label: Fold Effect
//>>group: Effects
//>>description: Folds an element first horizontally and then vertically.
//>>docs: http://api.jqueryui.com/fold-effect/
//>>demos: http://jqueryui.com/effect/
( function( factory ) {
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define( [
"jquery",
"./effect"
], factory );
} else {
// Browser globals
factory( jQuery );
}
}( function( $ ) {
return $.effects.define( "fold", "hide", function( options, done ) {
// Create element
var element = $( this ),
mode = options.mode,
show = mode === "show",
hide = mode === "hide",
size = options.size || 15,
percent = /([0-9]+)%/.exec( size ),
horizFirst = !!options.horizFirst,
ref = horizFirst ? [ "right", "bottom" ] : [ "bottom", "right" ],
duration = options.duration / 2,
placeholder = $.effects.createPlaceholder( element ),
start = element.cssClip(),
animation1 = { clip: $.extend( {}, start ) },
animation2 = { clip: $.extend( {}, start ) },
distance = [ start[ ref[ 0 ] ], start[ ref[ 1 ] ] ],
queuelen = element.queue().length;
if ( percent ) {
size = parseInt( percent[ 1 ], 10 ) / 100 * distance[ hide ? 0 : 1 ];
}
animation1.clip[ ref[ 0 ] ] = size;
animation2.clip[ ref[ 0 ] ] = size;
animation2.clip[ ref[ 1 ] ] = 0;
if ( show ) {
element.cssClip( animation2.clip );
if ( placeholder ) {
placeholder.css( $.effects.clipToBox( animation2 ) );
}
animation2.clip = start;
}
// Animate
element
.queue( function( next ) {
if ( placeholder ) {
placeholder
.animate( $.effects.clipToBox( animation1 ), duration, options.easing )
.animate( $.effects.clipToBox( animation2 ), duration, options.easing );
}
next();
} )
.animate( animation1, duration, options.easing )
.animate( animation2, duration, options.easing )
.queue( done );
$.effects.unshift( element, queuelen, 4 );
} );
} ) );