diff --git a/1.0/404.html b/1.0/404.html index e1a81a2..19d2f4a 100644 --- a/1.0/404.html +++ b/1.0/404.html @@ -1,4 +1,4 @@ -404: This page could not be found
Doubtful Kasm Registry
Workspace Registry

404

This page could not be found.

\ No newline at end of file + }

404

This page could not be found.

\ No newline at end of file diff --git a/1.0/404/index.html b/1.0/404/index.html index e1a81a2..19d2f4a 100644 --- a/1.0/404/index.html +++ b/1.0/404/index.html @@ -1,4 +1,4 @@ -404: This page could not be found
Doubtful Kasm Registry
Workspace Registry

404

This page could not be found.

\ No newline at end of file + }

404

This page could not be found.

\ No newline at end of file diff --git a/1.0/_next/data/Nf3rXjzR46FQ90m15gN_a/new.json b/1.0/_next/data/IyAtmyN3195GDVCXukwlk/new.json similarity index 100% rename from 1.0/_next/data/Nf3rXjzR46FQ90m15gN_a/new.json rename to 1.0/_next/data/IyAtmyN3195GDVCXukwlk/new.json diff --git a/1.0/_next/data/Nf3rXjzR46FQ90m15gN_a/new/YnVrc2hlZS9ibG9vZGhvdW5kLWthc206bGF0ZXN0.json b/1.0/_next/data/IyAtmyN3195GDVCXukwlk/new/YnVrc2hlZS9ibG9vZGhvdW5kLWthc206bGF0ZXN0.json similarity index 100% rename from 1.0/_next/data/Nf3rXjzR46FQ90m15gN_a/new/YnVrc2hlZS9ibG9vZGhvdW5kLWthc206bGF0ZXN0.json rename to 1.0/_next/data/IyAtmyN3195GDVCXukwlk/new/YnVrc2hlZS9ibG9vZGhvdW5kLWthc206bGF0ZXN0.json diff --git a/1.0/_next/data/Nf3rXjzR46FQ90m15gN_a/new/YnVrc2hlZS9sb2dvbnRyYWNlci1rYXNtOmxhdGVzdA==.json b/1.0/_next/data/IyAtmyN3195GDVCXukwlk/new/YnVrc2hlZS9sb2dvbnRyYWNlci1rYXNtOmxhdGVzdA==.json similarity index 100% rename from 1.0/_next/data/Nf3rXjzR46FQ90m15gN_a/new/YnVrc2hlZS9sb2dvbnRyYWNlci1rYXNtOmxhdGVzdA==.json rename to 1.0/_next/data/IyAtmyN3195GDVCXukwlk/new/YnVrc2hlZS9sb2dvbnRyYWNlci1rYXNtOmxhdGVzdA==.json diff --git a/1.0/_next/data/Nf3rXjzR46FQ90m15gN_a/new/YnVrc2hlZS9zcGlkZXJmb290LWthc206bGF0ZXN0.json b/1.0/_next/data/IyAtmyN3195GDVCXukwlk/new/YnVrc2hlZS9zcGlkZXJmb290LWthc206bGF0ZXN0.json similarity index 100% rename from 1.0/_next/data/Nf3rXjzR46FQ90m15gN_a/new/YnVrc2hlZS9zcGlkZXJmb290LWthc206bGF0ZXN0.json rename to 1.0/_next/data/IyAtmyN3195GDVCXukwlk/new/YnVrc2hlZS9zcGlkZXJmb290LWthc206bGF0ZXN0.json diff --git a/1.0/_next/static/Nf3rXjzR46FQ90m15gN_a/_buildManifest.js b/1.0/_next/static/IyAtmyN3195GDVCXukwlk/_buildManifest.js similarity index 86% rename from 1.0/_next/static/Nf3rXjzR46FQ90m15gN_a/_buildManifest.js rename to 1.0/_next/static/IyAtmyN3195GDVCXukwlk/_buildManifest.js index cddd2b6..b1e78e3 100644 --- a/1.0/_next/static/Nf3rXjzR46FQ90m15gN_a/_buildManifest.js +++ b/1.0/_next/static/IyAtmyN3195GDVCXukwlk/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/css/7c9e31c2156353a4.css","static/chunks/pages/index-9416961d9ac86df9.js"],"/_error":["static/chunks/pages/_error-8353112a01355ec2.js"],"/new/[[...workspace]]":["static/chunks/484-ea12e2f7cb01c6ad.js","static/chunks/pages/new/[[...workspace]]-ac4d237c78b3f4f2.js"],sortedPages:["/","/_app","/_error","/new/[[...workspace]]"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/css/7c9e31c2156353a4.css","static/chunks/pages/index-9416961d9ac86df9.js"],"/_error":["static/chunks/pages/_error-8353112a01355ec2.js"],"/new/[[...workspace]]":["static/chunks/484-ea12e2f7cb01c6ad.js","static/chunks/pages/new/[[...workspace]]-9128fcbf8a033705.js"],sortedPages:["/","/_app","/_error","/new/[[...workspace]]"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/1.0/_next/static/Nf3rXjzR46FQ90m15gN_a/_ssgManifest.js b/1.0/_next/static/IyAtmyN3195GDVCXukwlk/_ssgManifest.js similarity index 100% rename from 1.0/_next/static/Nf3rXjzR46FQ90m15gN_a/_ssgManifest.js rename to 1.0/_next/static/IyAtmyN3195GDVCXukwlk/_ssgManifest.js diff --git a/1.0/_next/static/chunks/pages/new/[[...workspace]]-ac4d237c78b3f4f2.js b/1.0/_next/static/chunks/pages/new/[[...workspace]]-9128fcbf8a033705.js similarity index 98% rename from 1.0/_next/static/chunks/pages/new/[[...workspace]]-ac4d237c78b3f4f2.js rename to 1.0/_next/static/chunks/pages/new/[[...workspace]]-9128fcbf8a033705.js index 81e5989..697ebc4 100644 --- a/1.0/_next/static/chunks/pages/new/[[...workspace]]-ac4d237c78b3f4f2.js +++ b/1.0/_next/static/chunks/pages/new/[[...workspace]]-9128fcbf8a033705.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[858],{4873:function(e,a,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/new/[[...workspace]]",function(){return l(5790)}])},5790:function(e,a,l){"use strict";l.r(a),l.d(a,{__N_SSG:function(){return m},default:function(){return p}});var t=l(5893),s=l(9008),i=l.n(s),n=l(7294),r=l(3162),o=l(8813),c=l(3157),d=l(1163),u=JSON.parse('{"wZ":[{"friendly_name":"Bloodhound","image_src":"bloodhound-logo.webp","description":"BloodHound uses graph theory to reveal the hidden and often unintended relationships within an Active Directory environment. As of version 4.0, BloodHound now also supports Azure.","name":"bukshee/bloodhound-kasm:latest","run_config":{"hostname":"kasm"},"cores":2,"memory":2768,"gpu_count":0,"cpu_allocation_method":"Inherit","docker_registry":"https://index.docker.io/v1/","categories":["Security"],"compatibility":["1.14.x"],"require_gpu":false,"enabled":true,"image_type":"Container","architecture":["amd64"],"sha":"1f8c320b36e9fb7017543485c3cc581da4377d07"},{"friendly_name":"LogonTracer","image_src":"logontracer.png","description":"LogonTracer is a tool to investigate malicious logon by visualizing and analyzing Windows Active Directory event logs","name":"bukshee/logontracer-kasm:latest","run_config":{"hostname":"kasm"},"cores":2,"memory":2768,"gpu_count":0,"cpu_allocation_method":"Inherit","docker_registry":"https://index.docker.io/v1/","categories":["Security"],"compatibility":["1.13.x"],"require_gpu":false,"enabled":true,"image_type":"Container","architecture":["amd64"],"sha":"b2842a74722264929467d3e0d370b720eb6223f2"},{"friendly_name":"Spiderfoot","image_src":"spiderfoot.png","description":"SpiderFoot is an open source intelligence (OSINT) automation tool. It integrates with just about every data source available and utilises a range of methods for data analysis, making that data easy to navigate.","name":"bukshee/spiderfoot-kasm:latest","run_config":{"hostname":"kasm"},"cores":2,"memory":2768,"gpu_count":0,"cpu_allocation_method":"Inherit","docker_registry":"https://index.docker.io/v1/","categories":["Security"],"compatibility":["1.13.x"],"require_gpu":false,"enabled":true,"image_type":"Container","architecture":["amd64"],"sha":"4888216195c3a671f1b3d95df8f2dab7cbbe0332"}]}'),m=!0;function p(e){let{workspace:a}=e,s=(0,n.useRef)(null),m=(0,n.useRef)(null),p=(0,n.useRef)(null),[f,b]=(0,n.useState)(null),[g,x]=(0,n.useState)(null),[v,y]=(0,n.useState)(null),[w,_]=(0,n.useState)("png"),[j,N]=(0,n.useState)(null),k={friendly_name:null,image_src:null,description:null,name:null,cores:2,memory:2768,gpu_count:0,cpu_allocation_method:"Inherit",docker_registry:"https://index.docker.io/v1/",categories:[],require_gpu:!1,enabled:!0,image_type:"Container"},[C,S]=(0,n.useState)(k);(0,d.useRouter)(),(0,n.useEffect)(()=>{if(null===a)p.current.value="",s.current.value="",m.current.value="",b(null),x(null),y(null),S(k);else if(a&&a[0]){let e=u.wZ.find(e=>e.name===atob(a[0]));if(delete e.sha,p.current.value=e.description,s.current.value=e.name,m.current.value=e.friendly_name,e.categories){let l=[];e.categories.map(e=>l.push({label:e,value:e})),b(l)}if(e.architecture){let t=[];e.architecture.map(e=>t.push({label:e,value:e})),x(t)}N("../../icons/"+e.image_src),S({...C,...e})}},[a]);let I={control:(e,a)=>({...e,background:"#f1f5f9",borderRadius:"0.5rem",borderColor:"#94a3b8"}),multiValue(e,a){let{data:l}=a;return{...e,backgroundColor:"#dde6f1"}}};(0,n.useEffect)(()=>{if(C&&C.friendly_name){let e={...C};e.image_src=D(e.friendly_name)+"."+w,S(e)}},[w]);let A=e=>{let a={...C};a.categories=e.map(e=>e.value),S(a);let l=[];a.categories.map(e=>l.push({label:e,value:e})),b(l)},O=e=>{let a={...C};a.architecture=e.map(e=>e.value),S(a);let l=[];a.architecture.map(e=>l.push({label:e,value:e})),x(l)};function D(e){var a=e.toString().toLowerCase();return(a=(a=(a=a.split(/\&+/).join("-and-")).split(/[^a-z0-9]/).join("-")).split(/-+/).join("-")).trim("-")}let L=()=>{var e=l(5733);let a=new e,t=a.folder(C.friendly_name);if(t.file("workspace.json",JSON.stringify(C,null,2)),v)t.file(C.image_src,v.file);else if(j){let s=fetch(j).then(e=>e.blob());t.file(C.image_src,s)}a.generateAsync({type:"blob"}).then(function(e){(0,r.saveAs)(e,D(C.friendly_name)+".zip")})},R=e=>{let a={...C};a[e.target.name]=e.target.value,"icon"===e.target.name&&(delete a.icon,y({value:e.target.value,file:e.target.files[0]}),_(e.target.value.substr(e.target.value.lastIndexOf(".")+1)),N(null)),a.friendly_name&&(a.image_src=D(a.friendly_name)+"."+w),S(a)};return(0,t.jsxs)("div",{className:"",children:[(0,t.jsxs)(i(),{children:[(0,t.jsx)("title",{children:"Kasm Workspaces"}),(0,t.jsx)("meta",{name:"description",content:"List of workspaces for Kasm Webspaces"}),(0,t.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row w-full my-20 max-w-6xl text-sm rounded-xl overflow-hidden mx-auto",children:[(0,t.jsxs)("div",{className:"w-full lg:w-1/2 p-16 bg-slate-300",children:[(0,t.jsx)("h1",{className:"text-2xl font-medium mb-2",children:"Add Workspace"}),(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("p",{className:"mb-8 opacity-70",children:'This page is designed to allow admins to generate the JSON they need to upload to the "workspaces" directory. It also allows end users to see what settings are needed if they want to manually copy them into a new workspace.'}),(0,t.jsx)("label",{className:"mb-2 font-medium",children:"Icon"}),(0,t.jsx)("input",{type:"file",name:"icon",onChange:R,className:"mb-2 p-2 rounded-lg bg-slate-100 border border-solid border-slate-400"}),(0,t.jsx)("p",{className:"mb-6 opacity-70",children:"Select the image to use, image will be renamed when it's downloaded."}),(0,t.jsx)("label",{className:"mb-2 font-medium",children:"Friendly Name"}),(0,t.jsx)("input",{ref:m,name:"friendly_name",onChange:R,className:"mb-2 p-2 rounded-lg bg-slate-100 border border-solid border-slate-400"}),(0,t.jsx)("p",{className:"mb-6 opacity-70",children:"This is the name that will show for users"}),(0,t.jsx)("label",{className:"mb-2 font-medium",children:"Categories"}),(0,t.jsx)(o.Z,{instanceId:"1",name:"categories",isMulti:!0,options:[{value:"Browser",label:"Browser"},{value:"Communication",label:"Communication"},{value:"Desktop",label:"Desktop"},{value:"Development",label:"Development"},{value:"Games",label:"Games"},{value:"Multimedia",label:"Multimedia"},{value:"Office",label:"Office"},{value:"Privacy",label:"Privacy"},{value:"Productivity",label:"Productivity"},{value:"Remote Access",label:"Remote Access"}],onChange:A,styles:I,value:f}),(0,t.jsx)("p",{className:"mb-6 mt-2 opacity-70",children:"You can select from the available option or create new ones."}),(0,t.jsx)("label",{className:"mb-2 font-medium",children:"Description"}),(0,t.jsx)("input",{ref:p,name:"description",onChange:R,className:"mb-2 p-2 rounded-lg bg-slate-100 border border-solid border-slate-400"}),(0,t.jsx)("p",{className:"mb-6 opacity-70",children:"A short description about the workspace"}),(0,t.jsx)("label",{className:"mb-2 font-medium",children:"Docker Image"}),(0,t.jsx)("input",{ref:s,name:"name",onChange:R,className:"mb-2 p-2 rounded-lg bg-slate-100 border border-solid border-slate-400"}),(0,t.jsxs)("p",{className:"mb-6 opacity-70",children:["The docker image to use, i.e. ",(0,t.jsx)("code",{className:"text-xs p-1 px-2 rounded bg-white/40",children:"kasmweb/filezilla:develop"})]}),(0,t.jsx)("label",{className:"mb-2 font-medium",children:"Architecture"}),(0,t.jsx)(c.ZP,{instanceId:"2",name:"architecture",isMulti:!0,options:[{value:"amd64",label:"amd64"},{value:"arm64",label:"arm64"}],onChange:O,styles:I,value:g}),(0,t.jsx)("p",{className:"mb-6 mt-2 opacity-70",children:"You can select from the available option or create new ones."})]})]}),(0,t.jsxs)("div",{className:"w-full lg:w-1/2 p-16 bg-slate-100",children:[(0,t.jsx)(h,{workspace:C,icon:v,inlineImage:j}),(0,t.jsx)("pre",{className:"my-8 overflow-y-auto text-xs",children:JSON.stringify({...C},null,2)}),(0,t.jsx)("button",{onClick:L,className:"p-4 relative z-10 px-5 bg-cyan-700 border-t border-white/20 border-solid hover:bg-slate-900 transition m-2 rounded items-center text-white/70 flex cursor-pointer",children:"Download"})]})]})]})}function h(e){let{workspace:a,icon:l,inlineImage:s}=e,[i,r]=(0,n.useState)(!1),o=null;if(l){let c=new Blob([l.file]);o=URL.createObjectURL(c),a.image_src=o}return(0,t.jsx)("div",{className:"rounded-xl group w-full shadow max-w-xs relative overflow-hidden h-[100px] border border-solid flex flex-col justify-between bg-slate-300 border-slate-400/50",children:(0,t.jsxs)("div",{className:"absolute top-0 left-0 right-0 h-[200px] transition-all"+(i?" -translate-y-1/2":""),children:[(0,t.jsxs)("div",{onClick:()=>r(!0),className:"h-[100px] p-4 relative overflow-hidden cursor-pointer",children:[(0,t.jsx)("img",{className:"h-[90px] group-hover:scale-150 transition-all absolute left-2 top-1",src:a.image_src,onError(e){null!==s&&(e.target.src=s)},alt:a.friendly_name}),(0,t.jsxs)("div",{className:"flex-col pl-28",children:[(0,t.jsx)("div",{className:"font-bold",children:a.friendly_name||"Friendly Name"}),(0,t.jsxs)("div",{className:"text-xs mb-2 flex gap-2",children:["Doubtful Kasm Registry"," ",(0,t.jsx)("span",{children:void 0})]}),(0,t.jsx)("div",{className:" h-8"})]}),(0,t.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 bg-slate-400/20 h-8 text-[10px] flex items-center justify-center",children:[a.architecture&&a.architecture.map((e,a)=>(0,t.jsx)("span",{className:"p-2 py-0 m-[1px] inline-block rounded bg-slate-400/70",children:e},"arch"+a)),a.categories.map((e,a)=>(0,t.jsx)("span",{className:"p-2 py-0 m-[1px] inline-block rounded bg-slate-300/90",children:e},"cat"+a))]}),!1]}),(0,t.jsxs)("div",{className:"h-[100px] text-xs relative p-2 pl-4 flex",children:[(0,t.jsx)("button",{className:"absolute right-2 top-2 bg-slate-100 rounded-full flex justify-center items-center h-6 w-6",onClick:()=>r(!1),children:(0,t.jsx)("svg",{style:{height:"14px"},xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",children:(0,t.jsx)("path",{d:"M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z"})})}),(0,t.jsxs)("div",{className:"flex flex-col flex-grow",children:[(0,t.jsx)("div",{className:"font-bold",children:a.friendly_name})," ",a.description]}),(0,t.jsxs)("div",{className:"flex flex-col justify-end gap-1",children:[(0,t.jsx)("div",{className:"text-xs text-color w-full p-4 py-1 rounded-lg bg-black/5 flex justify-center items-center",children:"Edit"}),(0,t.jsx)("button",{className:"text-xs w-full p-4 py-1 rounded-lg flex justify-center items-center bg-blue-500 font-bold text-white",children:"Install"})]})]})]})})}}},function(e){e.O(0,[484,774,888,179],function(){return e(e.s=4873)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[858],{4873:function(e,a,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/new/[[...workspace]]",function(){return l(5790)}])},5790:function(e,a,l){"use strict";l.r(a),l.d(a,{__N_SSG:function(){return m},default:function(){return p}});var t=l(5893),s=l(9008),i=l.n(s),n=l(7294),r=l(3162),o=l(8813),c=l(3157),d=l(1163),u=JSON.parse('{"wZ":[{"friendly_name":"Bloodhound","image_src":"bloodhound-logo.webp","description":"BloodHound uses graph theory to reveal the hidden and often unintended relationships within an Active Directory environment. As of version 4.0, BloodHound now also supports Azure.","name":"bukshee/bloodhound-kasm:latest","run_config":{"hostname":"kasm"},"cores":2,"memory":2768,"gpu_count":0,"cpu_allocation_method":"Inherit","docker_registry":"https://index.docker.io/v1/","categories":["Security"],"compatibility":["1.15.x"],"require_gpu":false,"enabled":true,"image_type":"Container","architecture":["amd64"],"sha":"8aadd59eb318bfb4123ca103916012004141df6f"},{"friendly_name":"LogonTracer","image_src":"logontracer.png","description":"LogonTracer is a tool to investigate malicious logon by visualizing and analyzing Windows Active Directory event logs","name":"bukshee/logontracer-kasm:latest","run_config":{"hostname":"kasm"},"cores":2,"memory":2768,"gpu_count":0,"cpu_allocation_method":"Inherit","docker_registry":"https://index.docker.io/v1/","categories":["Security"],"compatibility":["1.13.x"],"require_gpu":false,"enabled":true,"image_type":"Container","architecture":["amd64"],"sha":"b2842a74722264929467d3e0d370b720eb6223f2"},{"friendly_name":"Spiderfoot","image_src":"spiderfoot.png","description":"SpiderFoot is an open source intelligence (OSINT) automation tool. It integrates with just about every data source available and utilises a range of methods for data analysis, making that data easy to navigate.","name":"bukshee/spiderfoot-kasm:latest","run_config":{"hostname":"kasm"},"cores":2,"memory":2768,"gpu_count":0,"cpu_allocation_method":"Inherit","docker_registry":"https://index.docker.io/v1/","categories":["Security"],"compatibility":["1.13.x"],"require_gpu":false,"enabled":true,"image_type":"Container","architecture":["amd64"],"sha":"4888216195c3a671f1b3d95df8f2dab7cbbe0332"}]}'),m=!0;function p(e){let{workspace:a}=e,s=(0,n.useRef)(null),m=(0,n.useRef)(null),p=(0,n.useRef)(null),[f,b]=(0,n.useState)(null),[g,x]=(0,n.useState)(null),[v,y]=(0,n.useState)(null),[w,_]=(0,n.useState)("png"),[j,N]=(0,n.useState)(null),k={friendly_name:null,image_src:null,description:null,name:null,cores:2,memory:2768,gpu_count:0,cpu_allocation_method:"Inherit",docker_registry:"https://index.docker.io/v1/",categories:[],require_gpu:!1,enabled:!0,image_type:"Container"},[C,S]=(0,n.useState)(k);(0,d.useRouter)(),(0,n.useEffect)(()=>{if(null===a)p.current.value="",s.current.value="",m.current.value="",b(null),x(null),y(null),S(k);else if(a&&a[0]){let e=u.wZ.find(e=>e.name===atob(a[0]));if(delete e.sha,p.current.value=e.description,s.current.value=e.name,m.current.value=e.friendly_name,e.categories){let l=[];e.categories.map(e=>l.push({label:e,value:e})),b(l)}if(e.architecture){let t=[];e.architecture.map(e=>t.push({label:e,value:e})),x(t)}N("../../icons/"+e.image_src),S({...C,...e})}},[a]);let I={control:(e,a)=>({...e,background:"#f1f5f9",borderRadius:"0.5rem",borderColor:"#94a3b8"}),multiValue(e,a){let{data:l}=a;return{...e,backgroundColor:"#dde6f1"}}};(0,n.useEffect)(()=>{if(C&&C.friendly_name){let e={...C};e.image_src=D(e.friendly_name)+"."+w,S(e)}},[w]);let A=e=>{let a={...C};a.categories=e.map(e=>e.value),S(a);let l=[];a.categories.map(e=>l.push({label:e,value:e})),b(l)},O=e=>{let a={...C};a.architecture=e.map(e=>e.value),S(a);let l=[];a.architecture.map(e=>l.push({label:e,value:e})),x(l)};function D(e){var a=e.toString().toLowerCase();return(a=(a=(a=a.split(/\&+/).join("-and-")).split(/[^a-z0-9]/).join("-")).split(/-+/).join("-")).trim("-")}let L=()=>{var e=l(5733);let a=new e,t=a.folder(C.friendly_name);if(t.file("workspace.json",JSON.stringify(C,null,2)),v)t.file(C.image_src,v.file);else if(j){let s=fetch(j).then(e=>e.blob());t.file(C.image_src,s)}a.generateAsync({type:"blob"}).then(function(e){(0,r.saveAs)(e,D(C.friendly_name)+".zip")})},R=e=>{let a={...C};a[e.target.name]=e.target.value,"icon"===e.target.name&&(delete a.icon,y({value:e.target.value,file:e.target.files[0]}),_(e.target.value.substr(e.target.value.lastIndexOf(".")+1)),N(null)),a.friendly_name&&(a.image_src=D(a.friendly_name)+"."+w),S(a)};return(0,t.jsxs)("div",{className:"",children:[(0,t.jsxs)(i(),{children:[(0,t.jsx)("title",{children:"Kasm Workspaces"}),(0,t.jsx)("meta",{name:"description",content:"List of workspaces for Kasm Webspaces"}),(0,t.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row w-full my-20 max-w-6xl text-sm rounded-xl overflow-hidden mx-auto",children:[(0,t.jsxs)("div",{className:"w-full lg:w-1/2 p-16 bg-slate-300",children:[(0,t.jsx)("h1",{className:"text-2xl font-medium mb-2",children:"Add Workspace"}),(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("p",{className:"mb-8 opacity-70",children:'This page is designed to allow admins to generate the JSON they need to upload to the "workspaces" directory. It also allows end users to see what settings are needed if they want to manually copy them into a new workspace.'}),(0,t.jsx)("label",{className:"mb-2 font-medium",children:"Icon"}),(0,t.jsx)("input",{type:"file",name:"icon",onChange:R,className:"mb-2 p-2 rounded-lg bg-slate-100 border border-solid border-slate-400"}),(0,t.jsx)("p",{className:"mb-6 opacity-70",children:"Select the image to use, image will be renamed when it's downloaded."}),(0,t.jsx)("label",{className:"mb-2 font-medium",children:"Friendly Name"}),(0,t.jsx)("input",{ref:m,name:"friendly_name",onChange:R,className:"mb-2 p-2 rounded-lg bg-slate-100 border border-solid border-slate-400"}),(0,t.jsx)("p",{className:"mb-6 opacity-70",children:"This is the name that will show for users"}),(0,t.jsx)("label",{className:"mb-2 font-medium",children:"Categories"}),(0,t.jsx)(o.Z,{instanceId:"1",name:"categories",isMulti:!0,options:[{value:"Browser",label:"Browser"},{value:"Communication",label:"Communication"},{value:"Desktop",label:"Desktop"},{value:"Development",label:"Development"},{value:"Games",label:"Games"},{value:"Multimedia",label:"Multimedia"},{value:"Office",label:"Office"},{value:"Privacy",label:"Privacy"},{value:"Productivity",label:"Productivity"},{value:"Remote Access",label:"Remote Access"}],onChange:A,styles:I,value:f}),(0,t.jsx)("p",{className:"mb-6 mt-2 opacity-70",children:"You can select from the available option or create new ones."}),(0,t.jsx)("label",{className:"mb-2 font-medium",children:"Description"}),(0,t.jsx)("input",{ref:p,name:"description",onChange:R,className:"mb-2 p-2 rounded-lg bg-slate-100 border border-solid border-slate-400"}),(0,t.jsx)("p",{className:"mb-6 opacity-70",children:"A short description about the workspace"}),(0,t.jsx)("label",{className:"mb-2 font-medium",children:"Docker Image"}),(0,t.jsx)("input",{ref:s,name:"name",onChange:R,className:"mb-2 p-2 rounded-lg bg-slate-100 border border-solid border-slate-400"}),(0,t.jsxs)("p",{className:"mb-6 opacity-70",children:["The docker image to use, i.e. ",(0,t.jsx)("code",{className:"text-xs p-1 px-2 rounded bg-white/40",children:"kasmweb/filezilla:develop"})]}),(0,t.jsx)("label",{className:"mb-2 font-medium",children:"Architecture"}),(0,t.jsx)(c.ZP,{instanceId:"2",name:"architecture",isMulti:!0,options:[{value:"amd64",label:"amd64"},{value:"arm64",label:"arm64"}],onChange:O,styles:I,value:g}),(0,t.jsx)("p",{className:"mb-6 mt-2 opacity-70",children:"You can select from the available option or create new ones."})]})]}),(0,t.jsxs)("div",{className:"w-full lg:w-1/2 p-16 bg-slate-100",children:[(0,t.jsx)(h,{workspace:C,icon:v,inlineImage:j}),(0,t.jsx)("pre",{className:"my-8 overflow-y-auto text-xs",children:JSON.stringify({...C},null,2)}),(0,t.jsx)("button",{onClick:L,className:"p-4 relative z-10 px-5 bg-cyan-700 border-t border-white/20 border-solid hover:bg-slate-900 transition m-2 rounded items-center text-white/70 flex cursor-pointer",children:"Download"})]})]})]})}function h(e){let{workspace:a,icon:l,inlineImage:s}=e,[i,r]=(0,n.useState)(!1),o=null;if(l){let c=new Blob([l.file]);o=URL.createObjectURL(c),a.image_src=o}return(0,t.jsx)("div",{className:"rounded-xl group w-full shadow max-w-xs relative overflow-hidden h-[100px] border border-solid flex flex-col justify-between bg-slate-300 border-slate-400/50",children:(0,t.jsxs)("div",{className:"absolute top-0 left-0 right-0 h-[200px] transition-all"+(i?" -translate-y-1/2":""),children:[(0,t.jsxs)("div",{onClick:()=>r(!0),className:"h-[100px] p-4 relative overflow-hidden cursor-pointer",children:[(0,t.jsx)("img",{className:"h-[90px] group-hover:scale-150 transition-all absolute left-2 top-1",src:a.image_src,onError(e){null!==s&&(e.target.src=s)},alt:a.friendly_name}),(0,t.jsxs)("div",{className:"flex-col pl-28",children:[(0,t.jsx)("div",{className:"font-bold",children:a.friendly_name||"Friendly Name"}),(0,t.jsxs)("div",{className:"text-xs mb-2 flex gap-2",children:["Doubtful Kasm Registry"," ",(0,t.jsx)("span",{children:void 0})]}),(0,t.jsx)("div",{className:" h-8"})]}),(0,t.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 bg-slate-400/20 h-8 text-[10px] flex items-center justify-center",children:[a.architecture&&a.architecture.map((e,a)=>(0,t.jsx)("span",{className:"p-2 py-0 m-[1px] inline-block rounded bg-slate-400/70",children:e},"arch"+a)),a.categories.map((e,a)=>(0,t.jsx)("span",{className:"p-2 py-0 m-[1px] inline-block rounded bg-slate-300/90",children:e},"cat"+a))]}),!1]}),(0,t.jsxs)("div",{className:"h-[100px] text-xs relative p-2 pl-4 flex",children:[(0,t.jsx)("button",{className:"absolute right-2 top-2 bg-slate-100 rounded-full flex justify-center items-center h-6 w-6",onClick:()=>r(!1),children:(0,t.jsx)("svg",{style:{height:"14px"},xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",children:(0,t.jsx)("path",{d:"M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z"})})}),(0,t.jsxs)("div",{className:"flex flex-col flex-grow",children:[(0,t.jsx)("div",{className:"font-bold",children:a.friendly_name})," ",a.description]}),(0,t.jsxs)("div",{className:"flex flex-col justify-end gap-1",children:[(0,t.jsx)("div",{className:"text-xs text-color w-full p-4 py-1 rounded-lg bg-black/5 flex justify-center items-center",children:"Edit"}),(0,t.jsx)("button",{className:"text-xs w-full p-4 py-1 rounded-lg flex justify-center items-center bg-blue-500 font-bold text-white",children:"Install"})]})]})]})})}}},function(e){e.O(0,[484,774,888,179],function(){return e(e.s=4873)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/1.0/index.html b/1.0/index.html index 7a2e8f1..2b24438 100644 --- a/1.0/index.html +++ b/1.0/index.html @@ -1 +1 @@ -Kasm Workspaces
Doubtful Kasm Registry
Workspace Registry

Workspaces

No workspaces found

\ No newline at end of file +Kasm Workspaces
Doubtful Kasm Registry
Workspace Registry

Workspaces

No workspaces found

\ No newline at end of file diff --git a/1.0/list.json b/1.0/list.json index ab89a73..a4aa988 100644 --- a/1.0/list.json +++ b/1.0/list.json @@ -1 +1 @@ -{"name":"Doubtful Kasm Registry","workspacecount":3,"icon":"https://avatars.githubusercontent.com/u/23531986?v=4","description":"A mash of custom images","list_url":"https://doubtfulturnip.github.io/doubtful-kasm-registry/","contact_url":"https://github.com/DoubtfulTurnip/","modified":1701293822783,"workspaces":[{"friendly_name":"Bloodhound","image_src":"bloodhound-logo.webp","description":"BloodHound uses graph theory to reveal the hidden and often unintended relationships within an Active Directory environment. As of version 4.0, BloodHound now also supports Azure.","name":"bukshee/bloodhound-kasm:latest","run_config":{"hostname":"kasm"},"cores":2,"memory":2768,"gpu_count":0,"cpu_allocation_method":"Inherit","docker_registry":"https://index.docker.io/v1/","categories":["Security"],"compatibility":["1.14.x"],"require_gpu":false,"enabled":true,"image_type":"Container","architecture":["amd64"],"sha":"1f8c320b36e9fb7017543485c3cc581da4377d07"},{"friendly_name":"LogonTracer","image_src":"logontracer.png","description":"LogonTracer is a tool to investigate malicious logon by visualizing and analyzing Windows Active Directory event logs","name":"bukshee/logontracer-kasm:latest","run_config":{"hostname":"kasm"},"cores":2,"memory":2768,"gpu_count":0,"cpu_allocation_method":"Inherit","docker_registry":"https://index.docker.io/v1/","categories":["Security"],"compatibility":["1.13.x"],"require_gpu":false,"enabled":true,"image_type":"Container","architecture":["amd64"],"sha":"b2842a74722264929467d3e0d370b720eb6223f2"},{"friendly_name":"Spiderfoot","image_src":"spiderfoot.png","description":"SpiderFoot is an open source intelligence (OSINT) automation tool. It integrates with just about every data source available and utilises a range of methods for data analysis, making that data easy to navigate.","name":"bukshee/spiderfoot-kasm:latest","run_config":{"hostname":"kasm"},"cores":2,"memory":2768,"gpu_count":0,"cpu_allocation_method":"Inherit","docker_registry":"https://index.docker.io/v1/","categories":["Security"],"compatibility":["1.13.x"],"require_gpu":false,"enabled":true,"image_type":"Container","architecture":["amd64"],"sha":"4888216195c3a671f1b3d95df8f2dab7cbbe0332"}]} \ No newline at end of file +{"name":"Doubtful Kasm Registry","workspacecount":3,"icon":"https://avatars.githubusercontent.com/u/23531986?v=4","description":"A mash of custom images","list_url":"https://doubtfulturnip.github.io/doubtful-kasm-registry/","contact_url":"https://github.com/DoubtfulTurnip/","modified":1722222276676,"workspaces":[{"friendly_name":"Bloodhound","image_src":"bloodhound-logo.webp","description":"BloodHound uses graph theory to reveal the hidden and often unintended relationships within an Active Directory environment. As of version 4.0, BloodHound now also supports Azure.","name":"bukshee/bloodhound-kasm:latest","run_config":{"hostname":"kasm"},"cores":2,"memory":2768,"gpu_count":0,"cpu_allocation_method":"Inherit","docker_registry":"https://index.docker.io/v1/","categories":["Security"],"compatibility":["1.15.x"],"require_gpu":false,"enabled":true,"image_type":"Container","architecture":["amd64"],"sha":"8aadd59eb318bfb4123ca103916012004141df6f"},{"friendly_name":"LogonTracer","image_src":"logontracer.png","description":"LogonTracer is a tool to investigate malicious logon by visualizing and analyzing Windows Active Directory event logs","name":"bukshee/logontracer-kasm:latest","run_config":{"hostname":"kasm"},"cores":2,"memory":2768,"gpu_count":0,"cpu_allocation_method":"Inherit","docker_registry":"https://index.docker.io/v1/","categories":["Security"],"compatibility":["1.13.x"],"require_gpu":false,"enabled":true,"image_type":"Container","architecture":["amd64"],"sha":"b2842a74722264929467d3e0d370b720eb6223f2"},{"friendly_name":"Spiderfoot","image_src":"spiderfoot.png","description":"SpiderFoot is an open source intelligence (OSINT) automation tool. It integrates with just about every data source available and utilises a range of methods for data analysis, making that data easy to navigate.","name":"bukshee/spiderfoot-kasm:latest","run_config":{"hostname":"kasm"},"cores":2,"memory":2768,"gpu_count":0,"cpu_allocation_method":"Inherit","docker_registry":"https://index.docker.io/v1/","categories":["Security"],"compatibility":["1.13.x"],"require_gpu":false,"enabled":true,"image_type":"Container","architecture":["amd64"],"sha":"4888216195c3a671f1b3d95df8f2dab7cbbe0332"}]} \ No newline at end of file diff --git a/1.0/new/YnVrc2hlZS9ibG9vZGhvdW5kLWthc206bGF0ZXN0/index.html b/1.0/new/YnVrc2hlZS9ibG9vZGhvdW5kLWthc206bGF0ZXN0/index.html index 937a9e9..011f7c8 100644 --- a/1.0/new/YnVrc2hlZS9ibG9vZGhvdW5kLWthc206bGF0ZXN0/index.html +++ b/1.0/new/YnVrc2hlZS9ibG9vZGhvdW5kLWthc206bGF0ZXN0/index.html @@ -1,4 +1,4 @@ -Kasm Workspaces
Doubtful Kasm Registry
Workspace Registry

Add Workspace

This page is designed to allow admins to generate the JSON they need to upload to the "workspaces" directory. It also allows end users to see what settings are needed if they want to manually copy them into a new workspace.

Select the image to use, image will be renamed when it's downloaded.

This is the name that will show for users

Select...

You can select from the available option or create new ones.

A short description about the workspace

The docker image to use, i.e. kasmweb/filezilla:develop

Select...

You can select from the available option or create new ones.

Friendly Name
Doubtful Kasm Registry
Edit
{
+Kasm Workspaces
Doubtful Kasm Registry
Workspace Registry

Add Workspace

This page is designed to allow admins to generate the JSON they need to upload to the "workspaces" directory. It also allows end users to see what settings are needed if they want to manually copy them into a new workspace.

Select the image to use, image will be renamed when it's downloaded.

This is the name that will show for users

Select...

You can select from the available option or create new ones.

A short description about the workspace

The docker image to use, i.e. kasmweb/filezilla:develop

Select...

You can select from the available option or create new ones.

Friendly Name
Doubtful Kasm Registry
Edit
{
   "friendly_name": null,
   "image_src": null,
   "description": null,
@@ -12,4 +12,4 @@
   "require_gpu": false,
   "enabled": true,
   "image_type": "Container"
-}
\ No newline at end of file +}
\ No newline at end of file diff --git a/1.0/new/YnVrc2hlZS9sb2dvbnRyYWNlci1rYXNtOmxhdGVzdA==/index.html b/1.0/new/YnVrc2hlZS9sb2dvbnRyYWNlci1rYXNtOmxhdGVzdA==/index.html index 4e3457f..e09804f 100644 --- a/1.0/new/YnVrc2hlZS9sb2dvbnRyYWNlci1rYXNtOmxhdGVzdA==/index.html +++ b/1.0/new/YnVrc2hlZS9sb2dvbnRyYWNlci1rYXNtOmxhdGVzdA==/index.html @@ -1,4 +1,4 @@ -Kasm Workspaces
Doubtful Kasm Registry
Workspace Registry

Add Workspace

This page is designed to allow admins to generate the JSON they need to upload to the "workspaces" directory. It also allows end users to see what settings are needed if they want to manually copy them into a new workspace.

Select the image to use, image will be renamed when it's downloaded.

This is the name that will show for users

Select...

You can select from the available option or create new ones.

A short description about the workspace

The docker image to use, i.e. kasmweb/filezilla:develop

Select...

You can select from the available option or create new ones.

Friendly Name
Doubtful Kasm Registry
Edit
{
+Kasm Workspaces
Doubtful Kasm Registry
Workspace Registry

Add Workspace

This page is designed to allow admins to generate the JSON they need to upload to the "workspaces" directory. It also allows end users to see what settings are needed if they want to manually copy them into a new workspace.

Select the image to use, image will be renamed when it's downloaded.

This is the name that will show for users

Select...

You can select from the available option or create new ones.

A short description about the workspace

The docker image to use, i.e. kasmweb/filezilla:develop

Select...

You can select from the available option or create new ones.

Friendly Name
Doubtful Kasm Registry
Edit
{
   "friendly_name": null,
   "image_src": null,
   "description": null,
@@ -12,4 +12,4 @@
   "require_gpu": false,
   "enabled": true,
   "image_type": "Container"
-}
\ No newline at end of file +}
\ No newline at end of file diff --git a/1.0/new/YnVrc2hlZS9zcGlkZXJmb290LWthc206bGF0ZXN0/index.html b/1.0/new/YnVrc2hlZS9zcGlkZXJmb290LWthc206bGF0ZXN0/index.html index 56aa9e9..af4bdc3 100644 --- a/1.0/new/YnVrc2hlZS9zcGlkZXJmb290LWthc206bGF0ZXN0/index.html +++ b/1.0/new/YnVrc2hlZS9zcGlkZXJmb290LWthc206bGF0ZXN0/index.html @@ -1,4 +1,4 @@ -Kasm Workspaces
Doubtful Kasm Registry
Workspace Registry

Add Workspace

This page is designed to allow admins to generate the JSON they need to upload to the "workspaces" directory. It also allows end users to see what settings are needed if they want to manually copy them into a new workspace.

Select the image to use, image will be renamed when it's downloaded.

This is the name that will show for users

Select...

You can select from the available option or create new ones.

A short description about the workspace

The docker image to use, i.e. kasmweb/filezilla:develop

Select...

You can select from the available option or create new ones.

Friendly Name
Doubtful Kasm Registry
Edit
{
+Kasm Workspaces
Doubtful Kasm Registry
Workspace Registry

Add Workspace

This page is designed to allow admins to generate the JSON they need to upload to the "workspaces" directory. It also allows end users to see what settings are needed if they want to manually copy them into a new workspace.

Select the image to use, image will be renamed when it's downloaded.

This is the name that will show for users

Select...

You can select from the available option or create new ones.

A short description about the workspace

The docker image to use, i.e. kasmweb/filezilla:develop

Select...

You can select from the available option or create new ones.

Friendly Name
Doubtful Kasm Registry
Edit
{
   "friendly_name": null,
   "image_src": null,
   "description": null,
@@ -12,4 +12,4 @@
   "require_gpu": false,
   "enabled": true,
   "image_type": "Container"
-}
\ No newline at end of file +}
\ No newline at end of file diff --git a/1.0/new/index.html b/1.0/new/index.html index 0afe3ab..cb1dda5 100644 --- a/1.0/new/index.html +++ b/1.0/new/index.html @@ -1,4 +1,4 @@ -Kasm Workspaces
Doubtful Kasm Registry
Workspace Registry

Add Workspace

This page is designed to allow admins to generate the JSON they need to upload to the "workspaces" directory. It also allows end users to see what settings are needed if they want to manually copy them into a new workspace.

Select the image to use, image will be renamed when it's downloaded.

This is the name that will show for users

Select...

You can select from the available option or create new ones.

A short description about the workspace

The docker image to use, i.e. kasmweb/filezilla:develop

Select...

You can select from the available option or create new ones.

Friendly Name
Doubtful Kasm Registry
Edit
{
+Kasm Workspaces
Doubtful Kasm Registry
Workspace Registry

Add Workspace

This page is designed to allow admins to generate the JSON they need to upload to the "workspaces" directory. It also allows end users to see what settings are needed if they want to manually copy them into a new workspace.

Select the image to use, image will be renamed when it's downloaded.

This is the name that will show for users

Select...

You can select from the available option or create new ones.

A short description about the workspace

The docker image to use, i.e. kasmweb/filezilla:develop

Select...

You can select from the available option or create new ones.

Friendly Name
Doubtful Kasm Registry
Edit
{
   "friendly_name": null,
   "image_src": null,
   "description": null,
@@ -12,4 +12,4 @@
   "require_gpu": false,
   "enabled": true,
   "image_type": "Container"
-}
\ No newline at end of file +}
\ No newline at end of file