403Webshell
Server IP : 13.213.54.232  /  Your IP : 216.73.216.72
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ip-172-31-17-110 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 7.1.33-67+ubuntu22.04.1+deb.sury.org+1
Disable Function : 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_signals,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /snap/lxd/31333/share/lxd-ui/assets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /snap/lxd/31333/share/lxd-ui/assets//networks-5caac489.js
import{v as o,bf as w,bg as u}from"./index-13b2882d.js";const p=e=>new Promise((t,a)=>{fetch(`/1.0/networks?project=${e}&recursion=1`).then(o).then(s=>t(s.metadata)).catch(a)}),i=(e,t)=>new Promise((a,s)=>{fetch(`/1.0/networks/${e}?project=${t}`).then(u).then(n=>a(n)).catch(s)}),N=(e,t)=>new Promise((a,s)=>{fetch(`/1.0/networks/${e}/state?project=${t}`).then(o).then(n=>a(n.metadata)).catch(s)}),g=(e,t,a)=>new Promise((s,n)=>{const c={name:e.name,description:e.description,type:e.type};Promise.allSettled(a.map(async r=>{await m(c,t,r.server_name)})).then(r=>{var f;const h=(f=r.find(d=>d.status==="rejected"))==null?void 0:f.reason;if(h){n(h);return}m(e,t).then(s).catch(n)}).catch(n)}),m=(e,t,a)=>new Promise((s,n)=>{const c=a?`&target=${a}`:"";fetch(`/1.0/networks?project=${t}${c}`,{method:"POST",body:JSON.stringify(e)}).then(o).then(r=>s(r)).catch(async r=>{if(r.message==="Failed to fetch"){const h=await i(e.name??"",t);h&&s(h)}n(r)})}),y=(e,t)=>new Promise((a,s)=>{fetch(`/1.0/networks/${e.name??""}?project=${t}`,{method:"PUT",body:JSON.stringify(e),headers:{"If-Match":e.etag??"invalid-etag"}}).then(o).then(n=>a(n)).catch(async n=>{if(n.message==="Failed to fetch"){const c=await i(e.name??"",t);w(e,c)&&a(c)}s(n)})}),P=(e,t,a)=>new Promise((s,n)=>{fetch(`/1.0/networks/${e}?project=${a}`,{method:"POST",body:JSON.stringify({name:t})}).then(o).then(s).catch(async c=>{if(c.message==="Failed to fetch"){const r=await i(t,a);r&&s(r)}n(c)})}),k=(e,t)=>new Promise((a,s)=>{fetch(`/1.0/networks/${e}?project=${t}`,{method:"DELETE"}).then(o).then(a).catch(async n=>{n.message==="Failed to fetch"&&(await fetch(`/1.0/networks/${e}?project=${t}`)).status===404&&a(),s(n)})});export{m as a,N as b,g as c,k as d,i as e,p as f,P as r,y as u};

Youez - 2016 - github.com/yon3zu
LinuXploit