403Webshell
Server IP : 156.238.232.47  /  Your IP : 216.73.216.150
Web Server : nginx/1.25.3
System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : www ( 1000)
PHP Version : 8.3.25
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /www/data/wwwroot/2026_06_02_05/data/cache/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/data/wwwroot/2026_06_02_05/data/cache/home_uploadpic.js
var attachexts = new Array();var attachwh = new Array();var insertType = 1;var thumbwidth = parseInt(60);var thumbheight = parseInt(60);var extensions = 'jpg,jpeg,gif,png';var forms;var nowUid = 0;var albumid = 0;var uploadStat = 0;var picid = 0;var nowid = 0;var mainForm;var successState = false;function delAttach(id) {$('attachbody').removeChild($('attach_' + id).parentNode.parentNode.parentNode);if($('attachbody').innerHTML == '') {addAttach();}$('localimgpreview_' + id + '_menu') ? document.body.removeChild($('localimgpreview_' + id + '_menu')) : null;}function addAttach() {newnode = $('attachbodyhidden').rows[0].cloneNode(true);var id = nowid;var tags;tags = newnode.getElementsByTagName('form');for(i = 0;i < tags.length;i++) {if(tags[i].id == 'upload') {tags[i].id = 'upload_' + id;}}tags = newnode.getElementsByTagName('input');for(i = 0;i < tags.length;i++) {if(tags[i].name == 'attach') {tags[i].id = 'attach_' + id;tags[i].name = 'attach';tags[i].onchange = function() {insertAttach(id)};tags[i].unselectable = 'on';}if(tags[i].id == 'albumid') {tags[i].id = 'albumid_' + id;}}tags = newnode.getElementsByTagName('span');for(i = 0;i < tags.length;i++) {if(tags[i].id == 'localfile') {tags[i].id = 'localfile_' + id;}}nowid++;$('attachbody').appendChild(newnode);}addAttach();function insertAttach(id) {var localimgpreview = '';var path = $('attach_' + id).value;var ext = getExt(path);var re = new RegExp("(^|\\s|,)" + ext + "($|\\s|,)", "ig");var localfile = $('attach_' + id).value.substr($('attach_' + id).value.replace(/\\/g, '/').lastIndexOf('/') + 1);if(path == '') {return;}if(extensions != '' && (re.exec(extensions) == null || ext == '')) {alert($L('file_ext_error'));return;}attachexts[id] = inArray(ext, ['gif', 'jpg', 'jpeg', 'png']) ? 2 : 1;var inhtml = '<table cellspacing="0" cellpadding="0" class="up_row"><tr>';if(typeof no_insert=='undefined') {localfile += '&nbsp;<a href="javascript:;" class="xi2" title="' + $L('click_here_insert') + '" onclick="insertAttachimgTag(' + id + ');return false;">[' + $L('insert') + ']</a>';}inhtml += '<td><strong>' + localfile +'</strong>';inhtml += '</td><td class="d">' + $L('img_desc') + '<br/><textarea name="pic_title" cols="40" rows="2" class="pt"></textarea>';inhtml += '</td><td class="o"><span id="showmsg' + id + '"><a href="javascript:;" onclick="delAttach(' + id + ');return false;" class="xi2">[' + $L('delete') + ']</a></span>';inhtml += '</td></tr></table>';$('localfile_' + id).innerHTML = inhtml;$('attach_' + id).style.display = 'none';addAttach();}function getPath(obj){if (obj) {if(BROWSER.firefox) {if (obj.files) {return obj.files.item(0).getAsDataURL();}return obj.value;} else {return '';}return obj.value;}}function inArray(needle, haystack) {if(typeof needle == 'string') {for(var i in haystack) {if(haystack[i] == needle) {return true;}}}return false;}function insertAttachimgTag(id) {edit_insert('[imgid=' + id + ']');}function uploadSubmit(obj) {obj.disabled = true;mainForm = obj.form;forms = $('attachbody').getElementsByTagName("FORM");albumid = $('uploadalbum').value;upload();}function start_upload() {$('btnupload').disabled = true;mainForm = $('albumresultform');forms = $('attachbody').getElementsByTagName("FORM");upload();}function upload() {if(typeof(forms[nowUid]) == 'undefined') return false;var nid = forms[nowUid].id.split('_');nid = nid[1];if(nowUid>0) {var upobj = $('showmsg'+nowid);if(uploadStat==1) {upobj.innerHTML = $L('upload_success');successState = true;var InputNode;try {var InputNode = document.createElement("<input type=\"hidden\" id=\"picid_" + picid + "\" value=\""+ nowid +"\" name=\"picids["+picid+"]\">");} catch(e) {var InputNode = document.createElement("input");InputNode.setAttribute("name", "picids["+picid+"]");InputNode.setAttribute("type", "hidden");InputNode.setAttribute("id", "picid_" + picid);InputNode.setAttribute("value", nowid);}mainForm.appendChild(InputNode);} else {upobj.style.color = "#f00";upobj.innerHTML = $L('upload_error') + ' '+uploadStat;}}if($('showmsg'+nid) != null) {$('showmsg'+nid).innerHTML = $L('attach_uploading') + '(<a href="javascript:;" onclick="forms[nowUid].submit();">' + $L('try_again') + '</a>)';$('albumid_'+nid).value = albumid;forms[nowUid].submit();} else if(nowUid+1 == forms.length) {if(typeof (no_insert) != 'undefined') {var albumidcheck = parseInt(parent.albumid);$('opalbumid').value = isNaN(albumidcheck)? 0 : albumid;if(!successState) return false;}window.onbeforeunload = null;mainForm.submit();}nowid = nid;nowUid++;uploadStat = 0;}

Youez - 2016 - github.com/yon3zu
LinuXploit