403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/k633_cz/www/wp-content/plugins/complianz-gdpr/settings/build/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/k633_cz/www/wp-content/plugins/complianz-gdpr/settings/build/3785.26198e7f9a7cd61d719a.js
"use strict";(globalThis.webpackChunkcomplianz_gdpr=globalThis.webpackChunkcomplianz_gdpr||[]).push([[3785,4101],{43785:(e,t,n)=>{n.r(t),n.d(t,{default:()=>s});var a=n(86087),o=n(56427),l=n(4219),c=n(45111),i=n(27723),r=n(74101),p=n(52043);const s=(0,a.memo)((function(){const{removeHelpNotice:e,addHelpNotice:t,fetchFieldsData:n,showSavedSettingsNotice:s}=(0,l.default)(),{selectedSubMenuItem:d}=(0,p.default)(),[m,u]=(0,a.useState)(!1),[g,_]=(0,a.useState)(!0),[f,z]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{m&&("application/json"!==m.type?(_(!0),t("import_settings","warning",(0,i.__)("You can only upload .json files","complianz-gdpr"),(0,i.__)("Incorrect extension","complianz-gdpr"),!1)):(_(!1),e("import_settings")))}),[m]),(0,a.createElement)("div",{className:"cmplz-import-form"},(0,a.createElement)("div",{className:"cmplz-import-button-container"},m&&m.name,(0,a.createElement)(o.FormFileUpload,{accept:"",icon:(0,a.createElement)(c.default,{name:"upload",color:"black"}),onChange:e=>u(e.currentTarget.files[0])},(0,i.__)("Select file","complianz-gdpr")),(0,a.createElement)("button",{disabled:g,className:"button button-default",onClick:e=>(_(!0),z(!0),void(0,r.upload)("import_settings",m).then((e=>(e.data.success?n(d).then((()=>{s((0,i.__)("Settings imported","complianz-gdpr"))})):t("import_settings","warning",(0,i.__)("You can only upload .json files","complianz-gdpr"),(0,i.__)("Incorrect extension","complianz-gdpr"),!1),z(!1),u(!1),!0))).catch((e=>{console.error(e)})))},(0,i.__)("Import","complianz-gdpr"),f&&(0,a.createElement)(c.default,{name:"loading",color:"grey"}))))}))},74101:(e,t,n)=>{n.r(t),n.d(t,{upload:()=>l});var a=n(72505),o=n.n(a);const l=(e,t,n)=>{let a=new FormData;return a.append("data",t),void 0!==n&&a.append("details",JSON.stringify(n)),o().post(cmplz_settings.admin_url+"?page=complianz&cmplz_upload_file=1&action="+e,a,{headers:{"Content-Type":"multipart/form-data","X-WP-Nonce":cmplz_settings.nonce}})}}}]);

Youez - 2016 - github.com/yon3zu
LinuXploit