├── .github └── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Constants.py ├── HTB ├── .obsidian │ ├── app.json │ ├── appearance.json │ ├── community-plugins.json │ ├── core-plugins.json │ ├── graph.json │ ├── hotkeys.json │ ├── plugins │ │ ├── buttons │ │ │ ├── main.js │ │ │ ├── manifest.json │ │ │ └── styles.css │ │ ├── dataview │ │ │ ├── data.json │ │ │ ├── main.js │ │ │ ├── manifest.json │ │ │ └── styles.css │ │ ├── metadata-menu │ │ │ ├── data.json │ │ │ ├── main.js │ │ │ ├── manifest.json │ │ │ └── styles.css │ │ ├── obsidian-chartsview-plugin │ │ │ ├── data.json │ │ │ ├── main.js │ │ │ ├── manifest.json │ │ │ └── styles.css │ │ ├── obsidian-shellcommands │ │ │ ├── data.json │ │ │ ├── main.js │ │ │ ├── manifest.json │ │ │ └── styles.css │ │ └── table-editor-obsidian │ │ │ ├── data.json │ │ │ ├── main.js │ │ │ ├── manifest.json │ │ │ └── styles.css │ ├── templates.json │ ├── themes │ │ ├── Aqua │ │ │ ├── manifest.json │ │ │ └── theme.css │ │ ├── Blue Topaz │ │ │ ├── manifest.json │ │ │ └── theme.css │ │ └── Minimal │ │ │ ├── manifest.json │ │ │ └── theme.css │ ├── workspace.json │ └── workspaces.json ├── .res │ ├── Linux.png │ └── Windows.png ├── Index.md ├── assets │ ├── create_machine_example.png │ ├── index_machine_info_example.png │ ├── machine_info_example.png │ └── update_machine_example.png ├── fileClass │ └── Machine.md └── ⚡ Start Machine ⚡.md ├── LICENSE ├── README.md ├── SECURITY.md ├── hackthebox ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-310.pyc │ ├── challenge.cpython-310.pyc │ ├── constants.cpython-310.pyc │ ├── content.cpython-310.pyc │ ├── endgame.cpython-310.pyc │ ├── errors.cpython-310.pyc │ ├── fortress.cpython-310.pyc │ ├── htb.cpython-310.pyc │ ├── machine.cpython-310.pyc │ ├── search.cpython-310.pyc │ ├── solve.cpython-310.pyc │ ├── team.cpython-310.pyc │ ├── user.cpython-310.pyc │ ├── utils.cpython-310.pyc │ └── vpn.cpython-310.pyc ├── challenge.py ├── constants.py ├── content.py ├── endgame.py ├── errors.py ├── fortress.py ├── htb.py ├── leaderboard.py ├── machine.py ├── search.py ├── solve.py ├── team.py ├── user.py ├── utils.py └── vpn.py ├── htb_api.py ├── requirements.txt └── templates_md ├── __init__.py ├── __pycache__ ├── __init__.cpython-310.pyc ├── index_template.cpython-310.pyc ├── machine_template.cpython-310.pyc ├── template_char_user_rating.cpython-310.pyc └── template_chart_radar.cpython-310.pyc ├── exploitation_template.py ├── index_template.py ├── machine_template.py ├── post_exploitation_template.py ├── recon_template.py ├── template_char_user_rating.py └── template_chart_radar.py /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. Go to '...' 16 | 2. Click on '....' 17 | 3. Scroll down to '....' 18 | 4. See error 19 | 20 | **Expected behavior** 21 | A clear and concise description of what you expected to happen. 22 | 23 | **Screenshots** 24 | If applicable, add screenshots to help explain your problem. 25 | 26 | **Desktop (please complete the following information):** 27 | - OS: [e.g. iOS] 28 | - Browser [e.g. chrome, safari] 29 | - Version [e.g. 22] 30 | 31 | **Smartphone (please complete the following information):** 32 | - Device: [e.g. iPhone6] 33 | - OS: [e.g. iOS8.1] 34 | - Browser [e.g. stock browser, safari] 35 | - Version [e.g. 22] 36 | 37 | **Additional context** 38 | Add any other context about the problem here. 39 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__ 2 | test.py 3 | HTB/Machines/* 4 | Constants.py 5 | TODO.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Code of Conduct - HTNotes 2 | 3 | ## Our Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as 6 | contributors and maintainers pledge to make participation in our project and 7 | our community a harassment-free experience for everyone, regardless of age, body 8 | size, disability, ethnicity, sex characteristics, gender identity and expression, 9 | level of experience, education, socio-economic status, nationality, personal 10 | appearance, race, religion, or sexual identity and orientation. 11 | 12 | ## Our Standards 13 | 14 | Examples of behavior that contributes to a positive environment for our 15 | community include: 16 | 17 | * Demonstrating empathy and kindness toward other people 18 | * Being respectful of differing opinions, viewpoints, and experiences 19 | * Giving and gracefully accepting constructive feedback 20 | * Accepting responsibility and apologizing to those affected by our mistakes, 21 | and learning from the experience 22 | * Focusing on what is best not just for us as individuals, but for the 23 | overall community 24 | 25 | Examples of unacceptable behavior include: 26 | 27 | * The use of sexualized language or imagery, and sexual attention or 28 | advances 29 | * Trolling, insulting or derogatory comments, and personal or political attacks 30 | * Public or private harassment 31 | * Publishing others' private information, such as a physical or email 32 | address, without their explicit permission 33 | * Other conduct which could reasonably be considered inappropriate in a 34 | professional setting 35 | 36 | ## Our Responsibilities 37 | 38 | Project maintainers are responsible for clarifying and enforcing our standards of 39 | acceptable behavior and will take appropriate and fair corrective action in 40 | response to any instances of unacceptable behavior. 41 | 42 | Project maintainers have the right and responsibility to remove, edit, or reject 43 | comments, commits, code, wiki edits, issues, and other contributions that are 44 | not aligned to this Code of Conduct, or to ban 45 | temporarily or permanently any contributor for other behaviors that they deem 46 | inappropriate, threatening, offensive, or harmful. 47 | 48 | ## Scope 49 | 50 | This Code of Conduct applies within all community spaces, and also applies when 51 | an individual is officially representing the community in public spaces. 52 | Examples of representing our community include using an official e-mail address, 53 | posting via an official social media account, or acting as an appointed 54 | representative at an online or offline event. 55 | 56 | ## Enforcement 57 | 58 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 59 | reported to the community leaders responsible for enforcement at <0x4xel@gmail.com>. 60 | All complaints will be reviewed and investigated promptly and fairly. 61 | 62 | All community leaders are obligated to respect the privacy and security of the 63 | reporter of any incident. 64 | 65 | ## Attribution 66 | 67 | This Code of Conduct is adapted from the [Contributor Covenant](https://contributor-covenant.org/), version 68 | [1.4](https://www.contributor-covenant.org/version/1/4/code-of-conduct/code_of_conduct.md) and 69 | [2.0](https://www.contributor-covenant.org/version/2/0/code_of_conduct/code_of_conduct.md), 70 | and was generated by [contributing-gen](https://github.com/bttger/contributing-gen). 71 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | 2 | # Contributing to HTNotes 3 | 4 | First off, thanks for taking the time to contribute! ❤️ 5 | 6 | All types of contributions are encouraged and valued. See the [Table of Contents](#table-of-contents) for different ways to help and details about how this project handles them. Please make sure to read the relevant section before making your contribution. It will make it a lot easier for us maintainers and smooth out the experience for all involved. The community looks forward to your contributions. 🎉 7 | 8 | > And if you like the project, but just don't have time to contribute, that's fine. There are other easy ways to support the project and show your appreciation, which we would also be very happy about: 9 | > - Star the project 10 | > - Tweet about it 11 | > - Refer this project in your project's readme 12 | > - Mention the project at local meetups and tell your friends/colleagues 13 | 14 | 15 | ## Table of Contents 16 | 17 | - [Code of Conduct](#code-of-conduct) 18 | - [I Have a Question](#i-have-a-question) 19 | - [I Want To Contribute](#i-want-to-contribute) 20 | - [Reporting Bugs](#reporting-bugs) 21 | - [Suggesting Enhancements](#suggesting-enhancements) 22 | - [Your First Code Contribution](#your-first-code-contribution) 23 | - [Improving The Documentation](#improving-the-documentation) 24 | - [Styleguides](#styleguides) 25 | - [Commit Messages](#commit-messages) 26 | - [Join The Project Team](#join-the-project-team) 27 | 28 | 29 | ## Code of Conduct 30 | 31 | This project and everyone participating in it is governed by the 32 | [HTNotes Code of Conduct](https://github.com/0x4xel/HTNoteblob/master/CODE_OF_CONDUCT.md). 33 | By participating, you are expected to uphold this code. Please report unacceptable behavior 34 | to <0x4xel@gmail.com>. 35 | 36 | 37 | ## I Have a Question 38 | 39 | > If you want to ask a question, we assume that you have read the available [Documentation](). 40 | 41 | Before you ask a question, it is best to search for existing [Issues](https://github.com/0x4xel/HTNote/issues) that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue. It is also advisable to search the internet for answers first. 42 | 43 | If you then still feel the need to ask a question and need clarification, we recommend the following: 44 | 45 | - Open an [Issue](https://github.com/0x4xel/HTNote/issues/new). 46 | - Provide as much context as you can about what you're running into. 47 | - Provide project and platform versions (nodejs, npm, etc), depending on what seems relevant. 48 | 49 | We will then take care of the issue as soon as possible. 50 | 51 | 65 | 66 | ## I Want To Contribute 67 | 68 | > ### Legal Notice 69 | > When contributing to this project, you must agree that you have authored 100% of the content, that you have the necessary rights to the content and that the content you contribute may be provided under the project license. 70 | 71 | ### Reporting Bugs 72 | 73 | 74 | #### Before Submitting a Bug Report 75 | 76 | A good bug report shouldn't leave others needing to chase you up for more information. Therefore, we ask you to investigate carefully, collect information and describe the issue in detail in your report. Please complete the following steps in advance to help us fix any potential bug as fast as possible. 77 | 78 | - Make sure that you are using the latest version. 79 | - Determine if your bug is really a bug and not an error on your side e.g. using incompatible environment components/versions (Make sure that you have read the [documentation](). If you are looking for support, you might want to check [this section](#i-have-a-question)). 80 | - To see if other users have experienced (and potentially already solved) the same issue you are having, check if there is not already a bug report existing for your bug or error in the [bug tracker](https://github.com/0x4xel/HTNoteissues?q=label%3Abug). 81 | - Also make sure to search the internet (including Stack Overflow) to see if users outside of the GitHub community have discussed the issue. 82 | - Collect information about the bug: 83 | - Stack trace (Traceback) 84 | - OS, Platform and Version (Windows, Linux, macOS, x86, ARM) 85 | - Version of the interpreter, compiler, SDK, runtime environment, package manager, depending on what seems relevant. 86 | - Possibly your input and the output 87 | - Can you reliably reproduce the issue? And can you also reproduce it with older versions? 88 | 89 | 90 | #### How Do I Submit a Good Bug Report? 91 | 92 | > You must never report security related issues, vulnerabilities or bugs including sensitive information to the issue tracker, or elsewhere in public. Instead sensitive bugs must be sent by email to <0x4xel@gmail.com>. 93 | 94 | 95 | We use GitHub issues to track bugs and errors. If you run into an issue with the project: 96 | 97 | - Open an [Issue](https://github.com/0x4xel/HTNote/issues/new). (Since we can't be sure at this point whether it is a bug or not, we ask you not to talk about a bug yet and not to label the issue.) 98 | - Explain the behavior you would expect and the actual behavior. 99 | - Please provide as much context as possible and describe the *reproduction steps* that someone else can follow to recreate the issue on their own. This usually includes your code. For good bug reports you should isolate the problem and create a reduced test case. 100 | - Provide the information you collected in the previous section. 101 | 102 | Once it's filed: 103 | 104 | - The project team will label the issue accordingly. 105 | - A team member will try to reproduce the issue with your provided steps. If there are no reproduction steps or no obvious way to reproduce the issue, the team will ask you for those steps and mark the issue as `needs-repro`. Bugs with the `needs-repro` tag will not be addressed until they are reproduced. 106 | - If the team is able to reproduce the issue, it will be marked `needs-fix`, as well as possibly other tags (such as `critical`), and the issue will be left to be [implemented by someone](#your-first-code-contribution). 107 | 108 | 109 | 110 | 111 | ### Suggesting Enhancements 112 | 113 | This section guides you through submitting an enhancement suggestion for HTNotes, **including completely new features and minor improvements to existing functionality**. Following these guidelines will help maintainers and the community to understand your suggestion and find related suggestions. 114 | 115 | 116 | #### Before Submitting an Enhancement 117 | 118 | - Make sure that you are using the latest version. 119 | - Read the [documentation]() carefully and find out if the functionality is already covered, maybe by an individual configuration. 120 | - Perform a [search](https://github.com/0x4xel/HTNote/issues) to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one. 121 | - Find out whether your idea fits with the scope and aims of the project. It's up to you to make a strong case to convince the project's developers of the merits of this feature. Keep in mind that we want features that will be useful to the majority of our users and not just a small subset. If you're just targeting a minority of users, consider writing an add-on/plugin library. 122 | 123 | 124 | #### How Do I Submit a Good Enhancement Suggestion? 125 | 126 | Enhancement suggestions are tracked as [GitHub issues](https://github.com/0x4xel/HTNote/issues). 127 | 128 | - Use a **clear and descriptive title** for the issue to identify the suggestion. 129 | - Provide a **step-by-step description of the suggested enhancement** in as many details as possible. 130 | - **Describe the current behavior** and **explain which behavior you expected to see instead** and why. At this point you can also tell which alternatives do not work for you. 131 | - You may want to **include screenshots and animated GIFs** which help you demonstrate the steps or point out the part which the suggestion is related to. You can use [this tool](https://www.cockos.com/licecap/) to record GIFs on macOS and Windows, and [this tool](https://github.com/colinkeenan/silentcast) or [this tool](https://github.com/GNOME/byzanz) on Linux. 132 | - **Explain why this enhancement would be useful** to most HTNotes users. You may also want to point out the other projects that solved it better and which could serve as inspiration. 133 | 134 | 135 | 136 | ### Your First Code Contribution 137 | 141 | 142 | ### Improving The Documentation 143 | 147 | 148 | ## Styleguides 149 | ### Commit Messages 150 | 153 | 154 | ## Join The Project Team 155 | 156 | 157 | 158 | ## Attribution 159 | This guide is based on the **contributing-gen**. [Make your own](https://github.com/bttger/contributing-gen)! 160 | -------------------------------------------------------------------------------- /Constants.py: -------------------------------------------------------------------------------- 1 | API_TOKEN = "" # YOUR HTB APP TOKEN 2 | -------------------------------------------------------------------------------- /HTB/.obsidian/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "promptDelete": false 3 | } -------------------------------------------------------------------------------- /HTB/.obsidian/appearance.json: -------------------------------------------------------------------------------- 1 | { 2 | "accentColor": "", 3 | "cssTheme": "Blue Topaz", 4 | "theme": "obsidian", 5 | "baseFontSize": 14 6 | } -------------------------------------------------------------------------------- /HTB/.obsidian/community-plugins.json: -------------------------------------------------------------------------------- 1 | [ 2 | "dataview", 3 | "metadata-menu", 4 | "buttons", 5 | "obsidian-shellcommands", 6 | "obsidian-chartsview-plugin", 7 | "table-editor-obsidian" 8 | ] -------------------------------------------------------------------------------- /HTB/.obsidian/core-plugins.json: -------------------------------------------------------------------------------- 1 | [ 2 | "file-explorer", 3 | "global-search", 4 | "switcher", 5 | "graph", 6 | "backlink", 7 | "outgoing-link", 8 | "tag-pane", 9 | "page-preview", 10 | "daily-notes", 11 | "templates", 12 | "note-composer", 13 | "command-palette", 14 | "editor-status", 15 | "starred", 16 | "outline", 17 | "word-count", 18 | "file-recovery" 19 | ] -------------------------------------------------------------------------------- /HTB/.obsidian/graph.json: -------------------------------------------------------------------------------- 1 | { 2 | "collapse-filter": false, 3 | "search": "", 4 | "showTags": true, 5 | "showAttachments": false, 6 | "hideUnresolved": false, 7 | "showOrphans": true, 8 | "collapse-color-groups": true, 9 | "colorGroups": [], 10 | "collapse-display": false, 11 | "showArrow": false, 12 | "textFadeMultiplier": 0, 13 | "nodeSizeMultiplier": 1, 14 | "lineSizeMultiplier": 1, 15 | "collapse-forces": true, 16 | "centerStrength": 0.518713248970312, 17 | "repelStrength": 10, 18 | "linkStrength": 1, 19 | "linkDistance": 250, 20 | "scale": 0.2972991379960998, 21 | "close": true 22 | } -------------------------------------------------------------------------------- /HTB/.obsidian/hotkeys.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /HTB/.obsidian/plugins/buttons/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "buttons", 3 | "name": "Buttons", 4 | "description": "Create Buttons in your Obsidian notes to run commands, open links, and insert templates", 5 | "version": "0.4.19", 6 | "author": "shabegom", 7 | "authorUrl": "https://shbgm.ca", 8 | "isDesktopOnly": false, 9 | "minAppVersion": "0.12.8" 10 | } 11 | -------------------------------------------------------------------------------- /HTB/.obsidian/plugins/buttons/styles.css: -------------------------------------------------------------------------------- 1 | /* @settings 2 | 3 | name: Buttons 4 | id: buttons-styles 5 | settings: 6 | - 7 | id: button-background 8 | title: Background 9 | type: variable-themed-color 10 | format: hex 11 | opacity: false 12 | default-light: '#f5f6f8' 13 | default-dark: '#1b1b1b' 14 | - 15 | id: button-text 16 | title: Text 17 | type: variable-themed-color 18 | format: hex 19 | opacity: false 20 | default-light: '#1b1b1b' 21 | default-dark: '#f5f6f8' 22 | - 23 | id: button-border 24 | title: Border 25 | type: variable-themed-color 26 | format: hex 27 | opacity: false 28 | default-light: '#7a9486' 29 | default-dark: '#84a83a' 30 | - 31 | id: button-box-shadow 32 | title: Box Shadow 33 | type: variable-themed-color 34 | format: rgb 35 | opacity: true 36 | default-light: '#1b1b1b' 37 | default-dark: '#f5f6f8' 38 | - 39 | id: button-border-radius 40 | title: Border Radius 41 | type: variable-number 42 | format: px 43 | default: 5 44 | - 45 | id: button-size 46 | title: Font Size 47 | type: variable-number 48 | format: em 49 | default: 1 50 | 51 | */ 52 | 53 | .block-language-button { 54 | padding: 5px; 55 | } 56 | 57 | button.button-default { 58 | border: 0.5px solid var(--button-border, #7a9486); 59 | border-radius: var(--button-border-radius, 5px); 60 | background-color: var(--button-background); 61 | padding: 10px 30px; 62 | color: var(--button-text); 63 | text-decoration: none; 64 | font-size: var(--button-size); 65 | margin: 0 5px; 66 | box-shadow: 0 1px 3px var(--button-box-shadow, rgba(0, 0, 0, 0.12)), 67 | 0 1px 2px var(--button-box-shadow, rgba(0, 0, 0, 0.24)); 68 | transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 69 | } 70 | 71 | button.button-default:hover { 72 | z-index: 100; 73 | box-shadow: 0 4px 4px var(--button-box-shadow, rgba(0, 0, 0, 0.25)), 74 | 0 10px 10px var(--button-box-shadow, rgba(0, 0, 0, 0.22)); 75 | transform: translate3d(0px, -1.5px, 0px); 76 | background-color: var(--button-background); 77 | } 78 | 79 | .theme-dark button.button-default { 80 | border: 0.5px solid var(--button-border, #84a83a); 81 | } 82 | 83 | .theme-dark button.button-default:hover { 84 | z-index: 100; 85 | box-shadow: 0 4px 4px var(--button-box-shadow, rgba(210, 210, 210, 0.25)), 86 | 0 10px 10px var(--button-box-shadow, rgba(210, 210, 210, 0.22)); 87 | transform: translate3d(0px, -1.5px, 0px); 88 | } 89 | 90 | button.button-inline { 91 | width: unset; 92 | height: unset; 93 | padding: 0 8px; 94 | } 95 | 96 | button.blue { 97 | background: #76b3fa; 98 | color: black; 99 | } 100 | 101 | button.red { 102 | background-color: red; 103 | } 104 | 105 | button.green { 106 | background: green; 107 | } 108 | 109 | button.yellow { 110 | background: yellow; 111 | color: black; 112 | } 113 | 114 | button.purple { 115 | background: #725585; 116 | } 117 | 118 | button.blue:hover { 119 | background: #76b3fa; 120 | color: black; 121 | } 122 | 123 | button.red:hover { 124 | background: red; 125 | } 126 | 127 | button.green:hover { 128 | background: green; 129 | } 130 | 131 | button.yellow:hover { 132 | background: yellow; 133 | color: black; 134 | } 135 | 136 | button.purple:hover { 137 | background: #725585; 138 | } 139 | 140 | .button-maker { 141 | max-width: 35rem; 142 | width: 35rem; 143 | overflow-y: auto; 144 | max-height: 30rem; 145 | padding-left: 0.5rem; 146 | padding-right: 0.5rem; 147 | overflow-x: hidden; 148 | } 149 | -------------------------------------------------------------------------------- /HTB/.obsidian/plugins/dataview/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "renderNullAs": "\\-", 3 | "taskCompletionTracking": false, 4 | "taskCompletionUseEmojiShorthand": false, 5 | "taskCompletionText": "completion", 6 | "taskCompletionDateFormat": "yyyy-MM-dd", 7 | "warnOnEmptyResult": true, 8 | "refreshEnabled": true, 9 | "refreshInterval": 2500, 10 | "defaultDateFormat": "MMMM dd, yyyy", 11 | "defaultDateTimeFormat": "h:mm a - MMMM dd, yyyy", 12 | "maxRecursiveRenderDepth": 4, 13 | "tableIdColumnName": "File", 14 | "tableGroupColumnName": "Group", 15 | "allowHtml": true, 16 | "inlineQueryPrefix": "=", 17 | "inlineJsQueryPrefix": "$=", 18 | "inlineQueriesInCodeblocks": true, 19 | "enableDataviewJs": true, 20 | "enableInlineDataviewJs": false, 21 | "prettyRenderInlineFields": true 22 | } -------------------------------------------------------------------------------- /HTB/.obsidian/plugins/dataview/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "dataview", 3 | "name": "Dataview", 4 | "version": "0.5.47", 5 | "minAppVersion": "0.13.11", 6 | "description": "Complex data views for the data-obsessed.", 7 | "author": "Michael Brenan ", 8 | "authorUrl": "https://github.com/blacksmithgu", 9 | "isDesktopOnly": false 10 | } 11 | -------------------------------------------------------------------------------- /HTB/.obsidian/plugins/dataview/styles.css: -------------------------------------------------------------------------------- 1 | /** Live Preview padding fixes, specifically for DataviewJS custom HTML elements. */ 2 | .is-live-preview .block-language-dataviewjs > p, .is-live-preview .block-language-dataviewjs > span { 3 | line-height: 1.0; 4 | } 5 | 6 | /*****************/ 7 | /** Table Views **/ 8 | /*****************/ 9 | 10 | /* List View Default Styling; rendered internally as a table. */ 11 | .table-view-table { 12 | width: 100%; 13 | } 14 | 15 | .table-view-table > thead > tr, .table-view-table > tbody > tr { 16 | margin-top: 1em; 17 | margin-bottom: 1em; 18 | text-align: left; 19 | } 20 | 21 | .table-view-table > tbody > tr:hover { 22 | background-color: var(--text-selection) !important; 23 | } 24 | 25 | .table-view-table > thead > tr > th { 26 | font-weight: 700; 27 | font-size: larger; 28 | border-top: none; 29 | border-left: none; 30 | border-right: none; 31 | border-bottom: solid; 32 | 33 | max-width: 100%; 34 | } 35 | 36 | .table-view-table > tbody > tr > td { 37 | text-align: left; 38 | border: none; 39 | font-weight: 400; 40 | max-width: 100%; 41 | } 42 | 43 | .table-view-table ul, .table-view-table ol { 44 | margin-block-start: 0.2em !important; 45 | margin-block-end: 0.2em !important; 46 | } 47 | 48 | /** Rendered value styling for any view. */ 49 | .dataview-result-list-root-ul { 50 | padding: 0em !important; 51 | margin: 0em !important; 52 | } 53 | 54 | .dataview-result-list-ul { 55 | margin-block-start: 0.2em !important; 56 | margin-block-end: 0.2em !important; 57 | } 58 | 59 | /** Generic grouping styling. */ 60 | .dataview.result-group { 61 | padding-left: 8px; 62 | } 63 | 64 | /*******************/ 65 | /** Inline Fields **/ 66 | /*******************/ 67 | 68 | .dataview.inline-field-key { 69 | padding-left: 8px; 70 | padding-right: 8px; 71 | font-family: var(--font-monospace); 72 | background-color: var(--background-primary-alt); 73 | color: var(--text-nav-selected); 74 | } 75 | 76 | .dataview.inline-field-value { 77 | padding-left: 8px; 78 | padding-right: 8px; 79 | font-family: var(--font-monospace); 80 | background-color: var(--background-secondary-alt); 81 | color: var(--text-nav-selected); 82 | } 83 | 84 | .dataview.inline-field-standalone-value { 85 | padding-left: 8px; 86 | padding-right: 8px; 87 | font-family: var(--font-monospace); 88 | background-color: var(--background-secondary-alt); 89 | color: var(--text-nav-selected); 90 | } 91 | 92 | /***************/ 93 | /** Task View **/ 94 | /***************/ 95 | 96 | .dataview.task-list-item, .dataview.task-list-basic-item { 97 | margin-top: 3px; 98 | margin-bottom: 3px; 99 | transition: 0.4s; 100 | } 101 | 102 | .dataview.task-list-item:hover, .dataview.task-list-basic-item:hover { 103 | background-color: var(--text-selection); 104 | box-shadow: -40px 0 0 var(--text-selection); 105 | cursor: pointer; 106 | } 107 | 108 | /*****************/ 109 | /** Error Views **/ 110 | /*****************/ 111 | 112 | div.dataview-error-box { 113 | width: 100%; 114 | min-height: 150px; 115 | display: flex; 116 | align-items: center; 117 | justify-content: center; 118 | border: 4px dashed var(--background-secondary); 119 | } 120 | 121 | .dataview-error-message { 122 | color: var(--text-muted); 123 | text-align: center; 124 | } 125 | 126 | /*************************/ 127 | /** Additional Metadata **/ 128 | /*************************/ 129 | 130 | .dataview.small-text { 131 | font-size: smaller; 132 | color: var(--text-muted); 133 | margin-left: 3px; 134 | } 135 | 136 | .dataview.small-text::before { 137 | content: "("; 138 | } 139 | 140 | .dataview.small-text::after { 141 | content: ")"; 142 | } 143 | -------------------------------------------------------------------------------- /HTB/.obsidian/plugins/metadata-menu/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "presetFields": [], 3 | "fileClassQueries": [], 4 | "displayFieldsInContextMenu": true, 5 | "globallyIgnoredFields": [], 6 | "classFilesPath": "fileClass/", 7 | "isAutosuggestEnabled": true, 8 | "fileClassAlias": "fileClass", 9 | "settingsVersion": 3, 10 | "globalFileClass": "", 11 | "firstDayOfWeek": 1, 12 | "enableLinks": true, 13 | "enableTabHeader": true, 14 | "enableEditor": true, 15 | "enableBacklinks": true, 16 | "enableStarred": true, 17 | "enableFileExplorer": true, 18 | "enableSearch": true, 19 | "buttonIcon": "clipboard-list" 20 | } -------------------------------------------------------------------------------- /HTB/.obsidian/plugins/metadata-menu/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "metadata-menu", 3 | "name": "Metadata Menu", 4 | "version": "0.3.4", 5 | "minAppVersion": "0.15.3", 6 | "description": "For data quality enthousiasts (and dataview lovers): manage the metadata of your notes.", 7 | "author": "mdelobelle", 8 | "authorUrl": "https://github.com/mdelobelle", 9 | "isDesktopOnly": false 10 | } -------------------------------------------------------------------------------- /HTB/.obsidian/plugins/obsidian-chartsview-plugin/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "theme": "dark", 3 | "dataPath": "", 4 | "backgroundColor": "transparent", 5 | "paddingTop": 0, 6 | "paddingRight": 0, 7 | "paddingBottom": 0, 8 | "paddingLeft": 0, 9 | "showExportBtn": false, 10 | "wordCountFilter": "[A-z]{1,2}\n[0-9]+\n(?=[MDCLXVI])M*(C[MD]|D?C*)(X[CL]|L?X*)(I[XV]|V?I*)\nand\nare\nbut\ndid\nfor\nget\ngot\nhad\nhas\nher\nhim\nhis\nits\nnot\nour\nshe\nthe\nwas\nyou\nbeen\nfrom\nhave\ninto\nmine\nours\nthat\nthem\nthey\nthis\nwent\nwere\nwith\nthese\nthose" 11 | } -------------------------------------------------------------------------------- /HTB/.obsidian/plugins/obsidian-chartsview-plugin/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "obsidian-chartsview-plugin", 3 | "name": "Charts View", 4 | "version": "1.1.9", 5 | "minAppVersion": "0.9.12", 6 | "description": "Data visualization solution in Obsidian based on Ant Design Charts.", 7 | "author": "caronchen", 8 | "authorUrl": "https://github.com/caronchen/obsidian-chartsview-plugin", 9 | "isDesktopOnly": false 10 | } 11 | -------------------------------------------------------------------------------- /HTB/.obsidian/plugins/obsidian-chartsview-plugin/styles.css: -------------------------------------------------------------------------------- 1 | .chartsview-donation { 2 | width: fit-content; 3 | margin: 25px auto; 4 | text-align: center; 5 | position: absolute; 6 | left: 200px; 7 | right: 0; 8 | bottom: 0; 9 | } 10 | 11 | .chartsview-donation a.paypal { 12 | display: inline-block; 13 | } 14 | 15 | .chartsview-thumbnail-container.is-selected .chartsview-thumbnail { 16 | display: unset; 17 | position: fixed; 18 | top: 0; 19 | right: 0; 20 | } 21 | 22 | .chartsview-thumbnail-container .chartsview-thumbnail { 23 | display: none; 24 | } 25 | 26 | /* #### Desktops #### */ 27 | @media screen and (min-width: 1024px) { 28 | .chartsview-thumbnail-container .chartsview-thumbnail img { 29 | width: 500px; 30 | } 31 | } 32 | 33 | /* #### Mobile Phones Portrait or Landscape #### */ 34 | @media screen and (max-device-width: 640px) { 35 | .chartsview-thumbnail-container .chartsview-thumbnail img { 36 | width: 300px; 37 | } 38 | } 39 | 40 | .chartsview-export-button { 41 | padding: 5px; 42 | position: relative; 43 | width: fit-content; 44 | display: flex; 45 | opacity: 0; 46 | transition: opacity 500ms; 47 | background-color: var(--interactive-accent); 48 | color: var(--text-on-accent); 49 | border-radius: 5px; 50 | cursor: pointer; 51 | } 52 | 53 | .block-language-chartsview:hover .chartsview-export-button { 54 | opacity: 1; 55 | } -------------------------------------------------------------------------------- /HTB/.obsidian/plugins/obsidian-shellcommands/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "settings_version": "0.16.0", 3 | "debug": false, 4 | "obsidian_command_palette_prefix": "Execute: ", 5 | "preview_variables_in_command_palette": true, 6 | "show_autocomplete_menu": true, 7 | "working_directory": "", 8 | "default_shells": {}, 9 | "environment_variable_path_augmentations": {}, 10 | "error_message_duration": 20, 11 | "notification_message_duration": 10, 12 | "execution_notification_mode": "disabled", 13 | "output_channel_clipboard_also_outputs_to_notification": true, 14 | "enable_events": true, 15 | "approve_modals_by_pressing_enter_key": true, 16 | "max_visible_lines_in_shell_command_fields": false, 17 | "shell_commands": [ 18 | { 19 | "id": "m6e17y5rts", 20 | "platform_specific_commands": { 21 | "default": "/usr/bin/python3 {{folder_path:absolute}}/../htb_api.py -m {{_machine_name}} -v {{folder_path:absolute}}/" 22 | }, 23 | "shells": {}, 24 | "alias": "New Machine Note", 25 | "icon": "activity", 26 | "confirm_execution": true, 27 | "ignore_error_codes": [], 28 | "output_channels": { 29 | "stdout": "modal", 30 | "stderr": "notification" 31 | }, 32 | "output_wrappers": { 33 | "stdout": null, 34 | "stderr": null 35 | }, 36 | "output_channel_order": "stdout-first", 37 | "events": {}, 38 | "command_palette_availability": "enabled", 39 | "preactions": [ 40 | { 41 | "type": "prompt", 42 | "enabled": true, 43 | "prompt_id": "j2fcw45kfm" 44 | } 45 | ], 46 | "variable_default_values": { 47 | "5a0vmo68z6": { 48 | "type": "show-errors", 49 | "value": "this.app.vault.adapter.basePath" 50 | } 51 | } 52 | }, 53 | { 54 | "id": "usnoddh2no", 55 | "platform_specific_commands": { 56 | "default": "/usr/bin/python3 {{folder_path:absolute}}/../htb_api.py -m \"\" -v {{folder_path:absolute}}/" 57 | }, 58 | "shells": {}, 59 | "alias": "Update Machine", 60 | "icon": null, 61 | "confirm_execution": true, 62 | "ignore_error_codes": [], 63 | "output_channels": { 64 | "stdout": "modal", 65 | "stderr": "notification" 66 | }, 67 | "output_wrappers": { 68 | "stdout": null, 69 | "stderr": null 70 | }, 71 | "output_channel_order": "stdout-first", 72 | "events": {}, 73 | "command_palette_availability": "enabled", 74 | "preactions": [ 75 | { 76 | "type": "prompt", 77 | "enabled": false, 78 | "prompt_id": "" 79 | } 80 | ], 81 | "variable_default_values": {} 82 | }, 83 | { 84 | "id": "g7sm2q030y", 85 | "platform_specific_commands": { 86 | "default": "python3 {{folder_path:absolute}}/../../../htb_api.py -m {{folder_name}} -v {{folder_path:absolute}}/../../" 87 | }, 88 | "shells": {}, 89 | "alias": "Update this Machine", 90 | "icon": null, 91 | "confirm_execution": true, 92 | "ignore_error_codes": [], 93 | "output_channels": { 94 | "stdout": "notification", 95 | "stderr": "notification" 96 | }, 97 | "output_wrappers": { 98 | "stdout": null, 99 | "stderr": null 100 | }, 101 | "output_channel_order": "stdout-first", 102 | "events": {}, 103 | "command_palette_availability": "enabled", 104 | "preactions": [ 105 | { 106 | "type": "prompt", 107 | "enabled": false, 108 | "prompt_id": "j2fcw45kfm" 109 | } 110 | ], 111 | "variable_default_values": {} 112 | } 113 | ], 114 | "prompts": [ 115 | { 116 | "id": "j2fcw45kfm", 117 | "title": "New Machine", 118 | "description": "Input text will search the name of the machine in the HTB API and return data. ", 119 | "preview_shell_command": true, 120 | "fields": [ 121 | { 122 | "label": "Select Machine", 123 | "description": "Select a machine name", 124 | "default_value": "", 125 | "target_variable_id": "qjtovztiv3", 126 | "required": true 127 | } 128 | ], 129 | "execute_button_text": "Find" 130 | } 131 | ], 132 | "custom_variables": [ 133 | { 134 | "id": "qjtovztiv3", 135 | "name": "machine_name", 136 | "description": "" 137 | }, 138 | { 139 | "id": "5a0vmo68z6", 140 | "name": "vault_folder", 141 | "description": "Default folder" 142 | } 143 | ], 144 | "output_wrappers": [] 145 | } -------------------------------------------------------------------------------- /HTB/.obsidian/plugins/obsidian-shellcommands/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "obsidian-shellcommands", 3 | "name": "Shell commands", 4 | "version": "0.16.0", 5 | "minAppVersion": "0.15.4", 6 | "description": "You can predefine system commands that you want to run frequently, and assign hotkeys for them. For example open external applications. Automatic execution is also supported, and execution via URI links.", 7 | "author": "Jarkko Linnanvirta", 8 | "authorUrl": "", 9 | "isDesktopOnly": true 10 | } 11 | -------------------------------------------------------------------------------- /HTB/.obsidian/plugins/obsidian-shellcommands/styles.css: -------------------------------------------------------------------------------- 1 | /* 2 | 'Shell commands' plugin for Obsidian. 3 | Copyright (C) 2021 - 2022 Jarkko Linnanvirta 4 | 5 | This program is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, version 3 of the License. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program. If not, see . 16 | 17 | Contact the author (Jarkko Linnanvirta): https://github.com/Taitava/ 18 | */ 19 | 20 | /* 21 | * COMMON 22 | */ 23 | 24 | .SC-hide { 25 | display: none; 26 | } 27 | 28 | .SC-scrollable { 29 | overflow-y: auto; 30 | } 31 | 32 | .SC-no-margin { 33 | margin: 0; 34 | } 35 | 36 | .SC-no-top-border { 37 | border-top: none; 38 | } 39 | 40 | .SC-wrappable { 41 | white-space: normal; 42 | } 43 | 44 | .SC-small-font { 45 | font-size: 80%; 46 | } 47 | 48 | /* 49 | * SETTING GROUPS 50 | * Related setting fields combined together. 51 | */ 52 | 53 | div.SC-setting-group div.setting-item:not(div.setting-item-heading+div.setting-item) { 54 | /* Remove top border from all settings in the group, except settings that come AFTER a heading setting, as it looks 55 | * good when there is a border line below a heading setting. 56 | */ 57 | border-top: none; 58 | } 59 | 60 | div.SC-setting-group div.setting-item { 61 | padding: 5px; /* Shrink the padding. */ 62 | } 63 | 64 | div.SC-setting-group div.setting-item div.setting-item-info, 65 | div.SC-setting-group div.setting-item div.setting-item-control { 66 | width: 50%; /* Make sure description does not take over 50% of the space. */ 67 | } 68 | 69 | div.SC-setting-group div.setting-item input[type=text], 70 | div.SC-setting-group div.setting-item input[type=search], 71 | div.SC-setting-group div.setting-item textarea, 72 | div.SC-setting-group div.setting-item select { 73 | width: 100%; /* Enlarge fields. */ 74 | max-width: 100%; /* Remove a maximum width limitation, at least