Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
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
/
snap /
lxd /
35819 /
share /
lxd-ui /
assets /
[ HOME SHELL ]
Name
Size
Permission
Action
data
[ DIR ]
drwxr-xr-x
img
[ DIR ]
drwxr-xr-x
AutoExpandingTextArea-38ef4775...
352
B
-rw-r--r--
CancelOperationBtn-5ab5a054.js
1.42
KB
-rw-r--r--
CertificateAdd-d98b5e86.js
2.37
KB
-rw-r--r--
CertificateGenerate-bb8c35a0.j...
9.58
KB
-rw-r--r--
ClusterGroupForm-0d4e7054.js
3.07
KB
-rw-r--r--
ClusterList-376e8191.js
4.72
KB
-rw-r--r--
ConfigFieldDescription-f8ae832...
3.5
KB
-rw-r--r--
ConfigurationTable-5663621c.js
2.16
KB
-rw-r--r--
CreateClusterGroup-09d38e92.js
329
B
-rw-r--r--
CreateInstance-046ee656.js
15.55
KB
-rw-r--r--
CreateNetwork-c477391b.js
2.24
KB
-rw-r--r--
CreateProfile-881c18c5.js
3.28
KB
-rw-r--r--
CreateProject-e3aa3033.js
1.9
KB
-rw-r--r--
CreateStoragePool-8cf3fffb.js
1.77
KB
-rw-r--r--
DiskSizeSelector-f5c6feab.js
1.8
KB
-rw-r--r--
EditClusterGroup-359f74de.js
622
B
-rw-r--r--
FormMenuItem-c982b037.js
504
B
-rw-r--r--
Images-4a6fe873.js
4.37
KB
-rw-r--r--
InstanceDetail-abd91713.js
485.8
KB
-rw-r--r--
InstanceFormMenu-8d68db52.js
1.67
KB
-rw-r--r--
InstanceList-d03132eb.js
15.61
KB
-rw-r--r--
Login-ae14fb01.js
1.47
KB
-rw-r--r--
NetworkDetail-f9ecdbac.js
10.11
KB
-rw-r--r--
NetworkDevicesForm-6bd7a471.js
28.21
KB
-rw-r--r--
NetworkForm-7a372877.js
10.83
KB
-rw-r--r--
NetworkList-ed3f1c2e.js
2.87
KB
-rw-r--r--
NetworkMap-edcca14b.js
384.37
KB
-rw-r--r--
OperationList-9cdc7cdc.js
3.03
KB
-rw-r--r--
ProfileDetail-9d676984.js
9.74
KB
-rw-r--r--
ProfileDetailsForm-2d8b9325.js
856
B
-rw-r--r--
ProfileFormMenu-402fd3a6.js
1.51
KB
-rw-r--r--
ProfileList-ec5e50ff.js
3.32
KB
-rw-r--r--
ProfileSelector-a92e1c5b.js
1.73
KB
-rw-r--r--
ProjectConfiguration-abeeb414....
6.92
KB
-rw-r--r--
ProjectForm-420f46d7.js
13.38
KB
-rw-r--r--
ProtectedRoute-d7443d15.js
209
B
-rw-r--r--
RenameHeader-48dfd372.js
1.6
KB
-rw-r--r--
SelectableMainTable-825decd1.j...
1.48
KB
-rw-r--r--
Settings-893dd2a7.js
5.98
KB
-rw-r--r--
StoragePoolDetail-cac1f490.js
5.53
KB
-rw-r--r--
StorageUsedBy-9a8da8a4.js
2.16
KB
-rw-r--r--
StorageVolumeCreate-c0d80d32.j...
1.75
KB
-rw-r--r--
StorageVolumeDetail-534c1711.j...
6.76
KB
-rw-r--r--
StorageVolumeForm-754dcb6d.js
9.63
KB
-rw-r--r--
StorageVolumeFormMenu-3787a809...
1.35
KB
-rw-r--r--
WarningList-c4a4436b.js
1.85
KB
-rw-r--r--
certificate-3aff5cf1.js
277.18
KB
-rw-r--r--
clusterGroups-0eee60fc.js
3.32
KB
-rw-r--r--
formFields-e7157cb4.js
4.61
KB
-rw-r--r--
images-2ea813f2.js
702
B
-rw-r--r--
index-205b9caf.css
481.62
KB
-rw-r--r--
index-3c1b2661.js
587.81
KB
-rw-r--r--
index.esm-7989c879.js
69.08
KB
-rw-r--r--
instanceConfigInheritance-8da6...
1.38
KB
-rw-r--r--
instanceDelete-47fcbb3e.js
1.52
KB
-rw-r--r--
instanceEdit-165cc920.js
5.29
KB
-rw-r--r--
instanceValidation-26160179.cs...
50.83
KB
-rw-r--r--
instanceValidation-ad252104.js
2.09
MB
-rw-r--r--
networks-a82d149f.js
1.83
KB
-rw-r--r--
operations-beb03b33.js
433
B
-rw-r--r--
settings-c23f9009.js
183
B
-rw-r--r--
updateMaxHeight-4e644a5f.js
861
B
-rw-r--r--
useClusterMembers-b0b2e2f7.js
3.32
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : StorageVolumeDetail-534c1711.js
import{e as x,d as o,r as y,bd as z,bv as V,j as e,c as F,bw as $,A as C,bx as R,bc as k,W as v,by as q,i as L,m as u,bz as T,q as p,G as f,f as w,L as D,b as O,ap as M,bA as E}from"./index-3c1b2661.js";import{R as B}from"./RenameHeader-48dfd372.js";import{c as b,a as S,u as N}from"./index.esm-7989c879.js";import{S as I}from"./StorageUsedBy-9a8da8a4.js";import{u as U,S as A}from"./updateMaxHeight-4e644a5f.js";import{v as G,c as H}from"./StorageVolumeForm-754dcb6d.js";import{M as j}from"./StorageVolumeFormMenu-3787a809.js";import"./ConfigurationTable-5663621c.js";import"./ConfigFieldDescription-f8ae8325.js";import"./DiskSizeSelector-f5c6feab.js";import"./FormMenuItem-c982b037.js";const K=({volume:s,project:t})=>{var a;const i=x(),n=o.useNotify(),l=y.useState(null),c=b().shape({name:S().test(...z(t,s.type,l,s.name)).required("This field is required")}),r=N({initialValues:{name:s.name,isRenaming:!1,pool:s.pool},validationSchema:c,onSubmit:d=>{if(s.name===d.name){r.setFieldValue("isRenaming",!1),r.setSubmitting(!1);return}V(t,s,d.name).then(()=>{i(`/ui/project/${t}/storage/detail/${s.pool}/${s.type}/${d.name}`,n.queue(n.success("Storage volume renamed."))),r.setFieldValue("isRenaming",!1)}).catch(h=>{n.failure("Renaming failed",h)}).finally(()=>{r.setSubmitting(!1)})}});return e.jsx(B,{name:s.name,parentItems:[e.jsx(F,{to:`/ui/project/${t}/storage/volumes`,children:"Storage volumes"},1)],controls:e.jsx($,{label:"Delete volume",volume:s,project:t,appearance:"",hasIcon:!1,onFinish:()=>{i(`/ui/project/${t}/storage/volumes`,n.queue(n.success(`Storage volume ${s.name} deleted.`)))}}),isLoaded:!0,formik:r,renameDisabledReason:(((a=s.used_by)==null?void 0:a.length)??0)>0?"Can not rename, volume is currently in use.":void 0})},Q=({project:s,volume:t})=>{var n;const i=()=>{U("storage-overview-tab")};return y.useEffect(i,[t]),C("resize",i),e.jsxs("div",{className:"storage-overview-tab",children:[e.jsxs(o.Row,{className:"section",children:[e.jsx(o.Col,{size:3,children:e.jsx("h2",{className:"p-heading--5",children:"General"})}),e.jsx(o.Col,{size:7,children:e.jsx("table",{children:e.jsxs("tbody",{children:[e.jsxs("tr",{children:[e.jsx("th",{className:"p-muted-heading",children:"Name"}),e.jsx("td",{children:t.name})]}),e.jsxs("tr",{children:[e.jsx("th",{className:"p-muted-heading",children:"Type"}),e.jsx("td",{children:R(t)})]}),e.jsxs("tr",{children:[e.jsx("th",{className:"p-muted-heading",children:"Content type"}),e.jsx("td",{children:k(t)})]}),e.jsxs("tr",{children:[e.jsx("th",{className:"p-muted-heading",children:"Description"}),e.jsx("td",{children:t.description?t.description:"-"})]}),e.jsxs("tr",{children:[e.jsx("th",{className:"p-muted-heading",children:"Location"}),e.jsx("td",{children:t.location})]}),e.jsxs("tr",{children:[e.jsx("th",{className:"p-muted-heading",children:"Date created"}),e.jsx("td",{children:v(t.created_at)})]}),e.jsxs("tr",{children:[e.jsx("th",{className:"p-muted-heading",children:"Size"}),e.jsx("td",{children:e.jsx(q,{volume:t})})]}),e.jsxs("tr",{children:[e.jsx("th",{className:"p-muted-heading",children:"Custom config"}),e.jsx("td",{children:Object.entries(t.config).length===0?"-":e.jsx("table",{children:e.jsx("tbody",{children:Object.entries(t.config).map(([l,c],r)=>e.jsxs("tr",{children:[e.jsx("th",{className:"u-text--muted",children:l}),e.jsx("td",{children:c})]},r))})})})]})]})})})]}),e.jsxs(o.Row,{className:"section",children:[e.jsx(o.Col,{size:3,children:e.jsxs("h2",{className:"p-heading--5",children:["Used by (",((n=t.used_by)==null?void 0:n.length)??0,")"]})}),e.jsx(o.Col,{size:7,children:e.jsx(I,{storage:t,project:s})})]})]})},g=s=>({name:s.name,project:s.project,pool:s.pool,size:s.config.size??"GiB",content_type:s.content_type,type:s.type,security_shifted:s.config["security.shifted"],security_unmapped:s.config["security.unmapped"],snapshots_expiry:s.config["snapshots.expiry"],snapshots_pattern:s.config["snapshots.pattern"],snapshots_schedule:s.config["snapshots.schedule"],block_filesystem:s.config["block.filesystem"],block_mount_options:s.config["block.mount_options"],zfs_blocksize:s.config["zfs.blocksize"],zfs_block_mode:s.config["zfs.block_mode"],zfs_delegate:s.config["zfs.delegate"],zfs_remove_snapshots:s.config["zfs.remove_snapshots"],zfs_use_refquota:s.config["zfs.use_refquota"],zfs_reserve_space:s.config["zfs.reserve_space"],isReadOnly:!0,isCreating:!1}),P=({volume:s})=>{const t=x(),i=o.useNotify(),n=L(),{activeSection:l}=u(),{project:c}=u();if(!c)return e.jsx(e.Fragment,{children:"Missing project"});const r=b().shape({name:S().required("This field is required")}),a=N({initialValues:g(s),validationSchema:r,onSubmit:h=>{const m=G(h,c);T(h.pool,c,{...m,etag:s.etag}).then(()=>{a.setValues(g(m)),n.invalidateQueries({queryKey:[p.storage]}),n.invalidateQueries({queryKey:[p.storage,s.pool,c,m.type,m.name]}),i.success("Storage volume updated.")}).catch(_=>{i.failure("Storage volume update failed",_)}).finally(()=>a.setSubmitting(!1))}}),d=h=>{const m=`/ui/project/${c}/storage/detail/${s.pool}/${s.type}/${s.name}/configuration`;t(h===j?m:`${m}/${f(h)}`)};return e.jsxs("div",{className:"storage-volume-form",children:[e.jsx(H,{formik:a,section:l??f(j),setSection:d}),e.jsxs("div",{className:"l-footer--sticky p-bottom-controls",children:[e.jsx("hr",{}),e.jsx(o.Row,{className:"u-align--right",children:e.jsx(o.Col,{size:12,children:a.values.isReadOnly?e.jsx(o.Button,{appearance:"positive",onClick:()=>void a.setFieldValue("isReadOnly",!1),children:"Edit volume"}):e.jsxs(e.Fragment,{children:[e.jsx(o.Button,{appearance:"base",onClick:()=>a.setValues(g(s)),children:"Cancel"}),e.jsx(A,{isSubmitting:a.isSubmitting,isDisabled:!a.isValid||!a.values.name,buttonLabel:"Save changes",onClick:()=>void a.submitForm()})]})})})]})]})},W=["Overview","Configuration"],oe=()=>{const s=o.useNotify(),{pool:t,project:i,activeTab:n,type:l,volume:c}=u();if(!t)return e.jsx(e.Fragment,{children:"Missing storage pool"});if(!i)return e.jsx(e.Fragment,{children:"Missing project"});if(!l)return e.jsx(e.Fragment,{children:"Missing type"});if(!c)return e.jsx(e.Fragment,{children:"Missing volume"});const{data:r,error:a,isLoading:d}=w({queryKey:[p.storage,t,i,l,c],queryFn:()=>E(t,i,l,c)});return a&&s.failure("Loading storage volume failed",a),d?e.jsx(D,{text:"Loading storage volume..."}):r?e.jsx("main",{className:"l-main",children:e.jsxs("div",{className:"p-panel",children:[e.jsx(K,{volume:r,project:i}),e.jsxs("div",{className:"p-panel__content storage-volume-form",children:[e.jsx(O,{}),e.jsxs(o.Row,{children:[e.jsx(M,{tabs:W,activeTab:n,tabUrl:`/ui/project/${i}/storage/detail/${t}/${l}/${r.name}`}),!n&&e.jsx("div",{role:"tabpanel","aria-labelledby":"overview",children:e.jsx(Q,{volume:r,project:i})}),n==="configuration"&&e.jsx("div",{role:"tabpanel","aria-labelledby":"configuration",children:e.jsx(P,{volume:r})})]})]})]})}):e.jsx(e.Fragment,{children:"Loading storage volume failed"})};export{oe as default};
Close