From 0938fe66f44d1487f0f58b42c135776dbca72145 Mon Sep 17 00:00:00 2001 From: Anton Nesterov Date: Sat, 24 Aug 2024 21:44:58 +0200 Subject: [PATCH] vault backup: 2024-08-24 21:44:58 --- .DS_Store | Bin 0 -> 6148 bytes .obsidian/app.json | 4 +- .obsidian/community-plugins.json | 1 - .obsidian/plugins/drawio-obsidian/data.json | 10 - .obsidian/plugins/drawio-obsidian/main.js | 15 -- .../plugins/drawio-obsidian/manifest.json | 10 - .obsidian/plugins/drawio-obsidian/styles.css | 28 -- .obsidian/workspace.json | 51 ++-- 01 - Planning Considerations.md | 7 +- templates/.DS_Store | Bin 0 -> 6148 bytes templates/REPORT TEMPLATE.md | 243 ++++++++++++++++++ templates/legal/DPA-en.odt | Bin 0 -> 41561 bytes templates/legal/MSA-en.odt | Bin 0 -> 25006 bytes templates/legal/NDA-en.odt | Bin 0 -> 22352 bytes templates/pentest-report-template.md | 0 15 files changed, 280 insertions(+), 89 deletions(-) create mode 100644 .DS_Store delete mode 100644 .obsidian/plugins/drawio-obsidian/data.json delete mode 100644 .obsidian/plugins/drawio-obsidian/main.js delete mode 100644 .obsidian/plugins/drawio-obsidian/manifest.json delete mode 100644 .obsidian/plugins/drawio-obsidian/styles.css create mode 100644 templates/.DS_Store create mode 100644 templates/REPORT TEMPLATE.md create mode 100644 templates/legal/DPA-en.odt create mode 100644 templates/legal/MSA-en.odt create mode 100644 templates/legal/NDA-en.odt delete mode 100644 templates/pentest-report-template.md diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..123fa21c776411e0dd26488c2fd7b738bb766277 GIT binary patch literal 6148 zcmeHKPfNov6i>FPEkoErVaI^ift%YD@lxvi0#@{(GFv*dSevnS_AmxL>lgBq_<4LU zNyV`Vo8u?Azz0!6IY(5w*jqb^CsSP;4TM$CMcu@Osy zd?}g?e~|&)J6rA96C1NH`d#wZc6`uoiQZvvKDVviz5SE(;bZ)i$QMl~hd)orw!so!p|fIT&)y`7WpWSR zGPBGeBnF59VqjeuFz26DUzY{bI*9>d;KvN$`5-_M9fO5Nb#y?3*GKf%5K*9yZwW+U z&@otO1P=(;sen3_n>0lQo&M{bM)ai_?nc+KTW^P_6T+I%4p~4w=G*U|p5Ce-0 zRQ0fd_5bYq_y1xNjfeqa;9oJoYXfiK!jepFU0NL0S^;_oih^;4#?KV!s8S5ESc;pV aO296#1LznmG=c?$E&_@MYKVbfW#9uT&`pZ~ literal 0 HcmV?d00001 diff --git a/.obsidian/app.json b/.obsidian/app.json index 9e26dfe..6abe4c1 100644 --- a/.obsidian/app.json +++ b/.obsidian/app.json @@ -1 +1,3 @@ -{} \ No newline at end of file +{ + "alwaysUpdateLinks": true +} \ No newline at end of file diff --git a/.obsidian/community-plugins.json b/.obsidian/community-plugins.json index 8ff9054..d3f66fa 100644 --- a/.obsidian/community-plugins.json +++ b/.obsidian/community-plugins.json @@ -1,4 +1,3 @@ [ - "drawio-obsidian", "obsidian-git" ] \ No newline at end of file diff --git a/.obsidian/plugins/drawio-obsidian/data.json b/.obsidian/plugins/drawio-obsidian/data.json deleted file mode 100644 index 6f13250..0000000 --- a/.obsidian/plugins/drawio-obsidian/data.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "welcomeComplete": true, - "theme": { - "dark": null, - "layout": "full" - }, - "drawing": { - "sketch": true - } -} \ No newline at end of file diff --git a/.obsidian/plugins/drawio-obsidian/main.js b/.obsidian/plugins/drawio-obsidian/main.js deleted file mode 100644 index cefa369..0000000 --- a/.obsidian/plugins/drawio-obsidian/main.js +++ /dev/null @@ -1,15 +0,0 @@ -"use strict";var e=require("obsidian"); -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */function t(e,t,n,i){return new(n||(n=Promise))((function(a,r){function l(e){try{s(i.next(e))}catch(e){r(e)}}function o(e){try{s(i.throw(e))}catch(e){r(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(l,o)}s((i=i.apply(e,t||[])).next())}))}class n extends e.EditableFileView{constructor(e,t){super(e),this.plugin=t}onMoreOptionsMenu(e){super.onMoreOptionsMenu(e),e.addItem((e=>{e.onClick((e=>{this.saveAsPng()})),e.setIcon("image-file"),e.setTitle("Export as png")}))}readBlob(e){const t=new FileReader;return new Promise((n=>{t.onload=e=>{n(e.target.result)},t.readAsDataURL(e)}))}loadImage(e){const t=new Image;return new Promise((n=>{t.onload=()=>n(t),t.src=e}))}saveAsPng(){return t(this,void 0,void 0,(function*(){const e=yield this.app.vault.read(this.file),t=document.createElement("canvas"),n=t.getContext("2d"),i=new Blob([e],{type:"image/svg+xml"}),a=yield this.readBlob(i),r=yield this.loadImage(a);t.height=r.naturalHeight,t.width=r.naturalWidth,n.fillStyle="#fff",n.fillRect(0,0,t.width,t.height),n.drawImage(r,0,0);const l=t.toDataURL("image/png"),o=document.createElement("a");o.setAttribute("href",l),o.setAttribute("download",this.file.basename+".png"),document.body.appendChild(o),o.click(),document.body.removeChild(o)}))}}var i,a;!function(e){e.Script="script",e.Stylesheet="stylesheet",e.Css="css",e.FrameConfig="frame-config",e.Load="load",e.ToggleBodyClass="toggle-body-class"}(i||(i={})),function(e){e.Change="change",e.Iframe="iframe",e.Init="init",e.Load="load",e.FocusIn="focusin",e.FocusOut="focusout"}(a||(a={}));class r{constructor(e,t){this.awaitedMessages=new Set,this.targetFactory=e,this.listener=n=>{const i=e();if(n.source!==i)return;const a=JSON.parse(n.data);t&&t(a);Array.from(this.awaitedMessages.values()).forEach((e=>{e.filter(a)&&(this.awaitedMessages.delete(e),e.callback(a))}))},window.addEventListener("message",this.listener)}validateTarget(e){if("object"!=typeof e||null===e)throw Error("Target window is not an object");if("function"!=typeof e.postMessage)throw Error("Target window does not have a postMessage function")}waitForMessage(e,t){return new Promise(((n,i)=>{const a=setTimeout((()=>{this.awaitedMessages.delete(r),i("Timeout waiting for message")}),t),r={filter:e,callback:e=>{this.awaitedMessages.delete(r),clearTimeout(a),n(e)}};this.awaitedMessages.add(r)}))}sendMessageAndWait(e,t,n){const i=this.targetFactory();this.validateTarget(i);const a=this.waitForMessage(t,n);return i.postMessage(JSON.stringify(e),"*"),a}sendMessage(e){const t=this.targetFactory();this.validateTarget(t),t.postMessage(JSON.stringify(e),"*")}destroy(){window.removeEventListener("message",this.listener)}}class l extends Event{constructor(e){super("fileChange"),this.data=e}}class o extends Event{constructor(e){super("fileLoad"),this.data=e}}class s extends Event{constructor(e){super("stateChange"),this.initialized=e}}class c{constructor(e,t){this.iframeElement=null,this.contentEl=e,this.settings=t,this.file=null,this.isInitialized=!1,this.iframeElement=this.createFrameElement(),this.frameMessenger=new r((()=>this.iframeElement.contentWindow),this.handleMessage.bind(this)),this.contentEl.appendChild(this.iframeElement)}destroy(){this.iframeElement&&(this.iframeElement.parentElement&&this.iframeElement.parentElement.removeChild(this.iframeElement),this.iframeElement=null),this.frameMessenger&&this.frameMessenger.destroy()}loadFile(e){return t(this,void 0,void 0,(function*(){this.file=null,this.isInitialized||(yield this.waitForInit()),this.frameMessenger.sendMessage({action:i.Load,xml:e});const t="undefined"!==(yield this.frameMessenger.waitForMessage((e=>"load"===e.event),5e3)).xml;return t&&(this.file={data:e}),t}))}addEventListener(e,t,n){return this.iframeElement.addEventListener.call(this.iframeElement,e,t,n)}dispatchEvent(e){return this.iframeElement.dispatchEvent.call(this.iframeElement,e)}removeEventListener(e,t,n){return this.iframeElement.removeEventListener.call(this.iframeElement,e,t,n)}createFrameElement(){const e="data:text/html,"+encodeURIComponent('\n