├── INSTALL.md ├── LICENSE ├── NOTICE ├── README.md ├── customfilters.json ├── fieldaliases.example.json ├── fieldaliases.json ├── img ├── icon128.png ├── icon16.png ├── icon32bw.png ├── icon32bw.uri └── icon48.png ├── libs ├── d3.js │ ├── LICENSE │ └── d3.v4.min.js ├── ipaddr.js │ ├── LICENSE │ └── ipaddr.min.js ├── jquery-ui-1.12.1 │ ├── AUTHORS.txt │ ├── LICENSE.txt │ ├── external │ │ └── jquery │ │ │ └── jquery.js │ ├── images │ │ ├── ui-icons_444444_256x240.png │ │ ├── ui-icons_555555_256x240.png │ │ ├── ui-icons_777620_256x240.png │ │ ├── ui-icons_777777_256x240.png │ │ ├── ui-icons_cc0000_256x240.png │ │ └── ui-icons_ffffff_256x240.png │ ├── index.html │ ├── jquery-ui.css │ ├── jquery-ui.js │ ├── jquery-ui.min.css │ ├── jquery-ui.min.js │ ├── jquery-ui.min.monkey.css │ ├── jquery-ui.structure.css │ ├── jquery-ui.structure.min.css │ ├── jquery-ui.theme.css │ ├── jquery-ui.theme.min.css │ └── package.json ├── jquery-ui-timepicker │ ├── LICENSE_MIT │ ├── jquery-ui-timepicker-addon.css │ └── jquery-ui-timepicker-addon.js ├── jquery │ ├── LICENCE.txt │ └── jquery-3.5.1.min.js ├── moment.js │ ├── LICENCE │ └── moment-with-locales.js ├── textarea-helper.js │ └── textarea-helper.js └── underscore.js │ ├── LICENSE │ └── underscore-min.js ├── manifest.json ├── options.css ├── options.html ├── options.js ├── popup.css ├── popup.html ├── popup.js ├── processTree.popup.js ├── script.js ├── siemMonkey.css ├── update.popup.js └── xhr_override.js /INSTALL.md: -------------------------------------------------------------------------------- 1 | Сохраните папку с файлами приложения или расширения на своем устройстве. 2 | Откройте страницу chrome://extensions. 3 | В правом верхнем углу включите режим разработчика. 4 | Нажмите Загрузить распакованное расширение. 5 | Найдите и выберите папку расширения. 6 | 7 | **Важно:** Для работы функции по проверке хеша файла на VirusTotal на вкладке "Процессы" плагина необходимо ввести 8 | API-ключ доступа в параметрах расширения (см. https://support.virustotal.com/hc/en-us/articles/115002100149-API). -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | This repository incorporates materials as listed below or described in the code. 2 | 3 | All files located in the libs directory are externally maintained libraries 4 | used by this software, which have their own licenses. The license files are 5 | located in the corresponding folders, the paths are listed below. 6 | 7 | --- 8 | 9 | D3.js 10 | Copyright 2010-2018 Mike Bostock 11 | 12 | This product includes software developed for D3.js (https://d3js.org/) 13 | License: libs\d3.js\LICENSE 14 | 15 | --- 16 | 17 | jQuery 18 | Copyright OpenJS Foundation and other contributors, https://openjsf.org/ 19 | 20 | This product includes software developed for jQuery (https://jquery.com/) 21 | License: libs\jquery\LICENCE.txt 22 | 23 | --- 24 | 25 | jQuery UI 26 | Copyright jQuery Foundation and other contributors, https://jquery.org/ 27 | 28 | This product includes software developed for jQuery UI (https://jqueryui.com/) 29 | License: libs\jquery-ui-1.12.1\LICENSE.txt 30 | 31 | --- 32 | 33 | jQuery UI Time Picker 34 | Copyright 2013 Trent Richardson 35 | 36 | This product includes software developed for jQuery UI Time Picker (https://github.com/trentrichardson/jQuery-Timepicker-Addon) 37 | License: libs\jquery-ui-timepicker\LICENSE_MIT 38 | 39 | 40 | --- 41 | 42 | Moment.js 43 | Copyright JS Foundation and other contributors 44 | 45 | This product includes software developed for Moment.js (https://momentjs.com/) 46 | License: libs\moment.js\LICENCE 47 | 48 | --- 49 | 50 | Underscore.js 51 | Copyright 2009-2022 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors 52 | 53 | This product includes software developed for Underscore.js (https://underscorejs.org/) 54 | License: libs\underscore.js\LICENSE 55 | 56 | --- 57 | 58 | textarea-helper.js 59 | 60 | This product includes software developed for textarea-helper (https://github.com/Codecademy/textarea-helper) 61 | License: MIT 62 | 63 | --- 64 | 65 | FlatIcon 66 | Copyright Freepik Company, https://www.freepikcompany.com/ 67 | 68 | This product includes pictures distributed via the flaticon.com website (https://www.flaticon.com/free-icon/monkey_1459529) 69 | Licensed under Freepik Company Terms of Use (https://www.freepikcompany.com/legal) 70 | 71 | 72 | 8. License Agreement for Freepik Content 73 | The Company authorizes the User to download and use the Freepik Content under the terms of this Section (see Section 7 in relation to Sponsored Content). The Company and its licensors reserve all rights over the Freepik Content not expressly granted in this license to the User. 74 | 75 | Subject to the fulfillment of these Terms, the Company authorizes the User in a non-transferable, revocable, limited, non-exclusive manner and on a worldwide basis for the duration of the relevant rights; to download, use and modify the Freepik Content, in a device the User owns or controls and only for the purposes and uses allowed in these Terms. 76 | 77 | The User may use the Freepik Content (including any derivative work), either using the Freepik Contents in its entirety or using only some or some of its elements, either using the Freepik Contents without modification, combining them with other contents or having previously modified them, being the license granted with respect to the Freepik content, provided that it: 78 | 79 | Does not involve collective use; 80 | The Freepik Content is not used in a manner that suggests an association or endorsement of any kind by the Company or the Website; 81 | The Freepik Content or any derivative work is not used or included (in whole or in part) in a database, archive or in any other media/stock product, collection, set of clips, or library, for distribution or resale or used in any other way that could prevent or limit future visits or downloads from the Website; 82 | Does not resell, assign, transfer or sublicense the Freepik Content or any derived work from the Freepik Content; 83 | Does not use the Freepik Content in printed or electronic items (e.g. t-shirts, cups, postcards, birthday or greeting cards, invitations, calendars, web models or electronic devices, apps, NFTs, videogames, advertising spots, audiovisual animations) aimed to be resold, in which the content in the Freepik Content is the main element (because of size, relevance or any other cause, in case of doubt about whether the content is main element, it shall be deemed that the content is main element); 84 | Does not use the Freepik Content (totally or partially) in any trademark, or part of the same, which may be used by any other means to guarantee or to imply a guaranty of any product and/or service, unless the Freepik Content used in such cases is modified in such a way as to be a new and different content not confusingly similar with the original Freepik Content or implies a use of the Freepik Content as a template or test, and not as a final item or material; 85 | Does not use the Freepik Content (including any caption information, title, keywords or other metadata associated with the Freepik Content) for any machine learning and/or artificial intelligence purposes, or for any technologies designed or intended for the identification of natural persons. 86 | Does not make any use of the Freepik Content which might be considered defamatory, libellous, obscene, immoral or illegal, including, without limitation, using it in a way that places any person appearing in the Freepik Content in a negative light or depicts them in a way that they may find offensive such as the use in pornography, advertisements for escort or similar services, political endorsements, birth control products, and; 87 | Does not make any use of the Freepik Content to slander, libel or to vilify a person, race, sex, culture, sexual orientation, religion, country, region, town, village or any other place, or any other human group. 88 | When any Freepik Content is marked or identified as for editorial use, or when within the same there are logos, recognizable products, public buildings, public events or images taken in places where recognizable persons appear in the background, the User shall only be entitled to use it for such editorial use. In such cases, the User undertakes not to use that content in any manner that entails any connection with any business activity, the use in economic traffic or advertising, marketing or commercialization of any product or service. The User shall be directly liable and the Company shall not assume any liability as a result of the use for commercial purposes by the User of any content belonging to the Freepik Content, which according to this paragraph should be for editorial use only. 89 | 90 | The authorization to use the Freepik Content shall be free provided that any use of the content in the Freepik Content by the User is credited to the Company/Website as stated by the Company from time to time. In order to benefit from the Service or to use the Freepik Content without acknowledging the Company/Website, the User must purchase a premium subscription (hereinafter, the "Premium Subscription") in the Website and download the Freepik Content during the term of any such Premium Subscription. Conditions in Section 10 shall apply to the purchase of the Premium Subscription. 91 | 92 | As a general rule, it is forbidden for a User to authorize any third parties to use the Freepik Content (or any modification of any content in the Freepik Content). As an exception to the prohibition, the User may allow third parties to use the Freepik Content, when each and every of the following conditions are met: 93 | 94 | The third party has professionally instructed the User to produce goods or provide services to it/him/her and the User uses a limited number of items within the Freepik Content to produce such goods or provide such services to the instructing third party; 95 | The authorization granted by the User to the third party is in writing and complies with every restriction of the User’s authorization to use the relevant Freepik Content and includes, without limitation, a restriction for the third party to distribute, resell or license the relevant content in the Freepik Content (i.e. the third party is the final user of the relevant content in the Freepik Content); 96 | None of the contents in the Freepik Content which are subject to the authorization are used as the main element (because of size, relevance or any other cause; in case of doubt about whether the content is the main element, it shall be deemed as the main element) in printed or electronic items (e.g. t-shirts, cups, postcards, birthday or greeting cards, invitations, calendars, web models or electronic devices, apps, NFTs, videogames, advertising spots, audiovisual animations) aimed to be resold by the third party; 97 | The production of goods or provision of services by the User to the third party is not done by automatic means, it is tailor-made for the third party (and therefore its use is not authorized by the User to any other third party) and requires a specific substantial human intervention from the User in relation to each third party; and 98 | The User -and not the third party- chooses the specific items within the content of the Freepik Content to be used in the production of goods or provision of services for the third party. 99 | When all of the above conditions are met, the User shall be entitled to authorize a third party to use the relevant content in the Freepik Content. This exception refers only to the prohibition for the User to authorize third parties to use the content in the Freepik Content without affecting or limiting in any way the remaining conditions of the User’s right to use the Freepik Content. Whether the above conditions regarding the exception to the prohibition for Users to authorize third parties to use the content in the Freepik Content are met shall be interpreted restrictively so that, in case of doubt, it shall be deemed that the conditions are not met. 100 | 101 | The User does not acquire any right as a result of the use of the content in the Freepik Content. In particular, the User is not authorized to distribute, resell or rent any content in the Freepik Content (or any modification of any content in the Freepik Content). 102 | 103 | The User’s rights under this Section will end automatically without any notice if the User breaches any of the Terms. In case of termination of the rights hereunder, the User shall cease using content in the Freepik Content and will destroy every copy, whether total or partial, thereof. 104 | 105 | --- 106 | 107 | Pure CSS Loaders 108 | Copyright Loading.io, https://loading.io/ 109 | 110 | This product includes CSS loading icon provided in the page https://loading.io/css/ 111 | 112 | Licensed under CC0 License (https://creativecommons.org/publicdomain/zero/1.0/) 113 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # SiemMonkey - плагин к браузеру Google Chrome для упрощения некоторых действий в MP SIEM 2 | 3 | [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](https://github.com/Security-Experts-Community/.github/blob/main/CODE_OF_CONDUCT.md) 4 | 5 | ## Установка 6 | Описание процесса установки описано в файле [INSTALL.md](INSTALL.md) 7 | 8 | ## Репозитории проекта 9 | Основной: 10 | - GitHub: https://github.com/Security-Experts-Community/siem-monkey 11 | 12 | Зеркала: 13 | - Codeberg: https://codeberg.org/Security-Experts-Community/siem-monkey 14 | - GitFlic: https://gitflic.ru/project/security-experts-community/siem-monkey 15 | 16 | # Основные функции 17 | - [Popup](#popup): 18 | * получение дополнительной информации из событий MP SIEM и/других систем на основе полей события в правой панели 19 | * быстрый переход к определенным событиям или другим системам (PT NAD, PT Sandbox) в отдельной вкладке 20 | - [UI SIEM](#ui-siem): 21 | * выполнение некоторых действий по клику на определенные поля события в правой панели 22 | * возможность расширения правой панели с информацией о событии на достаточную ширину 23 | 24 | **Поддерживаемые версии:** 25 | - MP SIEM R25, R25.1, R26, R26.1 26 | - PT NAD 11 27 | 28 | # Подробное описание 29 | # Popup 30 | При открытии всплывающего окна плагина происходит чтение значений всех полей события, отображающегося в правой панели 31 | (текущее событие). 32 | Пользователю предлагается ряд действий по поиску информации в MP SIEM или переходу к внешним системам на основе 33 | значений некоторых полей текущего события. 34 | **ВАЖНО:** Значения из "свернутых" групп полей не получаются и их использование в действиях невозможно. 35 | ## Процессы 36 | 37 | 38 | На вкладке "Процессы" доступны функции, позволяющие отобразить информацию о событиях запуска процессов 39 | в виде иерархического дерева. 40 | Ограничение количества запрашиваемых событий о запусках процессов задается в поле "Максимальное число событий". 41 | По умолчанию при построении дерева всех процессов текущей сессии будет запрашивать не более 1000 событий. 42 | Ограничение времени, за которое осуществляется поиск событий при построении дерева процессов задается в полях "С" и "По". 43 | По умолчанию эти поля заполняются временем, отстоящим на одни сутки в меньшую и в большую сторону от времени текущего события, 44 | информации о котором отображается в правой панели интерфейса MP SIEM. 45 | ### Найти в SIEM и проверить на VT хеш файла 46 | Производится поиск события запуска процесса sysmon 1 или инвентаризации файла антивирусом Касперского для имени файла, 47 | содержащегося в поле `object.name` и `object.process.name` (если они различны). Из найденного события извлекается хеш 48 | файла и проверяется на VirusTotal. Результаты проверки выводятся в окно плагина в виде отношения числа "плохих" вердиктов 49 | к общему числу, а так же список известных имен файла. При клике на количество вердиктов происходи открытие VirusTotal 50 | с информацией о файле в новой вкладке браузера. 51 | ### Проверить на VirusTotal по хешу 52 | Из текущего события извлекается хеш файла и проверяется на VirusTotal. Результаты проверки выводятся в окно плагина 53 | в виде отношения числа "плохих" вердиктов к общему числу, а также список известных имен файла. 54 | При клике на количество вердиктов происходи открытие VirusTotal с информацией о файле в новой вкладке браузера. 55 | ### Показать сессии и число процессов в них на узле 56 | Из текущего события запуска процесса (4688 или sysmon 1) извлекается имя хоста (`event_src.host`). Для этого хоста запрашивается информация 57 | о числе запущенных процессов в каждой сессии и учетной записи, от имени которой выполнялись процессы в данной сессии. 58 | Полученная информация выводится в окно плагина. При этом темно-красным цветом помечаются сессии, запущенные от имени 59 | встроенных учетных записей (SYSTEM, LOCAL SERVICE, NETWORK SERVICE и др. у которых номер сессии меньше 1000). 60 | Серым цветом помечаются сессии, запущенные от имени учетных записей с именами, начинающимися на `dwm-` и `umfd-`. 61 | Для получения информации о процессах определенной сессии в виде дерева необходимо кликнуть на соответствующую строку 62 | в списке сессий. 63 | ### Найти процессы в сессии на узле 64 | Из текущего события запуска процесса (4688 или sysmon 1) извлекается имя хоста (`event_src.host`) и номер сессии 65 | (`object.account.session_id`). Далее из MP SIEM запрашивается информация обо всех событиях запуска процессов в указанной сессии 66 | (с учетом ограничений по количеству и времени выборки). Полученные сведения отображаются в окне плагина в виде дерева. 67 | В каждом узле дерева выводится информация о времени запуска процесса (в UTC), PID процесса и параметры командной строки. 68 | При клике на определенную строку с информацией о процессе происходит открытие новой вкладки MP SIEM, в которой отображаются 69 | все события, связанные с выбранным процессом на основе значения guid процесса (только для дерева, построенного на основе событий sysmon 1). 70 | ### Родители процесса 71 | Из текущего события запуска процесса (4688 или sysmon 1) извлекается идентификатор события (`uuid`). 72 | Далее из MP SIEM последовательными запросами получается информация о событиях запуска родительских процессов. 73 | Полученные сведения отображаются в окне плагина в виде дерева. 74 | В каждом узле дерева выводится информация о времени запуска процесса (в UTC), PID процесса и параметры командной строки. 75 | При клике на определенную строку с информацией о процессе происходит открытие новой вкладки MP SIEM, в которой отображаются 76 | все события, связанные с выбранным процессом на основе значения guid процесса (только для дерева, построенного на основе событий sysmon 1). 77 | 78 | ### Все потомки процесса 79 | Из текущего события запуска процесса (4688 или sysmon 1) извлекается идентификатор события (`uuid`). 80 | Далее из MP SIEM последовательными запросами получается информация о событиях запуска всех потомков процессов текущего процесса. 81 | Полученные сведения отображаются в окне плагина в виде дерева. 82 | В каждом узле дерева выводится информация о времени запуска процесса (в UTC), PID процесса и параметры командной строки. 83 | При клике на определенную строку с информацией о процессе происходит открытие новой вкладки MP SIEM, в которой отображаются 84 | все события, связанные с выбранным процессом на основе значения guid процесса (только для дерева, построенного на основе событий sysmon 1). 85 | 86 | ## Полезные фильтры 87 | 88 | 89 | На вкладке "Полезные фильтры" доступны фильтры, позволяющие открыть в новой вкладке окно MP SIEM по запросу, построенному на 90 | основе значений полей текущего события. 91 | Шаблоны названий и сами фильтры описываются в файле customfilters.json и могут быть самостоятельно дополнены пользователем плагина. 92 | Пример: 93 | `"description":"Все события запуска процессов для учетной записи ${subject.account.name}", "filter":"msgid in [1,4688] and subject.account.name = '${subject.account.name}'"}` 94 | 95 | Поле `description` содержит описание фильтра, выводимое в окне плагина. 96 | Поле `filter` содержит фильтр для MP SIEM на языке PDQL. 97 | Конструкция `${subject.account.name}` позволяет подставить в описание и фильтр значение указанного поля текущего события. 98 | 99 | **ВАЖНО:** В окно плагина при его открытии выводятся только те фильтры, где удалось произвести подстановку всех шаблонов 100 | (не выводятся фильтры, где подразумевалась подстановка полей исходного события, содержащих значение null). 101 | 102 | ## Внешние запросы 103 | В случае, если MP SIEM интегрирован с PT NAD и/или PT Sandbox оператору на вкладке "Внешние запросы" 104 | предлагаются удобные способы переходить от текущего события в MP SIEM к изучению связанных с ним подробностей в этих продуктах. 105 | Доступны следующие возможности: 106 | - открыть в новой вкладке окно PT Sandbox с информацией о задаче обработке файла (для текущего события, полученного из PT Sandbox). 107 | Идентификатор задачи извлекается из поля `chain_id` текущего события. 108 | - открыть в новой вкладке окно PT NAD с информацией о трафике по фильтру на основе IP-адресов и номеров портов источника и получателя 109 | (строится на основе значений полей `src.ip`, `src.port`, `dst.ip` и `dst.port` текущего события) 110 | 111 | # UI SIEM 112 | При загрузке страницы MP SIEM в код страницы внедряется код плагина, добавляющий ряд дополнительных функций 113 | 114 | ## Обработчики кликов 115 | Поля события в правой панели, для которых доступны обработчики клика выделяются красным или зеленым цветом. 116 | - `object.hash`, `object.process.hash`, `subject.process.hash` - переход на VirusTotal для просмотра вердиктов по хешу в новой вкладке 117 | В параметрах плагина можно добавить дополнительные сервисы для проверки хешей, указав название, которое должно выводиться в UI, 118 | а также шаблон ссылки, по которой доступна проверка конкретного хеша (в качестве шаблона подстановки следует использовать `${hash}`. 119 | Проверка при помощи VirusTotal доступна всегда, независимо от дополнительных добавленных сервисов. 120 | 121 | 122 | 123 | 124 | - `external_link` - переход по ссылке, содержащейся в значении поля, в новой вкладке 125 | - `id` - переход к PTKB для поиска правила нормализации, соответствующего текущему событию, в новой вкладке 126 | - `task_id` - переход к соответствующей задаче сбора событий SIEM в новой вкладке 127 | - `src.ip`, `dst.ip` - открытие дополнительно меню со ссылками, позволяющими открыть в новой вкладке внешние системы с информацией по 128 | адресу, содержащемуся в названии поля. Список сервисов и шаблоны ссылкок, по которым доступна проверка конкретного адреса необходимо предварительно задать в параметрах расширения (в качестве шаблона для подстановки IP-адреса следует использовать `${ip}`). Для локальных адресов выводятся только сервисы, явно отмеченные специальным чекбоксом в настройках. Для адресов, проверка которых во внешних сервисах бессмысленна (см. https://en.wikipedia.org/wiki/Reserved_IP_addresses), ссылки не выводятся. 129 | 130 | 131 | 132 | 133 | 134 | ## Автодополнение названий полей события и операторов PDQL при вводе фильтра событий 135 | При наборе текста в окне ввода фильтра событий появляется меню, предлагающее подходящие названия полей событий или операторов языка PDQL (по совпадению текущего слова с подстрокой в названии поля или оператора). 136 | Для выбора определенного значения можно воспользоваться мышкой или кпопками ВНИЗ/ВВЕРХ клавиатуры. Клавиша TAB или ENTER позволяет вставить выбранное значение в окно ввода фильтра. 137 | 138 | 139 | ## Построение дерева процессов 140 | Для событий запуска процессов в правой панели справа от значения поля `object` отображается три пиктограммы 🦍 141 | 🦧 142 | 🐒 143 | Клик по ним позволяет получить во всплывающем окне дерево всех процессов текущей сессии, дерево всех предков, дерево 144 | всех потомков, аналогично тому, как это происходит при построении деревьев в окне плагина. 145 | 146 | Построение дерева процессов возможно так же для любых событий (в том числе, корреляционных), если у них заполнено поле object.process.guid или subject.process.guid. 147 | В этом случае плагин сначала самостоятельно находит событие запуска процеса, после чего строит на его основе дерево аналогичным образом, как для событий запуска процессов. 148 | 149 | 150 | 151 | ## Сохранение нормализованного события в виде JSON 152 | 153 | 154 | В заголовке правой панели добавлены кнопки, позволяющие сохранить нормализованное событие в виде JSON (без незаполненных полей): 155 | - 📋 - сохраняет текущее событие в виде JSON в буфер обмена 156 | - 💾 - сохраняет текущее событие в текстовый файл в виде JSON, в качестве имени используется uuid события 157 | - 🖫 - сохраняет в текстовый файл в виде JSON массив исходных событий для текущего корреляционного события, в качестве имени используется uuid текущего события с суффиксом 'subevents' 158 | 159 | Появление этих кнопок можно отключить в параметрах плагина. 160 | 161 | 162 | 163 | ## Получение ссылки на текущее событие 164 | 165 | 166 | В заголовке правой панели добавлена кнопка, позволяющая сохранить в буфер обмена ссылку на текущее событие. 167 | 168 | ## Отключение нового способа сортировки для запросов событий с группировками и агрегациями 169 | 170 | 171 | 172 | В версии R25.1 появился дополнитеьный параметр в запросах с группировками и агрегациами, позволяющий отсортировать результат по одному из столбцов, используемых в групировке. 173 | Такое поведение не всегда нужно, и иногда необходимо дать пользователю возможность выполнять такие запросы по старому. 174 | В расширение добавлен параметр ```Отключить новое поведение сортировки при аггрегации (R25.1 и выше)```, при использовании которого происходит модернизация запросов к бекенду, убирающая параметр ```groupByOrder```, влияющий на сортровку. 175 | Изменения поведения вступают в силу после полной перезагрузки страницы. 176 | 177 | 178 | ## Пользовательские названия для полей при их отображении в панели событий 179 | 180 | 181 | Можно настроить отображение собственных имен полей событий. Пример файла конфигурации приведен в файле fieldaliases.example.json. 182 | Требуемое сопоставление необходимо указать в файле fieldaliases.json. Поддерживается настройка маппинга названий полей как для всех событий (секция default), 183 | так и индивидуально по значению поля id или correlation_name события. 184 | 185 | Пример конфигурационного файла fieldaliases.json 186 | ``` 187 | { 188 | "LSASS_memory_access_SubRule": { 189 | "datafield9": "стек вызовов" 190 | }, 191 | "LSASS_Memory_Dump": { 192 | "datafield9": "стек вызовов" 193 | }, 194 | "Suspicious_Connection_System_Process": { 195 | "datafield19": "продвинутая цепочка" 196 | }, 197 | "PT_UNIX_like_auditd_syslog_structured_syscall_process_start": { 198 | "datafield3": "Binary File Access Mode" 199 | }, 200 | "default": { 201 | "subject.process.cmdline": "командная строка процесса", 202 | "subject.process.parent.cmdline": "командная строка родителя" 203 | } 204 | } 205 | ``` 206 | 207 | 208 | ## Описание правила корреляции и ссылка на него в базе знаний 209 | 210 | 211 | У корреляционных событий справа от названия правила корреляции отображается иконка, при нажатии на которую открывается правило корреляции в PTKB, и описание правила корреляции. 212 | Аналогичная информация отображается при просмотре инцидентов. 213 | Отображение описания правила и ссылки на PTKB можно отключить в параметрах расширения. 214 | 215 | 216 | 217 | # Bonus \#1 218 | Плагин так же позволяет переходить из карточки сессии или карточки атаки в интерфейсе PT NAD к окну MP SIEM в новой вкладке 219 | для поиска по фильтру событий на основе адресов и номеров портов отправителя и получателя. 220 | Для этого нужно находясь в окне просмотра карточки сессии или атаки PT NAD открыть окно плагина и на вкладке "полезные фильтры" 221 | выбрать один из подходящих пунктов: 222 | - События подключения к 4.8.15.16:2342 в SIEM (для поиска из NAD) 223 | - События подключения 4.8.15.16:2342 ⇄ 3.14.15.92:6535 в SIEM (для поиска из NAD) 224 | Первый пункт может помочь найти в MP SIEM все события подключения к указанному серверу по определенному порту. 225 | Второй фильтр удобен для поиска информации о конкретной сессии. 226 | При переходе к MP SIEM диапазон времени задается на основе времени начала сессии ±15 минут. 227 | 228 | 229 | 230 | # Bonus \#2 231 | Убрано ограничение на максимальную ширину правой панели (панели события). 232 | 233 | Иконка 234 | [Monkey icons created by Darius Dan - Flaticon](https://www.flaticon.com/free-icons/monkey) 235 | Анимация загрузки 236 | [loading.io css spinner]( https://loading.io/css/ ) 237 | -------------------------------------------------------------------------------- /customfilters.json: -------------------------------------------------------------------------------- 1 | [ 2 | {"description":"События subject.name = '${subject.name}'","filter":"subject.name = '${subject.name}'"}, 3 | {"description":"События subject.name = '${subject.name}' or object.name = '${subject.name}'","filter":"subject.name = '${subject.name}' or object.name = '${subject.name}'"}, 4 | {"description":"События subject.account.name = '${subject.account.name}'","filter":"subject.account.name = '${subject.account.name}'"}, 5 | {"description":"События subject.account.name = '${subject.account.name}' or object.account.name = '${subject.account.name}'","filter":"subject.account.name = '${subject.account.name}' or object.account.name = '${subject.account.name}'"}, 6 | {"description":"Сетевые соединения для ${src.ip}","filter":"object in ['flow', 'connection'] and protocol in ['TCP', 'tcp', '6'] and src.ip = '${src.ip}' or dst.ip = '${src.ip}'"}, 7 | {"description":"Сетевые соединения для ${dst.ip}","filter":"object in ['flow', 'connection'] and protocol in ['TCP', 'tcp', '6'] and src.ip = '${dst.ip}' or dst.ip = '${dst.ip}'"}, 8 | {"description":"События x.x.x.x:${src.port} ⇄ ${dst.ip}:${dst.port}","filter":"src.port = '${src.port}' and dst.ip = '${dst.ip}' and dst.port=${dst.port}"}, 9 | {"description":"Все события процесса ${subject.process.guid} (sysmon, на основе subject.process.guid)","filter":"event_src.host = '${event_src.host}' and (subject.process.guid = '${subject.process.guid}' or object.process.guid = '${subject.process.guid}')"}, 10 | {"description":"Все события процесса ${object.process.guid} (sysmon, на основе object.process.guid)","filter":"event_src.host = '${event_src.host}' and (subject.process.guid = '${object.process.guid}' or object.process.guid = '${object.process.guid}')"}, 11 | {"description":"Все важные корреляции на хосте ${event_src.host}", "filter":"((correlation_name and !(correlation_name contains 'subrule') and detect != 'false')) and (event_src.host = '${event_src.host}')"}, 12 | {"description":"Найти события, связанные с файлом ${object.name} на хосте ${event_src.host}, где есть хеш", "filter":"(event_src.host = '${event_src.host}') and (object.name = '${object.name}') AND (object.hash)"}, 13 | {"description":"Сетевые коннекты файла ${object.process.fullpath}", "filter":"event_src.host = '${event_src.host}' and msgid = 3 AND (object.process.fullpath = '${object.process.fullpath}')"}, 14 | {"description":"События логина и открытия сессий для УЗ ${subject.name}", "filter":"subject.name = '${subject.name}' AND (action = 'login' or msgid in [1149,4778])"}, 15 | {"description":"Информация о сессиях RDP для пользователя ${subject.account.name}", "filter":"subject.account.name = '${subject.account.name}' and msgid in [4778,4779]"}, 16 | {"description":"Информация о сессиях RDP для хоста ${event_src.host}", "filter":"event_src.host = '${event_src.host}' and msgid in [4778,4779]"}, 17 | {"description":"Информация о сессиях RDP с адреса ${src.ip}", "filter":"src.ip = '${src.ip}' and msgid in [4778,4779]"}, 18 | {"description":"Все события запуска процессов для учетной записи ${subject.account.name}", "filter":"msgid in [1,4688] and subject.account.name = '${subject.account.name}'"}, 19 | {"description":"Найти все события для запуска файла с хешем ${object.hash}","filter": "msgid=1 and object.process.hash = '${object.process.hash}'"}, 20 | {"description":"События подключения к ${nad_dst_ip}:${nad_dst_port} в SIEM (для поиска из NAD)", "filter":"dst.ip = ${nad_dst_ip} and dst.port = ${nad_dst_port}", "requesturl":""}, 21 | {"description":"События подключения ${nad_src_ip}:${nad_src_port} ⇄ ${nad_dst_ip}:${nad_dst_port} в SIEM (для поиска из NAD)", "filter":"src.ip = ${nad_src_ip} and src.port = ${nad_src_port} and dst.ip = ${nad_dst_ip} and dst.port = ${nad_dst_port}", "requesturl":""} 22 | ] 23 | -------------------------------------------------------------------------------- /fieldaliases.example.json: -------------------------------------------------------------------------------- 1 | { 2 | "LSASS_memory_access_SubRule": { 3 | "datafield9": "стек вызовов" 4 | }, 5 | "LSASS_Memory_Dump": { 6 | "datafield9": "стек вызовов" 7 | }, 8 | "Suspicious_Connection_System_Process": { 9 | "datafield19": "продвинутая цепочка" 10 | }, 11 | "PT_UNIX_like_auditd_syslog_structured_syscall_process_start": { 12 | "datafield3": "Binary File Access Mode" 13 | }, 14 | "default": { 15 | "subject.process.cmdline": "командная строка процесса", 16 | "subject.process.parent.cmdline": "командная строка родителя" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /fieldaliases.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } 4 | 5 | 6 | -------------------------------------------------------------------------------- /img/icon128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Security-Experts-Community/siem-monkey/2bf7844a8be1eb540f8c49e318134ffdc46b8ac3/img/icon128.png -------------------------------------------------------------------------------- /img/icon16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Security-Experts-Community/siem-monkey/2bf7844a8be1eb540f8c49e318134ffdc46b8ac3/img/icon16.png -------------------------------------------------------------------------------- /img/icon32bw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Security-Experts-Community/siem-monkey/2bf7844a8be1eb540f8c49e318134ffdc46b8ac3/img/icon32bw.png -------------------------------------------------------------------------------- /img/icon32bw.uri: -------------------------------------------------------------------------------- 1 | data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAABGdBTUEAALGPC/xhBQAAAAJiS0dEAP+Hj8y/AAAACXBIWXMAAA1nAAANZwG8Jya1AAAAB3RJTUUH5wEdDiU4kuliGwAABGBJREFUSMeNlV1sU2UYx3/v+Wg7t9LRtZRNZARGhM0hH3KB6ASFRASJiTFkRhMSLvRGjCYaEy8kJt7oBYkXRDAxITEsokFEoxdC7LZA5oRByBhjK8SxZXRfrK1td9qevq8X55R2DD+ek5z34n3+/+fzfR7BPGl3T0HOq2qUiQCUKIi0N6fcu455CHE/XCHN4nptp/cJX4PhcwhsyxrPXZS/6le0griPQsyHF1Et+jsNe1vCqwnhdfDkmGaYa1PjZ4qHxTV9HoWohCepfrH207Y1z7F0vmuAIs45ugYT72d+DFRQiPYKleKeyNF9DU+i8WCRXOCb8Yk39J/K9HorUBTFFcVNYmvg41dXPr3AdmW8y/H7b2ywknZYKpKa44EMcTDQXtsw6dluvPaP1stefM1v9pJ8YjzZwefatN4S1A+vfeuFYKM5o+0jwH+JIMR1bbu5Ljj3zN162am3HFx1cK8epp9FbPsX98vi5yZpWmkk3jyT1Hz7N5p+bCZp+l9wEDQxiY2fjaZvv1HVFAZsLMKuQpw/mCDABla5fRCjjxQRNlMPQBgLG4MwVU2GsqUBEokHgEFOUEWEMfrYRRvQxfdUUc0APbzOWsCDRAISZRuZy6Nb6lFuT2U4TSNbMJEM8gtB4AceYQ9JrjDCKd6mxvULRslc1gpHLqXu3CveKCk2kKeHGR5lCcf5Eo3n8XELjYeZZMzV1LjDpVThiKGfjK8488Fj1XkAchiYpBkgSIht5LjIGBNcJY1ABywA8vTRn4l/pp/UW4uiJ3l9xG8v22rWofidMEtZTRgND9UUue4GqJEiw0783OXc3NDZxEfaV+QNIK9/N3e+6me1HpayiU62sQybYaaQ5LCI0YiHDGO0Ue/Ef2PugPcOgOa8KmVhOzXexSJ6sblAJ3FmydIEXOUGQyxnd6lXbGUBdKA5D1NIVZQATJHgcVIM8RSCNawBniXADnaTYMp9D6oopIMspT9fSGUARZQwKzFYT4gp0qSZIsRmGmgmRBQFZCikcLKO4RwJy3MrDiS4yVY0/GxC8TLVwHJqCQKCZs6TYDFx8rcSVsQtJwARVegdlpJpioRQbs8H8eAh6MatCFFkGsmwLPRGFJUEQHds5DZZDExK81dV/EFhYpDlNrERukswzckliNjMqSgKhXTtaxWfKCUPRZSZUyJWmopGiclU9rGeXTXNkiw+Ckw4daWUqggmWSQxegbkMVOVb8rvfGj2UPRocfEodczRS/refFDUsAMPo0wTnZ09JIYqp4Mr7YDQ5Jt8sqL2FR4i74ZSitRDlm/5M8GH2hdKlse6XlLppxWUuCRGUutkXSNedIx7n0mBTgaGeU8cR1YuFr1sxaFQ/bJ7ojnTGKYKzU0mJIjS12Uf4KxQ81dbBYFDISBud8YXjTRlvBKbLBNcpfOvoROFd7XB+zcjC+eos6mkT7YZL/k2eusgN2P12ae1Ls1iAZwHDeLSsrM0bbEKgEjKWZ+b0Y4F2n8DLrW7Px/mhBwAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjMtMDEtMjlUMTQ6Mzc6NTErMDA6MDAjXia7AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIzLTAxLTI5VDE0OjM3OjUxKzAwOjAwUgOeBwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAASUVORK5CYII= -------------------------------------------------------------------------------- /img/icon48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Security-Experts-Community/siem-monkey/2bf7844a8be1eb540f8c49e318134ffdc46b8ac3/img/icon48.png -------------------------------------------------------------------------------- /libs/d3.js/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2010-2017 Mike Bostock 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | 7 | * Redistributions of source code must retain the above copyright notice, this 8 | list of conditions and the following disclaimer. 9 | 10 | * Redistributions in binary form must reproduce the above copyright notice, 11 | this list of conditions and the following disclaimer in the documentation 12 | and/or other materials provided with the distribution. 13 | 14 | * Neither the name of the author nor the names of contributors may be used to 15 | endorse or promote products derived from this software without specific prior 16 | written permission. 17 | 18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 22 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 25 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------------------- /libs/ipaddr.js/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2011-2017 whitequark 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. -------------------------------------------------------------------------------- /libs/ipaddr.js/ipaddr.min.js: -------------------------------------------------------------------------------- 1 | !function(t){!function(t){"use strict";const r="(0?\\d+|0x[a-f0-9]+)",e={fourOctet:new RegExp(`^${r}\\.${r}\\.${r}\\.${r}$`,"i"),threeOctet:new RegExp(`^${r}\\.${r}\\.${r}$`,"i"),twoOctet:new RegExp(`^${r}\\.${r}$`,"i"),longValue:new RegExp(`^${r}$`,"i")},n=new RegExp("^0[0-7]+$","i"),i=new RegExp("^0x[a-f0-9]+$","i"),o="(?:[0-9a-f]+::?)+",s={zoneIndex:new RegExp("%[0-9a-z]{1,}","i"),native:new RegExp(`^(::)?(${o})?([0-9a-f]+)?(::)?(%[0-9a-z]{1,})?$`,"i"),deprecatedTransitional:new RegExp(`^(?:::)(${r}\\.${r}\\.${r}\\.${r}(%[0-9a-z]{1,})?)$`,"i"),transitional:new RegExp(`^((?:${o})|(?:::)(?:${o})?)${r}\\.${r}\\.${r}\\.${r}(%[0-9a-z]{1,})?$`,"i")};function a(t,r){if(t.indexOf("::")!==t.lastIndexOf("::"))return null;let e,n,i=0,o=-1,a=(t.match(s.zoneIndex)||[])[0];for(a&&(a=a.substring(1),t=t.replace(/%.+$/,""));(o=t.indexOf(":",o+1))>=0;)i++;if("::"===t.substr(0,2)&&i--,"::"===t.substr(-2,2)&&i--,i>r)return null;for(n=r-i,e=":";n--;)e+="0:";return":"===(t=t.replace("::",e))[0]&&(t=t.slice(1)),":"===t[t.length-1]&&(t=t.slice(0,-1)),{parts:r=function(){const r=t.split(":"),e=[];for(let t=0;t0;){if((i=e-n)<0&&(i=0),t[o]>>i!=r[o]>>i)return!1;n-=e,o+=1}return!0}function u(t){if(i.test(t))return parseInt(t,16);if("0"===t[0]&&!isNaN(parseInt(t[1],10))){if(n.test(t))return parseInt(t,8);throw new Error(`ipaddr: cannot parse ${t} as octal`)}return parseInt(t,10)}function d(t,r){for(;t.length=0;n-=1){if(!((i=this.octets[n])in e))return null;if(o=e[i],r&&0!==o)return null;8!==o&&(r=!0),t+=o}return 32-t},t.prototype.range=function(){return h.subnetMatch(this,this.SpecialRanges)},t.prototype.toByteArray=function(){return this.octets.slice(0)},t.prototype.toIPv4MappedAddress=function(){return h.IPv6.parse(`::ffff:${this.toString()}`)},t.prototype.toNormalizedString=function(){return this.toString()},t.prototype.toString=function(){return this.octets.join(".")},t}(),h.IPv4.broadcastAddressFromCIDR=function(t){try{const r=this.parseCIDR(t),e=r[0].toByteArray(),n=this.subnetMaskFromPrefixLength(r[1]).toByteArray(),i=[];let o=0;for(;o<4;)i.push(parseInt(e[o],10)|255^parseInt(n[o],10)),o++;return new this(i)}catch(t){throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},h.IPv4.isIPv4=function(t){return null!==this.parser(t)},h.IPv4.isValid=function(t){try{return new this(this.parser(t)),!0}catch(t){return!1}},h.IPv4.isValidFourPartDecimal=function(t){return!(!h.IPv4.isValid(t)||!t.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},h.IPv4.networkAddressFromCIDR=function(t){let r,e,n,i,o;try{for(n=(r=this.parseCIDR(t))[0].toByteArray(),o=this.subnetMaskFromPrefixLength(r[1]).toByteArray(),i=[],e=0;e<4;)i.push(parseInt(n[e],10)&parseInt(o[e],10)),e++;return new this(i)}catch(t){throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},h.IPv4.parse=function(t){const r=this.parser(t);if(null===r)throw new Error("ipaddr: string is not formatted like an IPv4 Address");return new this(r)},h.IPv4.parseCIDR=function(t){let r;if(r=t.match(/^(.+)\/(\d+)$/)){const t=parseInt(r[2]);if(t>=0&&t<=32){const e=[this.parse(r[1]),t];return Object.defineProperty(e,"toString",{value:function(){return this.join("/")}}),e}}throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},h.IPv4.parser=function(t){let r,n,i;if(r=t.match(e.fourOctet))return function(){const t=r.slice(1,6),e=[];for(let r=0;r4294967295||i<0)throw new Error("ipaddr: address outside defined range");return function(){const t=[];let r;for(r=0;r<=24;r+=8)t.push(i>>r&255);return t}().reverse()}return(r=t.match(e.twoOctet))?function(){const t=r.slice(1,4),e=[];if((i=u(t[1]))>16777215||i<0)throw new Error("ipaddr: address outside defined range");return e.push(u(t[0])),e.push(i>>16&255),e.push(i>>8&255),e.push(255&i),e}():(r=t.match(e.threeOctet))?function(){const t=r.slice(1,5),e=[];if((i=u(t[2]))>65535||i<0)throw new Error("ipaddr: address outside defined range");return e.push(u(t[0])),e.push(u(t[1])),e.push(i>>8&255),e.push(255&i),e}():null},h.IPv4.subnetMaskFromPrefixLength=function(t){if((t=parseInt(t))<0||t>32)throw new Error("ipaddr: invalid IPv4 prefix length");const r=[0,0,0,0];let e=0;const n=Math.floor(t/8);for(;e=0;o-=1){if(!((n=this.parts[o])in e))return null;if(i=e[n],r&&0!==i)return null;16!==i&&(r=!0),t+=i}return 128-t},t.prototype.range=function(){return h.subnetMatch(this,this.SpecialRanges)},t.prototype.toByteArray=function(){let t;const r=[],e=this.parts;for(let n=0;n>8),r.push(255&t);return r},t.prototype.toFixedLengthString=function(){const t=function(){const t=[];for(let r=0;r>8,255&r,e>>8,255&e])},t.prototype.toNormalizedString=function(){const t=function(){const t=[];for(let r=0;ri&&(n=e.index,i=e[0].length);return i<0?r:`${r.substring(0,n)}::${r.substring(n+i)}`},t.prototype.toString=function(){return this.toRFC5952String()},t}(),h.IPv6.broadcastAddressFromCIDR=function(t){try{const r=this.parseCIDR(t),e=r[0].toByteArray(),n=this.subnetMaskFromPrefixLength(r[1]).toByteArray(),i=[];let o=0;for(;o<16;)i.push(parseInt(e[o],10)|255^parseInt(n[o],10)),o++;return new this(i)}catch(t){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${t})`)}},h.IPv6.isIPv6=function(t){return null!==this.parser(t)},h.IPv6.isValid=function(t){if("string"==typeof t&&-1===t.indexOf(":"))return!1;try{const r=this.parser(t);return new this(r.parts,r.zoneId),!0}catch(t){return!1}},h.IPv6.networkAddressFromCIDR=function(t){let r,e,n,i,o;try{for(n=(r=this.parseCIDR(t))[0].toByteArray(),o=this.subnetMaskFromPrefixLength(r[1]).toByteArray(),i=[],e=0;e<16;)i.push(parseInt(n[e],10)&parseInt(o[e],10)),e++;return new this(i)}catch(t){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${t})`)}},h.IPv6.parse=function(t){const r=this.parser(t);if(null===r.parts)throw new Error("ipaddr: string is not formatted like an IPv6 Address");return new this(r.parts,r.zoneId)},h.IPv6.parseCIDR=function(t){let r,e,n;if((e=t.match(/^(.+)\/(\d+)$/))&&(r=parseInt(e[2]))>=0&&r<=128)return n=[this.parse(e[1]),r],Object.defineProperty(n,"toString",{value:function(){return this.join("/")}}),n;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},h.IPv6.parser=function(t){let r,e,n,i,o,p;if(n=t.match(s.deprecatedTransitional))return this.parser(`::ffff:${n[1]}`);if(s.native.test(t))return a(t,8);if((n=t.match(s.transitional))&&(p=n[6]||"",(r=a(n[1].slice(0,-1)+p,6)).parts)){for(o=[parseInt(n[2]),parseInt(n[3]),parseInt(n[4]),parseInt(n[5])],e=0;e128)throw new Error("ipaddr: invalid IPv6 prefix length");const r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];let e=0;const n=Math.floor(t/8);for(;e 5 | Richard Worth 6 | Yehuda Katz 7 | Sean Catchpole 8 | John Resig 9 | Tane Piper 10 | Dmitri Gaskin 11 | Klaus Hartl 12 | Stefan Petre 13 | Gilles van den Hoven 14 | Micheil Bryan Smith 15 | Jörn Zaefferer 16 | Marc Grabanski 17 | Keith Wood 18 | Brandon Aaron 19 | Scott González 20 | Eduardo Lundgren 21 | Aaron Eisenberger 22 | Joan Piedra 23 | Bruno Basto 24 | Remy Sharp 25 | Bohdan Ganicky 26 | David Bolter 27 | Chi Cheng 28 | Ca-Phun Ung 29 | Ariel Flesler 30 | Maggie Wachs 31 | Scott Jehl 32 | Todd Parker 33 | Andrew Powell 34 | Brant Burnett 35 | Douglas Neiner 36 | Paul Irish 37 | Ralph Whitbeck 38 | Thibault Duplessis 39 | Dominique Vincent 40 | Jack Hsu 41 | Adam Sontag 42 | Carl Fürstenberg 43 | Kevin Dalman 44 | Alberto Fernández Capel 45 | Jacek Jędrzejewski (http://jacek.jedrzejewski.name) 46 | Ting Kuei 47 | Samuel Cormier-Iijima 48 | Jon Palmer 49 | Ben Hollis 50 | Justin MacCarthy 51 | Eyal Kobrigo 52 | Tiago Freire 53 | Diego Tres 54 | Holger Rüprich 55 | Ziling Zhao 56 | Mike Alsup 57 | Robson Braga Araujo 58 | Pierre-Henri Ausseil 59 | Christopher McCulloh 60 | Andrew Newcomb 61 | Lim Chee Aun 62 | Jorge Barreiro 63 | Daniel Steigerwald 64 | John Firebaugh 65 | John Enters 66 | Andrey Kapitcyn 67 | Dmitry Petrov 68 | Eric Hynds 69 | Chairat Sunthornwiphat 70 | Josh Varner 71 | Stéphane Raimbault 72 | Jay Merrifield 73 | J. Ryan Stinnett 74 | Peter Heiberg 75 | Alex Dovenmuehle 76 | Jamie Gegerson 77 | Raymond Schwartz 78 | Phillip Barnes 79 | Kyle Wilkinson 80 | Khaled AlHourani 81 | Marian Rudzynski 82 | Jean-Francois Remy 83 | Doug Blood 84 | Filippo Cavallarin 85 | Heiko Henning 86 | Aliaksandr Rahalevich 87 | Mario Visic 88 | Xavi Ramirez 89 | Max Schnur 90 | Saji Nediyanchath 91 | Corey Frang 92 | Aaron Peterson 93 | Ivan Peters 94 | Mohamed Cherif Bouchelaghem 95 | Marcos Sousa 96 | Michael DellaNoce 97 | George Marshall 98 | Tobias Brunner 99 | Martin Solli 100 | David Petersen 101 | Dan Heberden 102 | William Kevin Manire 103 | Gilmore Davidson 104 | Michael Wu 105 | Adam Parod 106 | Guillaume Gautreau 107 | Marcel Toele 108 | Dan Streetman 109 | Matt Hoskins 110 | Giovanni Giacobbi 111 | Kyle Florence 112 | Pavol Hluchý 113 | Hans Hillen 114 | Mark Johnson 115 | Trey Hunner 116 | Shane Whittet 117 | Edward A Faulkner 118 | Adam Baratz 119 | Kato Kazuyoshi 120 | Eike Send 121 | Kris Borchers 122 | Eddie Monge 123 | Israel Tsadok 124 | Carson McDonald 125 | Jason Davies 126 | Garrison Locke 127 | David Murdoch 128 | Benjamin Scott Boyle 129 | Jesse Baird 130 | Jonathan Vingiano 131 | Dylan Just 132 | Hiroshi Tomita 133 | Glenn Goodrich 134 | Tarafder Ashek-E-Elahi 135 | Ryan Neufeld 136 | Marc Neuwirth 137 | Philip Graham 138 | Benjamin Sterling 139 | Wesley Walser 140 | Kouhei Sutou 141 | Karl Kirch 142 | Chris Kelly 143 | Jason Oster 144 | Felix Nagel 145 | Alexander Polomoshnov 146 | David Leal 147 | Igor Milla 148 | Dave Methvin 149 | Florian Gutmann 150 | Marwan Al Jubeh 151 | Milan Broum 152 | Sebastian Sauer 153 | Gaëtan Muller 154 | Michel Weimerskirch 155 | William Griffiths 156 | Stojce Slavkovski 157 | David Soms 158 | David De Sloovere 159 | Michael P. Jung 160 | Shannon Pekary 161 | Dan Wellman 162 | Matthew Edward Hutton 163 | James Khoury 164 | Rob Loach 165 | Alberto Monteiro 166 | Alex Rhea 167 | Krzysztof Rosiński 168 | Ryan Olton 169 | Genie <386@mail.com> 170 | Rick Waldron 171 | Ian Simpson 172 | Lev Kitsis 173 | TJ VanToll 174 | Justin Domnitz 175 | Douglas Cerna 176 | Bert ter Heide 177 | Jasvir Nagra 178 | Yuriy Khabarov <13real008@gmail.com> 179 | Harri Kilpiö 180 | Lado Lomidze 181 | Amir E. Aharoni 182 | Simon Sattes 183 | Jo Liss 184 | Guntupalli Karunakar 185 | Shahyar Ghobadpour 186 | Lukasz Lipinski 187 | Timo Tijhof 188 | Jason Moon 189 | Martin Frost 190 | Eneko Illarramendi 191 | EungJun Yi 192 | Courtland Allen 193 | Viktar Varvanovich 194 | Danny Trunk 195 | Pavel Stetina 196 | Michael Stay 197 | Steven Roussey 198 | Michael Hollis 199 | Lee Rowlands 200 | Timmy Willison 201 | Karl Swedberg 202 | Baoju Yuan 203 | Maciej Mroziński 204 | Luis Dalmolin 205 | Mark Aaron Shirley 206 | Martin Hoch 207 | Jiayi Yang 208 | Philipp Benjamin Köppchen 209 | Sindre Sorhus 210 | Bernhard Sirlinger 211 | Jared A. Scheel 212 | Rafael Xavier de Souza 213 | John Chen 214 | Robert Beuligmann 215 | Dale Kocian 216 | Mike Sherov 217 | Andrew Couch 218 | Marc-Andre Lafortune 219 | Nate Eagle 220 | David Souther 221 | Mathias Stenbom 222 | Sergey Kartashov 223 | Avinash R 224 | Ethan Romba 225 | Cory Gackenheimer 226 | Juan Pablo Kaniefsky 227 | Roman Salnikov 228 | Anika Henke 229 | Samuel Bovée 230 | Fabrício Matté 231 | Viktor Kojouharov 232 | Pawel Maruszczyk (http://hrabstwo.net) 233 | Pavel Selitskas 234 | Bjørn Johansen 235 | Matthieu Penant 236 | Dominic Barnes 237 | David Sullivan 238 | Thomas Jaggi 239 | Vahid Sohrabloo 240 | Travis Carden 241 | Bruno M. Custódio 242 | Nathanael Silverman 243 | Christian Wenz 244 | Steve Urmston 245 | Zaven Muradyan 246 | Woody Gilk 247 | Zbigniew Motyka 248 | Suhail Alkowaileet 249 | Toshi MARUYAMA 250 | David Hansen 251 | Brian Grinstead 252 | Christian Klammer 253 | Steven Luscher 254 | Gan Eng Chin 255 | Gabriel Schulhof 256 | Alexander Schmitz 257 | Vilhjálmur Skúlason 258 | Siebrand Mazeland 259 | Mohsen Ekhtiari 260 | Pere Orga 261 | Jasper de Groot 262 | Stephane Deschamps 263 | Jyoti Deka 264 | Andrei Picus 265 | Ondrej Novy 266 | Jacob McCutcheon 267 | Monika Piotrowicz 268 | Imants Horsts 269 | Eric Dahl 270 | Dave Stein 271 | Dylan Barrell 272 | Daniel DeGroff 273 | Michael Wiencek 274 | Thomas Meyer 275 | Ruslan Yakhyaev 276 | Brian J. Dowling 277 | Ben Higgins 278 | Yermo Lamers 279 | Patrick Stapleton 280 | Trisha Crowley 281 | Usman Akeju 282 | Rodrigo Menezes 283 | Jacques Perrault 284 | Frederik Elvhage 285 | Will Holley 286 | Uri Gilad 287 | Richard Gibson 288 | Simen Bekkhus 289 | Chen Eshchar 290 | Bruno Pérel 291 | Mohammed Alshehri 292 | Lisa Seacat DeLuca 293 | Anne-Gaelle Colom 294 | Adam Foster 295 | Luke Page 296 | Daniel Owens 297 | Michael Orchard 298 | Marcus Warren 299 | Nils Heuermann 300 | Marco Ziech 301 | Patricia Juarez 302 | Ben Mosher 303 | Ablay Keldibek 304 | Thomas Applencourt 305 | Jiabao Wu 306 | Eric Lee Carraway 307 | Victor Homyakov 308 | Myeongjin Lee 309 | Liran Sharir 310 | Weston Ruter 311 | Mani Mishra 312 | Hannah Methvin 313 | Leonardo Balter 314 | Benjamin Albert 315 | Michał Gołębiowski 316 | Alyosha Pushak 317 | Fahad Ahmad 318 | Matt Brundage 319 | Francesc Baeta 320 | Piotr Baran 321 | Mukul Hase 322 | Konstantin Dinev 323 | Rand Scullard 324 | Dan Strohl 325 | Maksim Ryzhikov 326 | Amine HADDAD 327 | Amanpreet Singh 328 | Alexey Balchunas 329 | Peter Kehl 330 | Peter Dave Hello 331 | Johannes Schäfer 332 | Ville Skyttä 333 | Ryan Oriecuia 334 | -------------------------------------------------------------------------------- /libs/jquery-ui-1.12.1/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright jQuery Foundation and other contributors, https://jquery.org/ 2 | 3 | This software consists of voluntary contributions made by many 4 | individuals. For exact contribution history, see the revision history 5 | available at https://github.com/jquery/jquery-ui 6 | 7 | The following license applies to all parts of this software except as 8 | documented below: 9 | 10 | ==== 11 | 12 | Permission is hereby granted, free of charge, to any person obtaining 13 | a copy of this software and associated documentation files (the 14 | "Software"), to deal in the Software without restriction, including 15 | without limitation the rights to use, copy, modify, merge, publish, 16 | distribute, sublicense, and/or sell copies of the Software, and to 17 | permit persons to whom the Software is furnished to do so, subject to 18 | the following conditions: 19 | 20 | The above copyright notice and this permission notice shall be 21 | included in all copies or substantial portions of the Software. 22 | 23 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 24 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 25 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 26 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 27 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 28 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 29 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 30 | 31 | ==== 32 | 33 | Copyright and related rights for sample code are waived via CC0. Sample 34 | code is defined as all source code contained within the demos directory. 35 | 36 | CC0: http://creativecommons.org/publicdomain/zero/1.0/ 37 | 38 | ==== 39 | 40 | All files located in the node_modules and external directories are 41 | externally maintained libraries used by this software which have their 42 | own licenses; we recommend you read them, as their terms may differ from 43 | the terms above. 44 | -------------------------------------------------------------------------------- /libs/jquery-ui-1.12.1/images/ui-icons_444444_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Security-Experts-Community/siem-monkey/2bf7844a8be1eb540f8c49e318134ffdc46b8ac3/libs/jquery-ui-1.12.1/images/ui-icons_444444_256x240.png -------------------------------------------------------------------------------- /libs/jquery-ui-1.12.1/images/ui-icons_555555_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Security-Experts-Community/siem-monkey/2bf7844a8be1eb540f8c49e318134ffdc46b8ac3/libs/jquery-ui-1.12.1/images/ui-icons_555555_256x240.png -------------------------------------------------------------------------------- /libs/jquery-ui-1.12.1/images/ui-icons_777620_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Security-Experts-Community/siem-monkey/2bf7844a8be1eb540f8c49e318134ffdc46b8ac3/libs/jquery-ui-1.12.1/images/ui-icons_777620_256x240.png -------------------------------------------------------------------------------- /libs/jquery-ui-1.12.1/images/ui-icons_777777_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Security-Experts-Community/siem-monkey/2bf7844a8be1eb540f8c49e318134ffdc46b8ac3/libs/jquery-ui-1.12.1/images/ui-icons_777777_256x240.png -------------------------------------------------------------------------------- /libs/jquery-ui-1.12.1/images/ui-icons_cc0000_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Security-Experts-Community/siem-monkey/2bf7844a8be1eb540f8c49e318134ffdc46b8ac3/libs/jquery-ui-1.12.1/images/ui-icons_cc0000_256x240.png -------------------------------------------------------------------------------- /libs/jquery-ui-1.12.1/images/ui-icons_ffffff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Security-Experts-Community/siem-monkey/2bf7844a8be1eb540f8c49e318134ffdc46b8ac3/libs/jquery-ui-1.12.1/images/ui-icons_ffffff_256x240.png -------------------------------------------------------------------------------- /libs/jquery-ui-1.12.1/jquery-ui.structure.min.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.12.1 - 2016-09-14 2 | * http://jqueryui.com 3 | * Copyright jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | .ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0 0;padding:.5em .5em .5em .7em;font-size:100%}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{margin:0;cursor:pointer;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-item-wrapper{position:relative;padding:3px 1em 3px .4em}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item-wrapper{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-button{padding:.4em 1em;display:inline-block;position:relative;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2em;box-sizing:border-box;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-button-icon-only{text-indent:0}.ui-button-icon-only .ui-icon{position:absolute;top:50%;left:50%;margin-top:-8px;margin-left:-8px}.ui-button.ui-icon-notext .ui-icon{padding:0;width:2.1em;height:2.1em;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-icon-notext .ui-icon{width:auto;height:auto;text-indent:0;white-space:normal;padding:.4em 1em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-controlgroup{vertical-align:middle;display:inline-block}.ui-controlgroup > .ui-controlgroup-item{float:left;margin-left:0;margin-right:0}.ui-controlgroup > .ui-controlgroup-item:focus,.ui-controlgroup > .ui-controlgroup-item.ui-visual-focus{z-index:9999}.ui-controlgroup-vertical > .ui-controlgroup-item{display:block;float:none;width:100%;margin-top:0;margin-bottom:0;text-align:left}.ui-controlgroup-vertical .ui-controlgroup-item{box-sizing:border-box}.ui-controlgroup .ui-controlgroup-label{padding:.4em 1em}.ui-controlgroup .ui-controlgroup-label span{font-size:80%}.ui-controlgroup-horizontal .ui-controlgroup-label + .ui-controlgroup-item{border-left:none}.ui-controlgroup-vertical .ui-controlgroup-label + .ui-controlgroup-item{border-top:none}.ui-controlgroup-horizontal .ui-controlgroup-label.ui-widget-content{border-right:none}.ui-controlgroup-vertical .ui-controlgroup-label.ui-widget-content{border-bottom:none}.ui-controlgroup-vertical .ui-spinner-input{width:75%;width:calc( 100% - 2.4em )}.ui-controlgroup-vertical .ui-spinner .ui-spinner-up{border-top-style:solid}.ui-checkboxradio-label .ui-icon-background{box-shadow:inset 1px 1px 1px #ccc;border-radius:.12em;border:none}.ui-checkboxradio-radio-label .ui-icon-background{width:16px;height:16px;border-radius:1em;overflow:visible;border:none}.ui-checkboxradio-radio-label.ui-checkboxradio-checked .ui-icon,.ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-icon{background-image:none;width:8px;height:8px;border-width:4px;border-style:solid}.ui-checkboxradio-disabled{pointer-events:none}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker .ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;left:.5em;top:.3em}.ui-dialog{position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-n{height:2px;top:0}.ui-dialog .ui-resizable-e{width:2px;right:0}.ui-dialog .ui-resizable-s{height:2px;bottom:0}.ui-dialog .ui-resizable-w{width:2px;left:0}.ui-dialog .ui-resizable-se,.ui-dialog .ui-resizable-sw,.ui-dialog .ui-resizable-ne,.ui-dialog .ui-resizable-nw{width:7px;height:7px}.ui-dialog .ui-resizable-se{right:0;bottom:0}.ui-dialog .ui-resizable-sw{left:0;bottom:0}.ui-dialog .ui-resizable-ne{right:0;top:0}.ui-dialog .ui-resizable-nw{left:0;top:0}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-draggable-handle{-ms-touch-action:none;touch-action:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block;-ms-touch-action:none;touch-action:none}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");height:100%;filter:alpha(opacity=25);opacity:0.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-selectable{-ms-touch-action:none;touch-action:none}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-selectmenu-menu{padding:0;margin:0;position:absolute;top:0;left:0;display:none}.ui-selectmenu-menu .ui-menu{overflow:auto;overflow-x:hidden;padding-bottom:1px}.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup{font-size:1em;font-weight:bold;line-height:1.5;padding:2px 0.4em;margin:0.5em 0 0 0;height:auto;border:0}.ui-selectmenu-open{display:block}.ui-selectmenu-text{display:block;margin-right:20px;overflow:hidden;text-overflow:ellipsis}.ui-selectmenu-button.ui-button{text-align:left;white-space:nowrap;width:14em}.ui-selectmenu-icon.ui-icon{float:right;margin-top:0}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:.222em 0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:2em}.ui-spinner-button{width:1.6em;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top-style:none;border-bottom-style:none;border-right-style:none}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px}body .ui-tooltip{border-width:2px} -------------------------------------------------------------------------------- /libs/jquery-ui-1.12.1/jquery-ui.theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery UI CSS Framework 1.12.1 3 | * http://jqueryui.com 4 | * 5 | * Copyright jQuery Foundation and other contributors 6 | * Released under the MIT license. 7 | * http://jquery.org/license 8 | * 9 | * http://api.jqueryui.com/category/theming/ 10 | * 11 | * To view and modify this theme, visit http://jqueryui.com/themeroller/?bgShadowXPos=&bgOverlayXPos=&bgErrorXPos=&bgHighlightXPos=&bgContentXPos=&bgHeaderXPos=&bgActiveXPos=&bgHoverXPos=&bgDefaultXPos=&bgShadowYPos=&bgOverlayYPos=&bgErrorYPos=&bgHighlightYPos=&bgContentYPos=&bgHeaderYPos=&bgActiveYPos=&bgHoverYPos=&bgDefaultYPos=&bgShadowRepeat=&bgOverlayRepeat=&bgErrorRepeat=&bgHighlightRepeat=&bgContentRepeat=&bgHeaderRepeat=&bgActiveRepeat=&bgHoverRepeat=&bgDefaultRepeat=&iconsHover=url(%22images%2Fui-icons_555555_256x240.png%22)&iconsHighlight=url(%22images%2Fui-icons_777620_256x240.png%22)&iconsHeader=url(%22images%2Fui-icons_444444_256x240.png%22)&iconsError=url(%22images%2Fui-icons_cc0000_256x240.png%22)&iconsDefault=url(%22images%2Fui-icons_777777_256x240.png%22)&iconsContent=url(%22images%2Fui-icons_444444_256x240.png%22)&iconsActive=url(%22images%2Fui-icons_ffffff_256x240.png%22)&bgImgUrlShadow=&bgImgUrlOverlay=&bgImgUrlHover=&bgImgUrlHighlight=&bgImgUrlHeader=&bgImgUrlError=&bgImgUrlDefault=&bgImgUrlContent=&bgImgUrlActive=&opacityFilterShadow=Alpha(Opacity%3D30)&opacityFilterOverlay=Alpha(Opacity%3D30)&opacityShadowPerc=30&opacityOverlayPerc=30&iconColorHover=%23555555&iconColorHighlight=%23777620&iconColorHeader=%23444444&iconColorError=%23cc0000&iconColorDefault=%23777777&iconColorContent=%23444444&iconColorActive=%23ffffff&bgImgOpacityShadow=0&bgImgOpacityOverlay=0&bgImgOpacityError=95&bgImgOpacityHighlight=55&bgImgOpacityContent=75&bgImgOpacityHeader=75&bgImgOpacityActive=65&bgImgOpacityHover=75&bgImgOpacityDefault=75&bgTextureShadow=flat&bgTextureOverlay=flat&bgTextureError=flat&bgTextureHighlight=flat&bgTextureContent=flat&bgTextureHeader=flat&bgTextureActive=flat&bgTextureHover=flat&bgTextureDefault=flat&cornerRadius=3px&fwDefault=normal&ffDefault=Arial%2CHelvetica%2Csans-serif&fsDefault=1em&cornerRadiusShadow=8px&thicknessShadow=5px&offsetLeftShadow=0px&offsetTopShadow=0px&opacityShadow=.3&bgColorShadow=%23666666&opacityOverlay=.3&bgColorOverlay=%23aaaaaa&fcError=%235f3f3f&borderColorError=%23f1a899&bgColorError=%23fddfdf&fcHighlight=%23777620&borderColorHighlight=%23dad55e&bgColorHighlight=%23fffa90&fcContent=%23333333&borderColorContent=%23dddddd&bgColorContent=%23ffffff&fcHeader=%23333333&borderColorHeader=%23dddddd&bgColorHeader=%23e9e9e9&fcActive=%23ffffff&borderColorActive=%23003eff&bgColorActive=%23007fff&fcHover=%232b2b2b&borderColorHover=%23cccccc&bgColorHover=%23ededed&fcDefault=%23454545&borderColorDefault=%23c5c5c5&bgColorDefault=%23f6f6f6 12 | */ 13 | 14 | 15 | /* Component containers 16 | ----------------------------------*/ 17 | .ui-widget { 18 | font-family: Arial,Helvetica,sans-serif; 19 | font-size: 1em; 20 | } 21 | .ui-widget .ui-widget { 22 | font-size: 1em; 23 | } 24 | .ui-widget input, 25 | .ui-widget select, 26 | .ui-widget textarea, 27 | .ui-widget button { 28 | font-family: Arial,Helvetica,sans-serif; 29 | font-size: 1em; 30 | } 31 | .ui-widget.ui-widget-content { 32 | border: 1px solid #c5c5c5; 33 | } 34 | .ui-widget-content { 35 | border: 1px solid #dddddd; 36 | background: #ffffff; 37 | color: #333333; 38 | } 39 | .ui-widget-content a { 40 | color: #333333; 41 | } 42 | .ui-widget-header { 43 | border: 1px solid #dddddd; 44 | background: #e9e9e9; 45 | color: #333333; 46 | font-weight: bold; 47 | } 48 | .ui-widget-header a { 49 | color: #333333; 50 | } 51 | 52 | /* Interaction states 53 | ----------------------------------*/ 54 | .ui-state-default, 55 | .ui-widget-content .ui-state-default, 56 | .ui-widget-header .ui-state-default, 57 | .ui-button, 58 | 59 | /* We use html here because we need a greater specificity to make sure disabled 60 | works properly when clicked or hovered */ 61 | html .ui-button.ui-state-disabled:hover, 62 | html .ui-button.ui-state-disabled:active { 63 | border: 1px solid #c5c5c5; 64 | background: #f6f6f6; 65 | font-weight: normal; 66 | color: #454545; 67 | } 68 | .ui-state-default a, 69 | .ui-state-default a:link, 70 | .ui-state-default a:visited, 71 | a.ui-button, 72 | a:link.ui-button, 73 | a:visited.ui-button, 74 | .ui-button { 75 | color: #454545; 76 | text-decoration: none; 77 | } 78 | .ui-state-hover, 79 | .ui-widget-content .ui-state-hover, 80 | .ui-widget-header .ui-state-hover, 81 | .ui-state-focus, 82 | .ui-widget-content .ui-state-focus, 83 | .ui-widget-header .ui-state-focus, 84 | .ui-button:hover, 85 | .ui-button:focus { 86 | border: 1px solid #cccccc; 87 | background: #ededed; 88 | font-weight: normal; 89 | color: #2b2b2b; 90 | } 91 | .ui-state-hover a, 92 | .ui-state-hover a:hover, 93 | .ui-state-hover a:link, 94 | .ui-state-hover a:visited, 95 | .ui-state-focus a, 96 | .ui-state-focus a:hover, 97 | .ui-state-focus a:link, 98 | .ui-state-focus a:visited, 99 | a.ui-button:hover, 100 | a.ui-button:focus { 101 | color: #2b2b2b; 102 | text-decoration: none; 103 | } 104 | 105 | .ui-visual-focus { 106 | box-shadow: 0 0 3px 1px rgb(94, 158, 214); 107 | } 108 | .ui-state-active, 109 | .ui-widget-content .ui-state-active, 110 | .ui-widget-header .ui-state-active, 111 | a.ui-button:active, 112 | .ui-button:active, 113 | .ui-button.ui-state-active:hover { 114 | border: 1px solid #003eff; 115 | background: #007fff; 116 | font-weight: normal; 117 | color: #ffffff; 118 | } 119 | .ui-icon-background, 120 | .ui-state-active .ui-icon-background { 121 | border: #003eff; 122 | background-color: #ffffff; 123 | } 124 | .ui-state-active a, 125 | .ui-state-active a:link, 126 | .ui-state-active a:visited { 127 | color: #ffffff; 128 | text-decoration: none; 129 | } 130 | 131 | /* Interaction Cues 132 | ----------------------------------*/ 133 | .ui-state-highlight, 134 | .ui-widget-content .ui-state-highlight, 135 | .ui-widget-header .ui-state-highlight { 136 | border: 1px solid #dad55e; 137 | background: #fffa90; 138 | color: #777620; 139 | } 140 | .ui-state-checked { 141 | border: 1px solid #dad55e; 142 | background: #fffa90; 143 | } 144 | .ui-state-highlight a, 145 | .ui-widget-content .ui-state-highlight a, 146 | .ui-widget-header .ui-state-highlight a { 147 | color: #777620; 148 | } 149 | .ui-state-error, 150 | .ui-widget-content .ui-state-error, 151 | .ui-widget-header .ui-state-error { 152 | border: 1px solid #f1a899; 153 | background: #fddfdf; 154 | color: #5f3f3f; 155 | } 156 | .ui-state-error a, 157 | .ui-widget-content .ui-state-error a, 158 | .ui-widget-header .ui-state-error a { 159 | color: #5f3f3f; 160 | } 161 | .ui-state-error-text, 162 | .ui-widget-content .ui-state-error-text, 163 | .ui-widget-header .ui-state-error-text { 164 | color: #5f3f3f; 165 | } 166 | .ui-priority-primary, 167 | .ui-widget-content .ui-priority-primary, 168 | .ui-widget-header .ui-priority-primary { 169 | font-weight: bold; 170 | } 171 | .ui-priority-secondary, 172 | .ui-widget-content .ui-priority-secondary, 173 | .ui-widget-header .ui-priority-secondary { 174 | opacity: .7; 175 | filter:Alpha(Opacity=70); /* support: IE8 */ 176 | font-weight: normal; 177 | } 178 | .ui-state-disabled, 179 | .ui-widget-content .ui-state-disabled, 180 | .ui-widget-header .ui-state-disabled { 181 | opacity: .35; 182 | filter:Alpha(Opacity=35); /* support: IE8 */ 183 | background-image: none; 184 | } 185 | .ui-state-disabled .ui-icon { 186 | filter:Alpha(Opacity=35); /* support: IE8 - See #6059 */ 187 | } 188 | 189 | /* Icons 190 | ----------------------------------*/ 191 | 192 | /* states and images */ 193 | .ui-icon { 194 | width: 16px; 195 | height: 16px; 196 | } 197 | .ui-icon, 198 | .ui-widget-content .ui-icon { 199 | background-image: url("images/ui-icons_444444_256x240.png"); 200 | } 201 | .ui-widget-header .ui-icon { 202 | background-image: url("images/ui-icons_444444_256x240.png"); 203 | } 204 | .ui-state-hover .ui-icon, 205 | .ui-state-focus .ui-icon, 206 | .ui-button:hover .ui-icon, 207 | .ui-button:focus .ui-icon { 208 | background-image: url("images/ui-icons_555555_256x240.png"); 209 | } 210 | .ui-state-active .ui-icon, 211 | .ui-button:active .ui-icon { 212 | background-image: url("images/ui-icons_ffffff_256x240.png"); 213 | } 214 | .ui-state-highlight .ui-icon, 215 | .ui-button .ui-state-highlight.ui-icon { 216 | background-image: url("images/ui-icons_777620_256x240.png"); 217 | } 218 | .ui-state-error .ui-icon, 219 | .ui-state-error-text .ui-icon { 220 | background-image: url("images/ui-icons_cc0000_256x240.png"); 221 | } 222 | .ui-button .ui-icon { 223 | background-image: url("images/ui-icons_777777_256x240.png"); 224 | } 225 | 226 | /* positioning */ 227 | .ui-icon-blank { background-position: 16px 16px; } 228 | .ui-icon-caret-1-n { background-position: 0 0; } 229 | .ui-icon-caret-1-ne { background-position: -16px 0; } 230 | .ui-icon-caret-1-e { background-position: -32px 0; } 231 | .ui-icon-caret-1-se { background-position: -48px 0; } 232 | .ui-icon-caret-1-s { background-position: -65px 0; } 233 | .ui-icon-caret-1-sw { background-position: -80px 0; } 234 | .ui-icon-caret-1-w { background-position: -96px 0; } 235 | .ui-icon-caret-1-nw { background-position: -112px 0; } 236 | .ui-icon-caret-2-n-s { background-position: -128px 0; } 237 | .ui-icon-caret-2-e-w { background-position: -144px 0; } 238 | .ui-icon-triangle-1-n { background-position: 0 -16px; } 239 | .ui-icon-triangle-1-ne { background-position: -16px -16px; } 240 | .ui-icon-triangle-1-e { background-position: -32px -16px; } 241 | .ui-icon-triangle-1-se { background-position: -48px -16px; } 242 | .ui-icon-triangle-1-s { background-position: -65px -16px; } 243 | .ui-icon-triangle-1-sw { background-position: -80px -16px; } 244 | .ui-icon-triangle-1-w { background-position: -96px -16px; } 245 | .ui-icon-triangle-1-nw { background-position: -112px -16px; } 246 | .ui-icon-triangle-2-n-s { background-position: -128px -16px; } 247 | .ui-icon-triangle-2-e-w { background-position: -144px -16px; } 248 | .ui-icon-arrow-1-n { background-position: 0 -32px; } 249 | .ui-icon-arrow-1-ne { background-position: -16px -32px; } 250 | .ui-icon-arrow-1-e { background-position: -32px -32px; } 251 | .ui-icon-arrow-1-se { background-position: -48px -32px; } 252 | .ui-icon-arrow-1-s { background-position: -65px -32px; } 253 | .ui-icon-arrow-1-sw { background-position: -80px -32px; } 254 | .ui-icon-arrow-1-w { background-position: -96px -32px; } 255 | .ui-icon-arrow-1-nw { background-position: -112px -32px; } 256 | .ui-icon-arrow-2-n-s { background-position: -128px -32px; } 257 | .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } 258 | .ui-icon-arrow-2-e-w { background-position: -160px -32px; } 259 | .ui-icon-arrow-2-se-nw { background-position: -176px -32px; } 260 | .ui-icon-arrowstop-1-n { background-position: -192px -32px; } 261 | .ui-icon-arrowstop-1-e { background-position: -208px -32px; } 262 | .ui-icon-arrowstop-1-s { background-position: -224px -32px; } 263 | .ui-icon-arrowstop-1-w { background-position: -240px -32px; } 264 | .ui-icon-arrowthick-1-n { background-position: 1px -48px; } 265 | .ui-icon-arrowthick-1-ne { background-position: -16px -48px; } 266 | .ui-icon-arrowthick-1-e { background-position: -32px -48px; } 267 | .ui-icon-arrowthick-1-se { background-position: -48px -48px; } 268 | .ui-icon-arrowthick-1-s { background-position: -64px -48px; } 269 | .ui-icon-arrowthick-1-sw { background-position: -80px -48px; } 270 | .ui-icon-arrowthick-1-w { background-position: -96px -48px; } 271 | .ui-icon-arrowthick-1-nw { background-position: -112px -48px; } 272 | .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } 273 | .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } 274 | .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } 275 | .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } 276 | .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } 277 | .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } 278 | .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } 279 | .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } 280 | .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } 281 | .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } 282 | .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } 283 | .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } 284 | .ui-icon-arrowreturn-1-w { background-position: -64px -64px; } 285 | .ui-icon-arrowreturn-1-n { background-position: -80px -64px; } 286 | .ui-icon-arrowreturn-1-e { background-position: -96px -64px; } 287 | .ui-icon-arrowreturn-1-s { background-position: -112px -64px; } 288 | .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } 289 | .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } 290 | .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } 291 | .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } 292 | .ui-icon-arrow-4 { background-position: 0 -80px; } 293 | .ui-icon-arrow-4-diag { background-position: -16px -80px; } 294 | .ui-icon-extlink { background-position: -32px -80px; } 295 | .ui-icon-newwin { background-position: -48px -80px; } 296 | .ui-icon-refresh { background-position: -64px -80px; } 297 | .ui-icon-shuffle { background-position: -80px -80px; } 298 | .ui-icon-transfer-e-w { background-position: -96px -80px; } 299 | .ui-icon-transferthick-e-w { background-position: -112px -80px; } 300 | .ui-icon-folder-collapsed { background-position: 0 -96px; } 301 | .ui-icon-folder-open { background-position: -16px -96px; } 302 | .ui-icon-document { background-position: -32px -96px; } 303 | .ui-icon-document-b { background-position: -48px -96px; } 304 | .ui-icon-note { background-position: -64px -96px; } 305 | .ui-icon-mail-closed { background-position: -80px -96px; } 306 | .ui-icon-mail-open { background-position: -96px -96px; } 307 | .ui-icon-suitcase { background-position: -112px -96px; } 308 | .ui-icon-comment { background-position: -128px -96px; } 309 | .ui-icon-person { background-position: -144px -96px; } 310 | .ui-icon-print { background-position: -160px -96px; } 311 | .ui-icon-trash { background-position: -176px -96px; } 312 | .ui-icon-locked { background-position: -192px -96px; } 313 | .ui-icon-unlocked { background-position: -208px -96px; } 314 | .ui-icon-bookmark { background-position: -224px -96px; } 315 | .ui-icon-tag { background-position: -240px -96px; } 316 | .ui-icon-home { background-position: 0 -112px; } 317 | .ui-icon-flag { background-position: -16px -112px; } 318 | .ui-icon-calendar { background-position: -32px -112px; } 319 | .ui-icon-cart { background-position: -48px -112px; } 320 | .ui-icon-pencil { background-position: -64px -112px; } 321 | .ui-icon-clock { background-position: -80px -112px; } 322 | .ui-icon-disk { background-position: -96px -112px; } 323 | .ui-icon-calculator { background-position: -112px -112px; } 324 | .ui-icon-zoomin { background-position: -128px -112px; } 325 | .ui-icon-zoomout { background-position: -144px -112px; } 326 | .ui-icon-search { background-position: -160px -112px; } 327 | .ui-icon-wrench { background-position: -176px -112px; } 328 | .ui-icon-gear { background-position: -192px -112px; } 329 | .ui-icon-heart { background-position: -208px -112px; } 330 | .ui-icon-star { background-position: -224px -112px; } 331 | .ui-icon-link { background-position: -240px -112px; } 332 | .ui-icon-cancel { background-position: 0 -128px; } 333 | .ui-icon-plus { background-position: -16px -128px; } 334 | .ui-icon-plusthick { background-position: -32px -128px; } 335 | .ui-icon-minus { background-position: -48px -128px; } 336 | .ui-icon-minusthick { background-position: -64px -128px; } 337 | .ui-icon-close { background-position: -80px -128px; } 338 | .ui-icon-closethick { background-position: -96px -128px; } 339 | .ui-icon-key { background-position: -112px -128px; } 340 | .ui-icon-lightbulb { background-position: -128px -128px; } 341 | .ui-icon-scissors { background-position: -144px -128px; } 342 | .ui-icon-clipboard { background-position: -160px -128px; } 343 | .ui-icon-copy { background-position: -176px -128px; } 344 | .ui-icon-contact { background-position: -192px -128px; } 345 | .ui-icon-image { background-position: -208px -128px; } 346 | .ui-icon-video { background-position: -224px -128px; } 347 | .ui-icon-script { background-position: -240px -128px; } 348 | .ui-icon-alert { background-position: 0 -144px; } 349 | .ui-icon-info { background-position: -16px -144px; } 350 | .ui-icon-notice { background-position: -32px -144px; } 351 | .ui-icon-help { background-position: -48px -144px; } 352 | .ui-icon-check { background-position: -64px -144px; } 353 | .ui-icon-bullet { background-position: -80px -144px; } 354 | .ui-icon-radio-on { background-position: -96px -144px; } 355 | .ui-icon-radio-off { background-position: -112px -144px; } 356 | .ui-icon-pin-w { background-position: -128px -144px; } 357 | .ui-icon-pin-s { background-position: -144px -144px; } 358 | .ui-icon-play { background-position: 0 -160px; } 359 | .ui-icon-pause { background-position: -16px -160px; } 360 | .ui-icon-seek-next { background-position: -32px -160px; } 361 | .ui-icon-seek-prev { background-position: -48px -160px; } 362 | .ui-icon-seek-end { background-position: -64px -160px; } 363 | .ui-icon-seek-start { background-position: -80px -160px; } 364 | /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ 365 | .ui-icon-seek-first { background-position: -80px -160px; } 366 | .ui-icon-stop { background-position: -96px -160px; } 367 | .ui-icon-eject { background-position: -112px -160px; } 368 | .ui-icon-volume-off { background-position: -128px -160px; } 369 | .ui-icon-volume-on { background-position: -144px -160px; } 370 | .ui-icon-power { background-position: 0 -176px; } 371 | .ui-icon-signal-diag { background-position: -16px -176px; } 372 | .ui-icon-signal { background-position: -32px -176px; } 373 | .ui-icon-battery-0 { background-position: -48px -176px; } 374 | .ui-icon-battery-1 { background-position: -64px -176px; } 375 | .ui-icon-battery-2 { background-position: -80px -176px; } 376 | .ui-icon-battery-3 { background-position: -96px -176px; } 377 | .ui-icon-circle-plus { background-position: 0 -192px; } 378 | .ui-icon-circle-minus { background-position: -16px -192px; } 379 | .ui-icon-circle-close { background-position: -32px -192px; } 380 | .ui-icon-circle-triangle-e { background-position: -48px -192px; } 381 | .ui-icon-circle-triangle-s { background-position: -64px -192px; } 382 | .ui-icon-circle-triangle-w { background-position: -80px -192px; } 383 | .ui-icon-circle-triangle-n { background-position: -96px -192px; } 384 | .ui-icon-circle-arrow-e { background-position: -112px -192px; } 385 | .ui-icon-circle-arrow-s { background-position: -128px -192px; } 386 | .ui-icon-circle-arrow-w { background-position: -144px -192px; } 387 | .ui-icon-circle-arrow-n { background-position: -160px -192px; } 388 | .ui-icon-circle-zoomin { background-position: -176px -192px; } 389 | .ui-icon-circle-zoomout { background-position: -192px -192px; } 390 | .ui-icon-circle-check { background-position: -208px -192px; } 391 | .ui-icon-circlesmall-plus { background-position: 0 -208px; } 392 | .ui-icon-circlesmall-minus { background-position: -16px -208px; } 393 | .ui-icon-circlesmall-close { background-position: -32px -208px; } 394 | .ui-icon-squaresmall-plus { background-position: -48px -208px; } 395 | .ui-icon-squaresmall-minus { background-position: -64px -208px; } 396 | .ui-icon-squaresmall-close { background-position: -80px -208px; } 397 | .ui-icon-grip-dotted-vertical { background-position: 0 -224px; } 398 | .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } 399 | .ui-icon-grip-solid-vertical { background-position: -32px -224px; } 400 | .ui-icon-grip-solid-horizontal { background-position: -48px -224px; } 401 | .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } 402 | .ui-icon-grip-diagonal-se { background-position: -80px -224px; } 403 | 404 | 405 | /* Misc visuals 406 | ----------------------------------*/ 407 | 408 | /* Corner radius */ 409 | .ui-corner-all, 410 | .ui-corner-top, 411 | .ui-corner-left, 412 | .ui-corner-tl { 413 | border-top-left-radius: 3px; 414 | } 415 | .ui-corner-all, 416 | .ui-corner-top, 417 | .ui-corner-right, 418 | .ui-corner-tr { 419 | border-top-right-radius: 3px; 420 | } 421 | .ui-corner-all, 422 | .ui-corner-bottom, 423 | .ui-corner-left, 424 | .ui-corner-bl { 425 | border-bottom-left-radius: 3px; 426 | } 427 | .ui-corner-all, 428 | .ui-corner-bottom, 429 | .ui-corner-right, 430 | .ui-corner-br { 431 | border-bottom-right-radius: 3px; 432 | } 433 | 434 | /* Overlays */ 435 | .ui-widget-overlay { 436 | background: #aaaaaa; 437 | opacity: .003; 438 | filter: Alpha(Opacity=.3); /* support: IE8 */ 439 | } 440 | .ui-widget-shadow { 441 | -webkit-box-shadow: 0px 0px 5px #666666; 442 | box-shadow: 0px 0px 5px #666666; 443 | } 444 | -------------------------------------------------------------------------------- /libs/jquery-ui-1.12.1/jquery-ui.theme.min.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.12.1 - 2016-09-14 2 | * http://jqueryui.com 3 | * Copyright jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | .ui-widget{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget.ui-widget-content{border:1px solid #c5c5c5}.ui-widget-content{border:1px solid #ddd;background:#fff;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #ddd;background:#e9e9e9;color:#333;font-weight:bold}.ui-widget-header a{color:#333}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default,.ui-button,html .ui-button.ui-state-disabled:hover,html .ui-button.ui-state-disabled:active{border:1px solid #c5c5c5;background:#f6f6f6;font-weight:normal;color:#454545}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited,a.ui-button,a:link.ui-button,a:visited.ui-button,.ui-button{color:#454545;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus,.ui-button:hover,.ui-button:focus{border:1px solid #ccc;background:#ededed;font-weight:normal;color:#2b2b2b}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited,a.ui-button:hover,a.ui-button:focus{color:#2b2b2b;text-decoration:none}.ui-visual-focus{box-shadow:0 0 3px 1px rgb(94,158,214)}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active,a.ui-button:active,.ui-button:active,.ui-button.ui-state-active:hover{border:1px solid #003eff;background:#007fff;font-weight:normal;color:#fff}.ui-icon-background,.ui-state-active .ui-icon-background{border:#003eff;background-color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #dad55e;background:#fffa90;color:#777620}.ui-state-checked{border:1px solid #dad55e;background:#fffa90}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#777620}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #f1a899;background:#fddfdf;color:#5f3f3f}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#5f3f3f}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#5f3f3f}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_444444_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_444444_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon,.ui-button:hover .ui-icon,.ui-button:focus .ui-icon{background-image:url("images/ui-icons_555555_256x240.png")}.ui-state-active .ui-icon,.ui-button:active .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-highlight .ui-icon,.ui-button .ui-state-highlight.ui-icon{background-image:url("images/ui-icons_777620_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_cc0000_256x240.png")}.ui-button .ui-icon{background-image:url("images/ui-icons_777777_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-caret-1-n{background-position:0 0}.ui-icon-caret-1-ne{background-position:-16px 0}.ui-icon-caret-1-e{background-position:-32px 0}.ui-icon-caret-1-se{background-position:-48px 0}.ui-icon-caret-1-s{background-position:-65px 0}.ui-icon-caret-1-sw{background-position:-80px 0}.ui-icon-caret-1-w{background-position:-96px 0}.ui-icon-caret-1-nw{background-position:-112px 0}.ui-icon-caret-2-n-s{background-position:-128px 0}.ui-icon-caret-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-65px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-65px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:1px -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:3px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:3px}.ui-widget-overlay{background:#aaa;opacity:.003;filter:Alpha(Opacity=.3)}.ui-widget-shadow{-webkit-box-shadow:0 0 5px #666;box-shadow:0 0 5px #666} -------------------------------------------------------------------------------- /libs/jquery-ui-1.12.1/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery-ui", 3 | "title": "jQuery UI", 4 | "description": "A curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.", 5 | "version": "1.12.1", 6 | "homepage": "http://jqueryui.com", 7 | "author": { 8 | "name": "jQuery Foundation and other contributors", 9 | "url": "https://github.com/jquery/jquery-ui/blob/1.12.1/AUTHORS.txt" 10 | }, 11 | "main": "ui/widget.js", 12 | "maintainers": [ 13 | { 14 | "name": "Scott González", 15 | "email": "scott.gonzalez@gmail.com", 16 | "url": "http://scottgonzalez.com" 17 | }, 18 | { 19 | "name": "Jörn Zaefferer", 20 | "email": "joern.zaefferer@gmail.com", 21 | "url": "http://bassistance.de" 22 | }, 23 | { 24 | "name": "Mike Sherov", 25 | "email": "mike.sherov@gmail.com", 26 | "url": "http://mike.sherov.com" 27 | }, 28 | { 29 | "name": "TJ VanToll", 30 | "email": "tj.vantoll@gmail.com", 31 | "url": "http://tjvantoll.com" 32 | }, 33 | { 34 | "name": "Felix Nagel", 35 | "email": "info@felixnagel.com", 36 | "url": "http://www.felixnagel.com" 37 | }, 38 | { 39 | "name": "Alex Schmitz", 40 | "email": "arschmitz@gmail.com", 41 | "url": "https://github.com/arschmitz" 42 | } 43 | ], 44 | "repository": { 45 | "type": "git", 46 | "url": "git://github.com/jquery/jquery-ui.git" 47 | }, 48 | "bugs": "https://bugs.jqueryui.com/", 49 | "license": "MIT", 50 | "scripts": { 51 | "test": "grunt" 52 | }, 53 | "dependencies": {}, 54 | "devDependencies": { 55 | "commitplease": "2.3.0", 56 | "grunt": "0.4.5", 57 | "grunt-bowercopy": "1.2.4", 58 | "grunt-cli": "0.1.13", 59 | "grunt-compare-size": "0.4.0", 60 | "grunt-contrib-concat": "0.5.1", 61 | "grunt-contrib-csslint": "0.5.0", 62 | "grunt-contrib-jshint": "0.12.0", 63 | "grunt-contrib-qunit": "1.0.1", 64 | "grunt-contrib-requirejs": "0.4.4", 65 | "grunt-contrib-uglify": "0.11.1", 66 | "grunt-git-authors": "3.1.0", 67 | "grunt-html": "6.0.0", 68 | "grunt-jscs": "2.1.0", 69 | "load-grunt-tasks": "3.4.0", 70 | "rimraf": "2.5.1", 71 | "testswarm": "1.1.0" 72 | }, 73 | "keywords": [] 74 | } 75 | -------------------------------------------------------------------------------- /libs/jquery-ui-timepicker/LICENSE_MIT: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013 Trent Richardson 2 | 3 | Permission is hereby granted, free of charge, to any person 4 | obtaining a copy of this software and associated documentation 5 | files (the "Software"), to deal in the Software without 6 | restriction, including without limitation the rights to use, 7 | copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the 9 | Software is furnished to do so, subject to the following 10 | conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /libs/jquery-ui-timepicker/jquery-ui-timepicker-addon.css: -------------------------------------------------------------------------------- 1 | .ui-timepicker-div .ui-widget-header { margin-bottom: 8px; } 2 | .ui-timepicker-div dl { text-align: left; } 3 | .ui-timepicker-div dl dt { float: left; clear:left; padding: 0 0 0 5px; } 4 | .ui-timepicker-div dl dd { margin: 0 10px 10px 40%; } 5 | .ui-timepicker-div td { font-size: 90%; } 6 | .ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; } 7 | .ui-timepicker-div .ui_tpicker_unit_hide{ display: none; } 8 | 9 | .ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input { background: none; color: inherit; border: none; outline: none; border-bottom: solid 1px #555; width: 95%; } 10 | .ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input:focus { border-bottom-color: #aaa; } 11 | 12 | .ui-timepicker-rtl{ direction: rtl; } 13 | .ui-timepicker-rtl dl { text-align: right; padding: 0 5px 0 0; } 14 | .ui-timepicker-rtl dl dt{ float: right; clear: right; } 15 | .ui-timepicker-rtl dl dd { margin: 0 40% 10px 10px; } 16 | 17 | /* Shortened version style */ 18 | .ui-timepicker-div.ui-timepicker-oneLine { padding-right: 2px; } 19 | .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time, 20 | .ui-timepicker-div.ui-timepicker-oneLine dt { display: none; } 21 | .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time_label { display: block; padding-top: 2px; } 22 | .ui-timepicker-div.ui-timepicker-oneLine dl { text-align: right; } 23 | .ui-timepicker-div.ui-timepicker-oneLine dl dd, 24 | .ui-timepicker-div.ui-timepicker-oneLine dl dd > div { display:inline-block; margin:0; } 25 | .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_minute:before, 26 | .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_second:before { content:':'; display:inline-block; } 27 | .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_millisec:before, 28 | .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_microsec:before { content:'.'; display:inline-block; } 29 | .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide, 30 | .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide:before{ display: none; } -------------------------------------------------------------------------------- /libs/jquery/LICENCE.txt: -------------------------------------------------------------------------------- 1 | Copyright OpenJS Foundation and other contributors, https://openjsf.org/ 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining 4 | a copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /libs/moment.js/LICENCE: -------------------------------------------------------------------------------- 1 | 2 | Copyright (c) JS Foundation and other contributors 3 | 4 | Permission is hereby granted, free of charge, to any person 5 | obtaining a copy of this software and associated documentation 6 | files (the "Software"), to deal in the Software without 7 | restriction, including without limitation the rights to use, 8 | copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the 10 | Software is furnished to do so, subject to the following 11 | conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 18 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 20 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 21 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 22 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 23 | OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /libs/textarea-helper.js/textarea-helper.js: -------------------------------------------------------------------------------- 1 | (function (factory) { 2 | 'use strict'; 3 | if (typeof define === 'function' && define.amd) { 4 | // AMD. Register as an anonymous module. 5 | define(['jquery'], factory); 6 | } else if (typeof module === 'object' && module.exports) { 7 | // Node/CommonJS 8 | module.exports = factory(require('jquery')); 9 | } else { 10 | // Browser globals 11 | factory(jQuery); 12 | } 13 | }(function ($) { 14 | 'use strict'; 15 | var caretClass = 'textarea-helper-caret' 16 | , dataKey = 'textarea-helper' 17 | 18 | // Styles that could influence size of the mirrored element. 19 | , mirrorStyles = [ 20 | // Box Styles. 21 | 'box-sizing', 'height', 'width', 'padding-bottom' 22 | , 'padding-left', 'padding-right', 'padding-top' 23 | 24 | // Font stuff. 25 | , 'font-family', 'font-size', 'font-style' 26 | , 'font-variant', 'font-weight' 27 | 28 | // Spacing etc. 29 | , 'word-spacing', 'letter-spacing', 'line-height' 30 | , 'text-decoration', 'text-indent', 'text-transform' 31 | 32 | // The direction. 33 | , 'direction' 34 | ]; 35 | 36 | var TextareaHelper = function (elem) { 37 | if (elem.nodeName.toLowerCase() !== 'textarea') return; 38 | this.$text = $(elem); 39 | this.$mirror = $('
').css({ 'position' : 'absolute' 40 | , 'overflow' : 'auto' 41 | , 'white-space' : 'pre-wrap' 42 | , 'word-wrap' : 'break-word' 43 | , 'top' : 0 44 | , 'left' : -9999 45 | }).insertAfter(this.$text); 46 | }; 47 | 48 | (function () { 49 | this.update = function () { 50 | 51 | // Copy styles. 52 | var styles = {}; 53 | for (var i = 0, style; style = mirrorStyles[i]; i++) { 54 | styles[style] = this.$text.css(style); 55 | } 56 | this.$mirror.css(styles).empty(); 57 | 58 | // Update content and insert caret. 59 | var caretPos = this.getOriginalCaretPos() 60 | , str = this.$text.val() 61 | , pre = document.createTextNode(str.substring(0, caretPos)) 62 | , post = document.createTextNode(str.substring(caretPos)) 63 | , $car = $('').addClass(caretClass).css('position', 'absolute').html(' '); 64 | this.$mirror.append(pre, $car, post) 65 | .scrollTop(this.$text.scrollTop()); 66 | }; 67 | 68 | this.destroy = function () { 69 | this.$mirror.remove(); 70 | this.$text.removeData(dataKey); 71 | return null; 72 | }; 73 | 74 | this.caretPos = function () { 75 | this.update(); 76 | var $caret = this.$mirror.find('.' + caretClass) 77 | , pos = $caret.position(); 78 | if (this.$text.css('direction') === 'rtl') { 79 | pos.right = this.$mirror.innerWidth() - pos.left - $caret.width(); 80 | pos.left = 'auto'; 81 | } 82 | 83 | return pos; 84 | }; 85 | 86 | this.height = function () { 87 | this.update(); 88 | this.$mirror.css('height', ''); 89 | return this.$mirror.height(); 90 | }; 91 | 92 | // XBrowser caret position 93 | // Adapted from http://stackoverflow.com/questions/263743/how-to-get-caret-position-in-textarea 94 | this.getOriginalCaretPos = function () { 95 | var text = this.$text[0]; 96 | if (text.selectionStart) { 97 | return text.selectionStart; 98 | } else if (document.selection) { 99 | text.focus(); 100 | var r = document.selection.createRange(); 101 | if (r == null) { 102 | return 0; 103 | } 104 | var re = text.createTextRange() 105 | , rc = re.duplicate(); 106 | re.moveToBookmark(r.getBookmark()); 107 | rc.setEndPoint('EndToStart', re); 108 | return rc.text.length; 109 | } 110 | return 0; 111 | }; 112 | 113 | }).call(TextareaHelper.prototype); 114 | 115 | $.fn.textareaHelper = function (method) { 116 | this.each(function () { 117 | var $this = $(this) 118 | , instance = $this.data(dataKey); 119 | if (!instance) { 120 | instance = new TextareaHelper(this); 121 | $this.data(dataKey, instance); 122 | } 123 | }); 124 | if (method) { 125 | var instance = this.first().data(dataKey); 126 | return instance[method](); 127 | } else { 128 | return this; 129 | } 130 | }; 131 | 132 | })); 133 | -------------------------------------------------------------------------------- /libs/underscore.js/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2009-2022 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors 2 | 3 | Permission is hereby granted, free of charge, to any person 4 | obtaining a copy of this software and associated documentation 5 | files (the "Software"), to deal in the Software without 6 | restriction, including without limitation the rights to use, 7 | copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the 9 | Software is furnished to do so, subject to the following 10 | conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /libs/underscore.js/underscore-min.js: -------------------------------------------------------------------------------- 1 | !function(n,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define("underscore",r):(n=n||self,function(){var t=n._,e=n._=r();e.noConflict=function(){return n._=t,e}}())}(this,(function(){ 2 | // Underscore.js 1.12.0 3 | // https://underscorejs.org 4 | // (c) 2009-2020 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors 5 | // Underscore may be freely distributed under the MIT license. 6 | var n="1.12.0",r="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},t=Array.prototype,e=Object.prototype,u="undefined"!=typeof Symbol?Symbol.prototype:null,o=t.push,i=t.slice,a=e.toString,f=e.hasOwnProperty,c="undefined"!=typeof ArrayBuffer,l="undefined"!=typeof DataView,s=Array.isArray,p=Object.keys,v=Object.create,h=c&&ArrayBuffer.isView,y=isNaN,g=isFinite,d=!{toString:null}.propertyIsEnumerable("toString"),b=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],m=Math.pow(2,53)-1;function j(n,r){return r=null==r?n.length-1:+r,function(){for(var t=Math.max(arguments.length-r,0),e=Array(t),u=0;u=0&&t<=m}}function $(n){return function(r){return null==r?void 0:r[n]}}var G=$("byteLength"),H=J(G),Q=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var X=c?function(n){return h?h(n)&&!q(n):H(n)&&Q.test(a.call(n))}:K(!1),Y=$("length");function Z(n,r){r=function(n){for(var r={},t=n.length,e=0;e":">",'"':""","'":"'","`":"`"},Kn=Ln(Cn),Jn=Ln(_n(Cn)),$n=tn.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Gn=/(.)^/,Hn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Qn=/\\|'|\r|\n|\u2028|\u2029/g;function Xn(n){return"\\"+Hn[n]}var Yn=0;function Zn(n,r,t,e,u){if(!(e instanceof r))return n.apply(t,u);var o=Mn(n.prototype),i=n.apply(o,u);return _(i)?i:o}var nr=j((function(n,r){var t=nr.placeholder,e=function(){for(var u=0,o=r.length,i=Array(o),a=0;a1)er(a,r-1,t,e),u=e.length;else for(var f=0,c=a.length;f0&&(t=r.apply(this,arguments)),n<=1&&(r=null),t}}var cr=nr(fr,2);function lr(n,r,t){r=qn(r,t);for(var e,u=nn(n),o=0,i=u.length;o0?0:u-1;o>=0&&o0?a=o>=0?o:Math.max(o+f,a):f=o>=0?Math.min(o+1,f):o+f+1;else if(t&&o&&f)return e[o=t(e,u)]===u?o:-1;if(u!=u)return(o=r(i.call(e,a,f),C))>=0?o+a:-1;for(o=n>0?a:f-1;o>=0&&o0?0:i-1;for(u||(e=r[o?o[a]:a],a+=n);a>=0&&a=3;return r(n,Fn(t,u,4),e,o)}}var wr=_r(1),Ar=_r(-1);function xr(n,r,t){var e=[];return r=qn(r,t),mr(n,(function(n,t,u){r(n,t,u)&&e.push(n)})),e}function Sr(n,r,t){r=qn(r,t);for(var e=!tr(n)&&nn(n),u=(e||n).length,o=0;o=0}var Er=j((function(n,r,t){var e,u;return D(r)?u=r:(r=Nn(r),e=r.slice(0,-1),r=r[r.length-1]),jr(n,(function(n){var o=u;if(!o){if(e&&e.length&&(n=In(n,e)),null==n)return;o=n[r]}return null==o?o:o.apply(n,t)}))}));function Br(n,r){return jr(n,Rn(r))}function Nr(n,r,t){var e,u,o=-1/0,i=-1/0;if(null==r||"number"==typeof r&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=tr(n)?n:jn(n)).length;ao&&(o=e);else r=qn(r,t),mr(n,(function(n,t,e){((u=r(n,t,e))>i||u===-1/0&&o===-1/0)&&(o=n,i=u)}));return o}function Ir(n,r,t){if(null==r||t)return tr(n)||(n=jn(n)),n[Wn(n.length-1)];var e=tr(n)?En(n):jn(n),u=Y(e);r=Math.max(Math.min(r,u),0);for(var o=u-1,i=0;i1&&(e=Fn(e,r[1])),r=an(n)):(e=Pr,r=er(r,!1,!1),n=Object(n));for(var u=0,o=r.length;u1&&(t=r[1])):(r=jr(er(r,!1,!1),String),e=function(n,t){return!Mr(r,t)}),qr(n,e,t)}));function Wr(n,r,t){return i.call(n,0,Math.max(0,n.length-(null==r||t?1:r)))}function zr(n,r,t){return null==n||n.length<1?null==r||t?void 0:[]:null==r||t?n[0]:Wr(n,n.length-r)}function Lr(n,r,t){return i.call(n,null==r||t?1:r)}var Cr=j((function(n,r){return r=er(r,!0,!0),xr(n,(function(n){return!Mr(r,n)}))})),Kr=j((function(n,r){return Cr(n,r)}));function Jr(n,r,t,e){A(r)||(e=t,t=r,r=!1),null!=t&&(t=qn(t,e));for(var u=[],o=[],i=0,a=Y(n);ir?(e&&(clearTimeout(e),e=null),a=c,i=n.apply(u,o),e||(u=o=null)):e||!1===t.trailing||(e=setTimeout(f,l)),i};return c.cancel=function(){clearTimeout(e),a=0,e=u=o=null},c},debounce:function(n,r,t){var e,u,o=function(r,t){e=null,t&&(u=n.apply(r,t))},i=j((function(i){if(e&&clearTimeout(e),t){var a=!e;e=setTimeout(o,r),a&&(u=n.apply(this,i))}else e=or(o,r,this,i);return u}));return i.cancel=function(){clearTimeout(e),e=null},i},wrap:function(n,r){return nr(r,n)},negate:ar,compose:function(){var n=arguments,r=n.length-1;return function(){for(var t=r,e=n[r].apply(this,arguments);t--;)e=n[t].call(this,e);return e}},after:function(n,r){return function(){if(--n<1)return r.apply(this,arguments)}},before:fr,once:cr,findKey:lr,findIndex:pr,findLastIndex:vr,sortedIndex:hr,indexOf:gr,lastIndexOf:dr,find:br,detect:br,findWhere:function(n,r){return br(n,Dn(r))},each:mr,forEach:mr,map:jr,collect:jr,reduce:wr,foldl:wr,inject:wr,reduceRight:Ar,foldr:Ar,filter:xr,select:xr,reject:function(n,r,t){return xr(n,ar(qn(r)),t)},every:Sr,all:Sr,some:Or,any:Or,contains:Mr,includes:Mr,include:Mr,invoke:Er,pluck:Br,where:function(n,r){return xr(n,Dn(r))},max:Nr,min:function(n,r,t){var e,u,o=1/0,i=1/0;if(null==r||"number"==typeof r&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=tr(n)?n:jn(n)).length;ae||void 0===t)return 1;if(t 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | SiemMonkey Options 25 | 26 |
27 | 31 |
32 |
33 |
34 |
35 | 36 | 37 |
38 |
39 |
40 | 41 | 42 |
43 |
44 |
45 | 46 | 47 |
48 |
49 |
50 |
51 |
52 | Сервисы для получения информации по IP-адресам: 53 |
54 | 60 |
61 |
62 | 63 | 64 |
65 |
66 |
67 |
68 | Сервисы для получения информации по хешам: 69 |
70 | 76 |
77 | 78 |
79 |
80 | 81 | 82 |
83 | 84 | 85 | 86 | 87 | 88 | -------------------------------------------------------------------------------- /options.js: -------------------------------------------------------------------------------- 1 | // Copyright 2023 Konstantin Grishchenko, Security Experts Community 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | 16 | function save_options() { 17 | let vt_api_key = document.getElementById('vt-api-key').value; 18 | let dont_show_save_event_icons = document.getElementById('dont_show_save_event_icons').checked; 19 | let dont_show_desc_rules = document.getElementById('dont_show_desc_rules').checked; 20 | let disable_agg_sort = document.getElementById('disable_agg_sort').checked; 21 | let iplinks = []; 22 | $(".iplink").each(function(index){ 23 | let name = $(".iplink_name", $(this)).val(); 24 | let template = $(".iplink_template", $(this)).val(); 25 | let local = $(".iplink_local", $(this)).is(':checked'); 26 | iplinks.push({name, template, local}); 27 | }); 28 | 29 | let hashlinks = []; 30 | $(".hashlink").each(function(index){ 31 | let name = $(".hashlink_name", $(this)).val(); 32 | let template = $(".hashlink_template", $(this)).val(); 33 | hashlinks.push({name, template}); 34 | }); 35 | 36 | 37 | let options = {vt_api_key, iplinks, hashlinks, dont_show_save_event_icons, dont_show_desc_rules, disable_agg_sort}; 38 | chrome.storage.sync.set( 39 | {options}, 40 | function() { 41 | let status = document.getElementById('status'); 42 | status.textContent = 'Настройки сохранены'; 43 | setTimeout(function() { 44 | status.textContent = ''; 45 | }, 750); 46 | }); 47 | } 48 | 49 | 50 | function restore_options() { 51 | let iplinks = []; 52 | chrome.storage.sync.get( 53 | "options", 54 | function(items) { 55 | if(items.options.hasOwnProperty('vt-api-key')){ 56 | document.getElementById('vt-api-key').value = items.options['vt_api_key']; 57 | } 58 | 59 | if(items.options.hasOwnProperty('dont_show_save_event_icons')){ 60 | document.getElementById('dont_show_save_event_icons').checked = items.options['dont_show_save_event_icons']; 61 | } 62 | else{ 63 | document.getElementById('dont_show_save_event_icons').checked = false; 64 | } 65 | 66 | if(items.options.hasOwnProperty('dont_show_desc_rules')){ 67 | document.getElementById('dont_show_desc_rules').checked = items.options['dont_show_desc_rules']; 68 | } 69 | else{ 70 | document.getElementById('dont_show_desc_rules').checked = false; 71 | } 72 | 73 | if(items.options.hasOwnProperty('disable_agg_sort')){ 74 | document.getElementById('disable_agg_sort').checked = items.options['disable_agg_sort']; 75 | } 76 | else{ 77 | document.getElementById('disable_agg_sort').checked = false; 78 | } 79 | 80 | iplinks = items.options['iplinks']; 81 | console.log(iplinks); 82 | 83 | iplinks.forEach(e => { 84 | $("#iplinks_container").append(getNewRow(e.name, e.template, e.local ? "checked" : "")); 85 | }); 86 | 87 | //$("#iplinks_container").append(getNewEmptyRow()); 88 | 89 | $(".delete_row").click(function() { 90 | $(this).parent().remove(); 91 | }); 92 | 93 | hashlinks = items.options['hashlinks']; 94 | console.log(iplinks); 95 | 96 | hashlinks.forEach(e => { 97 | $("#hashlinks_container").append(getNewHashRow(e.name, e.template)); 98 | }); 99 | 100 | $(".delete_row").click(function() { 101 | $(this).parent().remove(); 102 | }); 103 | 104 | }); 105 | } 106 | 107 | 108 | $("#addrow").click(function(){ 109 | $("#iplinks_container").append(getNewEmptyRow()); 110 | $(".delete_row").click(function() { 111 | $(this).parent().remove(); 112 | }); 113 | }); 114 | 115 | $("#addhashrow").click(function(){ 116 | $("#hashlinks_container").append(getNewEmptyHashRow()); 117 | $(".delete_row").click(function() { 118 | $(this).parent().remove(); 119 | }); 120 | }); 121 | 122 | 123 | function getNewEmptyRow(){ 124 | let newrow = ``; 132 | return newrow; 133 | } 134 | 135 | 136 | function getNewRow(name, template, checked){ 137 | let newrow = ``; 145 | return newrow; 146 | } 147 | 148 | 149 | function getNewEmptyHashRow(){ 150 | let newrow = ``; 157 | return newrow; 158 | } 159 | 160 | 161 | function getNewHashRow(name, template){ 162 | let newrow = ``; 169 | return newrow; 170 | } 171 | 172 | 173 | document.addEventListener('DOMContentLoaded', restore_options); 174 | document.getElementById('save').addEventListener('click', save_options); 175 | -------------------------------------------------------------------------------- /popup.css: -------------------------------------------------------------------------------- 1 | /* Copyright 2023 Konstantin Grishchenko, Security Experts Community 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. */ 14 | 15 | 16 | body { 17 | width:800px; 18 | height: 400px; 19 | } 20 | 21 | body.loading .lds-dual-ring { 22 | overflow: hidden; 23 | } 24 | 25 | body.loading .lds-dual-ring { 26 | display: block; 27 | } 28 | 29 | * { font-family:Roboto,Helvetica Neue,sans-serif; font-size:10px; } 30 | 31 | .parent { 32 | color: white; 33 | background-color: #2196F3; 34 | padding-top: 1px; 35 | margin-top: 2px; 36 | margin-left: 2px; 37 | padding-left: 5px; 38 | border: 1px solid black; 39 | } 40 | 41 | .child { 42 | background-color: #0175c3; 43 | color: ghostwhite; 44 | margin-left: 10px; 45 | margin-top:5px; 46 | padding-left: 5px; 47 | } 48 | div.usefullfiltersdiv { 49 | font-size: 12px; 50 | font-weight: bold; 51 | border: none; 52 | display: inline; 53 | line-height: 1.8; 54 | color: #338fcc; 55 | text-decoration: none!important; 56 | transition-property: color; 57 | transition-duration: .33s; 58 | transition-timing-function: ease-out; 59 | display: block; 60 | } 61 | 62 | div.usefullfilters { 63 | display: inline; 64 | line-height: 1.8; 65 | color: #338fcc; 66 | text-decoration: none!important; 67 | transition-property: color; 68 | transition-duration: .33s; 69 | transition-timing-function: ease-out; 70 | display: block; 71 | cursor: pointer; 72 | } 73 | 74 | div.monkey { 75 | display: inline; 76 | line-height: 1.4; 77 | color: #338fcc; 78 | text-decoration: none!important; 79 | transition-property: color; 80 | transition-duration: .33s; 81 | transition-timing-function: ease-out; 82 | display: block; 83 | cursor: pointer; 84 | } 85 | 86 | div.monkeysessionslinks { 87 | margin-left: 10px; 88 | } 89 | 90 | div.monkeylinks { 91 | display: inline-block; 92 | } 93 | 94 | div.extlink { 95 | color:#338fcc; 96 | margin-left: 10px; 97 | margin-top:5px; 98 | cursor: pointer; 99 | } 100 | 101 | div.systemProcesses { 102 | color:rgb(119, 41, 41) 103 | } 104 | 105 | div.systemDwmOrUmfdProcesses { 106 | color:darkgray 107 | } 108 | 109 | li .alarm { 110 | color: coral; 111 | } 112 | 113 | /* The switch - the box around the slider */ 114 | .switch { 115 | position: relative; 116 | display: inline-block; 117 | width: 40px; 118 | height: 14px; 119 | } 120 | 121 | /* Hide default HTML checkbox */ 122 | .switch input { 123 | opacity: 0; 124 | width: 0; 125 | height: 0; 126 | } 127 | 128 | /* The slider */ 129 | .slider { 130 | position: absolute; 131 | cursor: pointer; 132 | top: 0; 133 | left: 0; 134 | right: 0; 135 | bottom: 0; 136 | background-color: #ccc; 137 | -webkit-transition: .4s; 138 | transition: .4s; 139 | } 140 | 141 | .slider:before { 142 | position: absolute; 143 | content: ""; 144 | height: 10px; 145 | width: 10px; 146 | left: 4px; 147 | bottom: 2px; 148 | background-color: white; 149 | -webkit-transition: .4s; 150 | transition: .4s; 151 | } 152 | 153 | input:checked + .slider { 154 | background-color: #2bb13d; 155 | } 156 | 157 | input:focus + .slider { 158 | box-shadow: 0 0 1px #2196F3; 159 | } 160 | 161 | input:checked + .slider:before { 162 | -webkit-transform: translateX(22px); 163 | -ms-transform: translateX(22px); 164 | transform: translateX(22px); 165 | } 166 | 167 | /* Rounded sliders */ 168 | .slider.round { 169 | border-radius: 26px; 170 | } 171 | 172 | .slider.round:before { 173 | border-radius: 50%; 174 | } 175 | 176 | .checkbox_left { 177 | float: left; 178 | } 179 | 180 | .btn { 181 | position: relative; 182 | display: inline-block; 183 | padding: 1px; 184 | font-size: 10px; 185 | font-weight: 700; 186 | line-height: 16px; 187 | color: #333; 188 | white-space: nowrap; 189 | vertical-align: middle; 190 | cursor: pointer; 191 | background-color: #eee; 192 | background-image: linear-gradient(#fcfcfc,#eee); 193 | border: 1px solid #d5d5d5; 194 | border-radius: 3px; 195 | -webkit-user-select: none; 196 | -moz-user-select: none; 197 | -ms-user-select: none; 198 | user-select: none; 199 | -webkit-appearance: none 200 | } 201 | 202 | span.oneline 203 | { 204 | display: inline; 205 | } 206 | 207 | .openMsgs 208 | { 209 | cursor: pointer; 210 | margin-left: 10px; 211 | margin-top: 10px; 212 | font-weight: bold; 213 | color: #338fcc; 214 | } 215 | 216 | .parameter 217 | { 218 | font-weight: bold; 219 | color: #cc3333; 220 | } 221 | 222 | .good 223 | { 224 | font-weight: bold; 225 | color: #08f108; 226 | } 227 | .susp 228 | { 229 | font-weight: bold; 230 | color: #a03f3f; 231 | } 232 | .danger 233 | { 234 | font-weight: bold; 235 | color: #f00; 236 | } 237 | 238 | div.hashoutput { 239 | margin-left: 5px; 240 | margin-top: 5px; 241 | display: inline; 242 | line-height: 1.4; 243 | color: #338fcc; 244 | text-decoration: none!important; 245 | transition-property: color; 246 | transition-duration: .33s; 247 | transition-timing-function: ease-out; 248 | display: block; 249 | } 250 | 251 | .node rect { 252 | cursor: pointer; 253 | fill: #fff; 254 | fill-opacity: 1; 255 | } 256 | 257 | .node rect.noderect { 258 | cursor: pointer; 259 | fill: #fff; 260 | fill-opacity: 1; 261 | stroke: #3182bd; 262 | stroke-width: 1.5px; 263 | } 264 | 265 | .tabs { 266 | width:780px; 267 | } 268 | 269 | 270 | .lds-dual-ring { 271 | display: inline-block; 272 | } 273 | .lds-dual-ring:after { 274 | content: " "; 275 | display: block; 276 | width: 64px; 277 | height: 64px; 278 | margin: 8px; 279 | border-radius: 50%; 280 | border: 6px solid #338fcc; 281 | border-color: #338fcc transparent #338fcc transparent; 282 | animation: lds-dual-ring 1.2s linear infinite; 283 | } 284 | @keyframes lds-dual-ring { 285 | 0% { 286 | transform: rotate(0deg); 287 | } 288 | 100% { 289 | transform: rotate(360deg); 290 | } 291 | } 292 | -------------------------------------------------------------------------------- /popup.html: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 67 | 68 | 69 | 70 | 71 |
72 | 78 |
79 |
80 | 81 | Максимальное число событий: 82 | 83 | С: 84 | По: 85 | 86 |
sysmon 1
87 | 88 | 92 | 93 | 96 |
97 | 98 | 100 | 101 |
102 |
103 |
104 |
Полезные фильтры 105 |
106 |
107 |
108 |
109 | 110 | 111 |
112 |
113 |

SiemMonkey

114 |

Плагин к браузеру Google Chrome для упрощения некоторых действий в MP SIEM

115 |
116 |
117 |
118 |
119 | 120 | 121 | -------------------------------------------------------------------------------- /processTree.popup.js: -------------------------------------------------------------------------------- 1 | // Copyright 2023 Konstantin Grishchenko, Security Experts Community 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | 16 | /** 17 | * Оторазить информацию о процессах в виде дерева 18 | * @param {list} pre_events список событий 19 | * @param {string} outputelemsuffix класс DOM-елемента, где требуется отобразить информацию 20 | */ 21 | function processTree(pre_events, outputelemsuffix="") 22 | { 23 | let commandlineField = "object.process.cmdline"; 24 | let events; 25 | if(pre_events[0]['msgid'].includes("exec")) { 26 | events = pre_events.map(x => ({ 27 | ...x, 28 | tree_id: x['object.process.id'], 29 | tree_parent_id: x['object.process.parent.id'] 30 | })); 31 | } 32 | else { 33 | if('object.process.guid' in pre_events[0] && pre_events[0]['object.process.guid'] != null) { 34 | events = pre_events.map(x => ({ 35 | ...x, 36 | tree_id: x['object.process.guid'], 37 | tree_parent_id: x['object.process.parent.guid'] 38 | })); 39 | } 40 | else{ 41 | events = pre_events.map(x => ({...x, 42 | tree_id: x['object.id'] + " | " + x['object.name'], 43 | tree_parent_id: x['object.process.parent.id'] + " | " + x['object.process.parent.name']})); 44 | } 45 | } 46 | 47 | let parents = events.map(x => x['tree_parent_id']); // массив значений идентификаторов процессов-родителей 48 | let items = events.map(x => x['tree_id']); // массив значений идентификаторов процессов-детей 49 | 50 | let prediff = parents.filter(x => items.indexOf(x) == -1) // разница = родители верхнего уровня (сами не дети) 51 | let diff = [...new Set(prediff)]; 52 | 53 | // готовим массив с информацией о процессах 54 | let processes = events.map(x => { 55 | let parent = x['tree_parent_id']; // родитель 56 | if (diff.indexOf(parent) >= 0 ) parent = 'root'; // если родитель не является ни чьим ребёнком, 57 | // привязываем его к псевдокорню 58 | 59 | let elemClass = ""; 60 | 61 | // TODO: доделать отображение 62 | if(x[commandlineField] === commandline) //если встретился такой же процесс, на который мы смотрим в UI 63 | { 64 | elemClass += "alarm"; 65 | } 66 | 67 | let elem = { 68 | "id":x['tree_id'], 69 | "parent": parent, 70 | "name": x['time'].slice(0,-9) + " | " + x['object.id'] + " | " + x[commandlineField], 71 | "text": x['time'].slice(0,-9) + " | " + x['object.id'] + " | " + x[commandlineField], 72 | "original": x, 73 | "elemClass": elemClass 74 | } 75 | 76 | return elem; 77 | }); 78 | 79 | let rootText = $(`#output${outputelemsuffix} a`).text(); 80 | processes.push({"id":"root", "name":"...", "parent":"", "text":rootText}) 81 | 82 | //let unique_processes = _.unique(processes, function(x) { return x.text; }); 83 | let unique_processes = _.unique(processes, function(x) { return x.id; }); 84 | 85 | // рисуем дерево 86 | svg = d3.select("#output").append("svg") 87 | .attr("width", 2150) 88 | .append("g") 89 | .attr("transform", "translate(" + margin.left + "," + margin.top + ")"); 90 | 91 | root = d3.stratify() 92 | .id(function(d) { return d.id; }) 93 | .parentId(function(d) { return d.parent; }) 94 | (unique_processes); 95 | root.x0 = 0; 96 | root.y0 = 0; 97 | update(root); 98 | } 99 | 100 | 101 | // treeBranchEvents - описана, как глобальная там, откуда вызывается эта функция 102 | /** 103 | * Оторазить информацию о процессах в виде дерева (только предки) 104 | * @param {list} pre_events список событий 105 | * @param {string} outputelemsuffix класс DOM-елемента, где требуется отобразить информацию 106 | * @returns 107 | */ 108 | async function processTreeBranch(pre_events, outputelemsuffix="") 109 | { 110 | // больше предков нет, пора отрисовать то, что накопилось 111 | if(pre_events.length === 0) 112 | { 113 | let commandlineField = "object.process.cmdline"; 114 | let events; 115 | if(treeBranchEvents[0]['msgid'].includes("exec")) { 116 | events = treeBranchEvents.map(x => ({ 117 | ...x, 118 | tree_id: x['object.process.id'], 119 | tree_parent_id: x['object.process.parent.id'] 120 | })); 121 | } 122 | else { 123 | if('object.process.guid' in treeBranchEvents[0] && treeBranchEvents[0]['object.process.guid'] != null) { 124 | events = treeBranchEvents.map(x => ({ 125 | ...x, 126 | tree_id: x['object.process.guid'], 127 | tree_parent_id: x['object.process.parent.guid'] 128 | })); 129 | } 130 | else{ 131 | events = treeBranchEvents.map(x => ({...x, 132 | tree_id: x['object.id'] + " | " + x['object.name'], 133 | tree_parent_id: x['object.process.parent.id'] + " | " + x['object.process.parent.name']})); 134 | } 135 | } 136 | 137 | let parents = events.map(x => x['tree_parent_id']); // родители 138 | let items = events.map(x => x['tree_id']); // дети 139 | 140 | let prediff = parents.filter(x => items.indexOf(x) == -1) // разница = родители верхнего уровня (сами не дети) 141 | let diff = [...new Set(prediff)]; 142 | 143 | let processes = events.map(x => { 144 | let parent = x['tree_parent_id']; // родитель 145 | if (diff.indexOf(parent) >= 0 ) parent = 'root'; // если родитель не является ни чьим ребёнком, 146 | // привязываем его к псевдокорню 147 | 148 | let elemClass = ""; 149 | if(x[commandlineField] === commandline) //если встретился такой же процесс, на который мы смотрим в UI 150 | { 151 | elemClass += " alarm"; 152 | } 153 | let elem = { 154 | "id":x['tree_id'], 155 | "parent":parent, 156 | "name":x['time'].slice(0,-9) + " | " + x['object.id'] + " | " + x[commandlineField], 157 | "text":x['time'].slice(0,-9) + " | " + x['object.id'] + " | " + x[commandlineField], 158 | "original":x, 159 | "elemClass": elemClass 160 | } 161 | 162 | return elem; 163 | }); 164 | 165 | let rootText = $(`#output${outputelemsuffix} a`).text(); 166 | processes.push({"id":"root", "name":"...", "parent":"", "text":rootText}) 167 | let unique_processes = _.unique(processes, function(x) { 168 | return x.id; 169 | }); 170 | 171 | svg = d3.select("#output") 172 | .append("svg") 173 | .attr("width", 2150) 174 | .append("g") 175 | .attr("transform", "translate(" + margin.left + "," + margin.top + ")"); 176 | 177 | root = d3.stratify() 178 | .id(function(d) { return d.id; }) 179 | .parentId(function(d) { return d.parent; }) 180 | (unique_processes); 181 | root.x0 = 0; 182 | root.y0 = 0; 183 | update(root); 184 | 185 | $(".open_processes_in_new_window_link").remove(); 186 | e = $("
") 187 | .addClass("openMsgs oneline") 188 | .addClass("open_processes_in_new_window_link") 189 | .text(`Открыть в новом окне события запуска этих процессов`) 190 | .click( 191 | function() { 192 | let uuids = treeBranchEvents.map(x => `"${x['uuid']}"`); 193 | let uuidsstr = uuids.join(", "); 194 | //let siemUrl = window.location.origin; 195 | try { 196 | chrome.tabs.create({url: `${siemUrl}/#/events/view?where=uuid in [${uuidsstr}]`}); 197 | } 198 | catch 199 | { 200 | window.open(`${siemUrl}/#/events/view?where=uuid in [${uuidsstr}]`, "_blank"); 201 | } 202 | }); 203 | 204 | e.insertBefore($(`#output${outputelemsuffix}`)); 205 | return; 206 | } 207 | // есть предок, создадим его и поищем его предка 208 | else 209 | { 210 | treeBranchEvents.push(pre_events[0]); 211 | let event_src_host = pre_events[0]['event_src.host']; 212 | let processStartMsgid = pre_events[0]['msgid']; 213 | if('object.process.guid' in pre_events[0]) { 214 | let parentProcessPid = pre_events[0]['object.process.parent.guid']; 215 | getdata(siemUrl, 216 | `event_src.host = "${event_src_host}"` + 217 | ` and msgid = "${processStartMsgid}"` + 218 | ` and object.process.guid = "${parentProcessPid}"` + 219 | ` and generator.type != 'correlationengine'`, 220 | count, 221 | processTreeBranch); 222 | } 223 | else { 224 | let parentProcessPid = pre_events[0]['object.process.parent.id']; 225 | let parentProcessName = pre_events[0]['object.process.parent.name']; 226 | getdata(siemUrl, 227 | `event_src.host = "${event_src_host}"` + 228 | ` and msgid = "${processStartMsgid}"` + 229 | ` and object.id = "${parentProcessPid}"` + 230 | ` and object.name = "${parentProcessName}"` + 231 | ` and generator.type != 'correlationengine'`, 232 | count, 233 | processTreeBranch); 234 | } 235 | } 236 | } 237 | 238 | 239 | //найти всех потомков текущего процесса 240 | async function processTreeBranchReverse(pre_events, outputelemsuffix="") 241 | { 242 | // в outputelemsuffix лежит guid процесса-родителя, для которого искались потомки 243 | events_for_children_waiting = _.without(events_for_children_waiting, outputelemsuffix) 244 | if(pre_events.length === 0) 245 | { 246 | if(events_for_children_waiting.length > 0) 247 | { 248 | return; 249 | } 250 | else 251 | { 252 | let commandlineField = "object.process.cmdline"; 253 | let events; 254 | if(treeBranchEvents[0]['msgid'].includes("exec")) { 255 | events = treeBranchEvents.map(x => ({ 256 | ...x, 257 | tree_id: x['object.process.id'], 258 | tree_parent_id: x['object.process.parent.id'] 259 | })); 260 | } 261 | else { 262 | if('object.process.guid' in treeBranchEvents[0] && treeBranchEvents[0]['object.process.guid'] != null) { 263 | events = treeBranchEvents.map(x => ({ 264 | ...x, 265 | tree_id: x['object.process.guid'], 266 | tree_parent_id: x['object.process.parent.guid'] 267 | })); 268 | } 269 | else{ 270 | events = treeBranchEvents.map(x => ({...x, 271 | tree_id: x['object.id'] + " | " + x['object.name'], 272 | tree_parent_id: x['object.process.parent.id'] + " | " + x['object.process.parent.name']})); 273 | } 274 | } 275 | 276 | let parents = events.map(x => x['tree_parent_id']); // родители 277 | let items = events.map(x => x['tree_id']); // дети 278 | 279 | let prediff = parents.filter(x => items.indexOf(x) == -1) // разница = родители верхнего уровня (сами не дети) 280 | let diff = [...new Set(prediff)]; 281 | 282 | let processes = events.map(x => { 283 | let parent = x['tree_parent_id']; // родитель 284 | if (diff.indexOf(parent) >= 0 ) parent = 'root'; // если родитель не является ни чьим ребёнком, 285 | // привязываем его к псевдокорню 286 | 287 | let elemClass = ""; 288 | if(x[commandlineField] === commandline) //если встретился такой же процесс, на который мы смотрим в UI 289 | { 290 | elemClass += " alarm"; 291 | } 292 | let elem = { 293 | "id":x['tree_id'], 294 | "parent":parent, 295 | "name":x['time'].slice(0,-9) + " | " + x['object.id'] + " | " + x[commandlineField], 296 | "text":x['time'].slice(0,-9) + " | " + x['object.id'] + " | " + x[commandlineField], 297 | "original":x, 298 | "elemClass": elemClass 299 | } 300 | 301 | return elem; 302 | }); 303 | 304 | let rootText = $(`#output${outputelemsuffix} a`).text(); 305 | processes.push({"id":"root", "name":"...", "parent":"", "text":rootText}) 306 | let unique_processes = _.unique(processes, function(x) { 307 | return x.id; 308 | }); 309 | 310 | svg = d3.select("#output") 311 | .append("svg") 312 | .attr("width", 2150) 313 | .append("g") 314 | .attr("transform", "translate(" + margin.left + "," + margin.top + ")"); 315 | 316 | root = d3.stratify() 317 | .id(function(d) { return d.id; }) 318 | .parentId(function(d) { return d.parent; }) 319 | (unique_processes); 320 | root.x0 = 0; 321 | root.y0 = 0; 322 | update(root); 323 | 324 | $(".open_processes_in_new_window_link").remove(); 325 | e = $("
") 326 | .addClass("openMsgs oneline") 327 | .addClass("open_processes_in_new_window_link") 328 | .text(`Открыть в новом окне события запуска этих процессов`) 329 | .click( 330 | function() { 331 | //let siemUrl = window.location.origin; 332 | let uuids = treeBranchEvents.map(x => `"${x['uuid']}"`); 333 | let uuidsstr = uuids.join(", "); 334 | try { 335 | chrome.tabs.create({url: `${siemUrl}/#/events/view?where=uuid in [${uuidsstr}]`}); 336 | } 337 | catch 338 | { 339 | window.open(`${siemUrl}/#/events/view?where=uuid in [${uuidsstr}]`, "_blank"); 340 | } 341 | } 342 | ); 343 | e.insertBefore($('#output')); 344 | return; 345 | } 346 | } 347 | else 348 | { 349 | treeBranchEvents = treeBranchEvents.concat(pre_events); 350 | pre_events.forEach(event => { 351 | let event_src_host = event['event_src.host']; 352 | let processStartMsgid = event['msgid']; 353 | let processGuid = event['object.process.guid'] 354 | let parentProcessGuid = event['object.process.parent.guid']; 355 | let parentProcessName = event['object.process.parent.name']; 356 | events_for_children_waiting.push(processGuid); 357 | //в качестве outputelemsuffix передаю guid, чтобы в обработчике понять, дла какого процесса получен ответ 358 | //let filter = `event_src.host = "${event_src_host}" and msgid = "${processStartMsgid}" ` + 359 | //`and object.process.parent.guid = "${processGuid}"`; 360 | 361 | //в качестве outputelemsuffix передаю guid, чтобы в обработчике понять, дла какого процесса получен ответ 362 | let filter = `object.process.parent.guid = "${processGuid}"`; 363 | //let siemUrl = window.location.origin; 364 | getdata(siemUrl, filter, count, processTreeBranchReverse, processGuid); 365 | }) 366 | } 367 | } 368 | 369 | 370 | function processHashByNameSearch(events) 371 | { 372 | // Вся полезная работа сделана ранее в вызывающей фугкцкции :) 373 | // TODO: выглядит так, что тут надо всё отрефаторить 374 | // console.log(events); 375 | return; 376 | } 377 | 378 | 379 | /** 380 | * Сохранить JSON события в буфер обмена 381 | * @param {Array} events массив событий 382 | * @param {str} outputelemsuffix 383 | */ 384 | function processEventCopyToClipboard(events, outputelemsuffix="") 385 | { 386 | let event = events[0]; 387 | let event_filtered = $.each(event, function(key, value) { 388 | if(value === null) { 389 | delete event[key]; 390 | } 391 | }); 392 | navigator.clipboard.writeText(JSON.stringify(event_filtered)); 393 | 394 | let legacy_events_page = $("legacy-events-page"); 395 | let searchNode; 396 | if(legacy_events_page.length === 1) { 397 | searchNode = legacy_events_page[0].shadowRoot; 398 | } 399 | else { 400 | searchNode = document; 401 | } 402 | 403 | let icon = $(".copynormalizedicon", searchNode); 404 | $('
Скопировано...
').insertAfter(icon).show().delay(1000).fadeOut(); 405 | } 406 | 407 | 408 | /** 409 | * Сохранить список событий в локальный файл 410 | * @param {Array} events массив событий 411 | * @param {str} outputelemsuffix uuid корреляционного события, для которого найдены исходные события 412 | */ 413 | function processCorrleationEventDownload(events, outputelemsuffix="") 414 | { 415 | 416 | let events_filtered = events.map(e => ( 417 | $.each(e, function(key, value) { 418 | if(value === null) { 419 | delete e[key]; 420 | } 421 | }) 422 | )) 423 | 424 | let filename = ''; 425 | let data = ''; 426 | if(events_filtered.length === 1){ 427 | data = JSON.stringify(events_filtered[0]); 428 | if(outputelemsuffix === ""){ 429 | filename = `${events_filtered[0]['uuid']}.txt`; 430 | } 431 | else{ 432 | filename = `${outputelemsuffix}_subevents.txt`; 433 | } 434 | } 435 | else { 436 | data = JSON.stringify(events_filtered); 437 | filename = `${outputelemsuffix}_subevents.txt`; 438 | } 439 | saveFile(filename, "data:attachment/text", data); 440 | } 441 | 442 | 443 | /** 444 | * Получить все исходные события и сохранить их в файл 445 | * @param {Array} events массив событий, для первого из них производится получение исходных и сохранение в файл 446 | * @param {str} outputelemsuffix 447 | */ 448 | function processCorrleationEventDownloadSubevents(events, outputelemsuffix="") 449 | { 450 | let event = events[0]; 451 | let time = event['time']; 452 | //"2023-02-04T19:07:05.0000000Z" 453 | let timeParsed = moment.utc(time.slice(0,-9), "YYYY-MM-DDThh:mm:ss"); 454 | let timeto = timeParsed.toDate(); 455 | let ttimeto = timeto.getTime()/1000; 456 | gtfrom = ttimeto; 457 | gtto = ttimeto; 458 | 459 | let uuids = event['subevents']; 460 | let uuids_str = "'" + uuids.join("','") + "'"; 461 | //let siemUrl = window.location.origin; 462 | getdata(siemUrl, `uuid in [${uuids_str}]`, uuids.length, processCorrleationEventDownload, event['uuid'], ttimeto-86400, ttimeto); //TODO: со временем путаница и не удобно, надо распутаться 463 | } 464 | 465 | /** 466 | * Сохранить данные в файл 467 | * @param {str} name имя файла 468 | * @param {str} type тип данных 469 | * @param {str} data данные 470 | * @returns 471 | */ 472 | function saveFile (name, type, data) { 473 | if (data !== null && navigator.msSaveBlob) 474 | return navigator.msSaveBlob(new Blob([data], { type: type }), name); 475 | let a = $(""); 476 | let url = window.URL.createObjectURL(new Blob([data], {type: type})); 477 | a.attr("href", url); 478 | a.attr("download", name); 479 | $("body").append(a); 480 | a[0].click(); 481 | window.URL.revokeObjectURL(url); 482 | a.remove(); 483 | } 484 | 485 | var siemUrl = window.location.origin; -------------------------------------------------------------------------------- /siemMonkey.css: -------------------------------------------------------------------------------- 1 | /* Copyright 2023 Konstantin Grishchenko, Security Experts Community 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. */ 14 | 15 | 16 | .monkeydropbtn { 17 | color: white; 18 | font-size: 16px; 19 | border: none; 20 | } 21 | 22 | .monkeydropdown { 23 | position: relative; 24 | display: inline-block; 25 | } 26 | 27 | .layout-row .flex-30 28 | { 29 | flex: unset; 30 | width: 140px; 31 | } 32 | 33 | .layout-row .mc-dl.mc-dl_horizontal .mc-dt 34 | { 35 | width: 180px; 36 | } 37 | 38 | div.mc-dt[title="object.hash"] { 39 | color: red; 40 | cursor: pointer; 41 | } 42 | div.mc-dt[title="object.process.hash"] { 43 | color: red; 44 | cursor: pointer; 45 | } 46 | 47 | div.mc-dt[title="object.process.parent.hash"] { 48 | color: red; 49 | cursor: pointer; 50 | } 51 | 52 | div.mc-dt[title="subject.process.hash"] { 53 | color: red; 54 | cursor: pointer; 55 | } 56 | 57 | div.mc-dt[title="subject.process.parent.hash"] { 58 | color: red; 59 | cursor: pointer; 60 | } 61 | 62 | div.mc-dt[title="external_link"] { 63 | color: red; 64 | cursor: pointer; 65 | } 66 | 67 | div.mc-dt[title="id"] { 68 | color: red; 69 | cursor: pointer; 70 | } 71 | 72 | div.mc-dt[title="task_id"] { 73 | color: red; 74 | cursor: pointer; 75 | } 76 | 77 | div.mc-dt[title="src.ip"] { 78 | color: rgb(64, 204, 51); 79 | cursor: pointer; 80 | } 81 | 82 | div.mc-dt[title="dst.ip"] { 83 | color: rgb(64, 204, 51); 84 | cursor: pointer; 85 | } 86 | 87 | span.ip-check-external-link{ 88 | color: rgb(64, 204, 51); 89 | box-sizing: border-box; 90 | cursor: pointer; 91 | display: none; 92 | font-family: Roboto, "Helvetica Neue", sans-serif; 93 | font-size: 13px; 94 | height: 18px; 95 | line-height: 18.2px; 96 | overflow: hidden; 97 | } 98 | 99 | .node rect { 100 | cursor: pointer; 101 | fill: #fff; 102 | fill-opacity: 1; 103 | 104 | } 105 | .node rect.noderect { 106 | cursor: pointer; 107 | fill: #fff; 108 | fill-opacity: 1; 109 | stroke: #3182bd; 110 | stroke-width: 1.5px; 111 | } 112 | 113 | .node text { 114 | font: 13px; 115 | font-family: Roboto, Helvetica Neue, sans-serif; 116 | pointer-events: none; 117 | fill: rgb(77,77,77); 118 | } 119 | 120 | .link { 121 | fill: none; 122 | stroke: #9ecae1; 123 | stroke-width: 1.5px; 124 | } 125 | 126 | span.monkeyipinfo { 127 | color: #3182bd; 128 | margin-left: 10px; 129 | } 130 | 131 | span.monkeymagicicon { 132 | cursor: pointer; 133 | margin-left: 10px; 134 | } 135 | 136 | span.copynormalizedicon { 137 | color: #3182bd; 138 | margin-left: 15px; 139 | cursor: pointer; 140 | } 141 | 142 | span.downloadnormalizedicon { 143 | color: #3182bd; 144 | margin-left: 5px; 145 | cursor: pointer; 146 | } 147 | 148 | span.downloadsubeventsnormalizedicon { 149 | color: #3182bd; 150 | margin-left: 5px; 151 | cursor: pointer; 152 | } 153 | 154 | i.shareableeventlink { 155 | color: #3182bd; 156 | margin-right: 10px; 157 | cursor: pointer; 158 | } 159 | 160 | div.openMsgs 161 | { 162 | cursor: pointer; 163 | margin-left: 10px; 164 | margin-top: 10px; 165 | font-weight: bold; 166 | color: #338fcc; 167 | } 168 | 169 | .lds-dual-ring { 170 | display: inline-block; 171 | } 172 | 173 | .lds-dual-ring:after { 174 | content: " "; 175 | display: block; 176 | width: 64px; 177 | height: 64px; 178 | margin: 8px; 179 | border-radius: 50%; 180 | border: 6px solid #338fcc; 181 | border-color: #338fcc transparent #338fcc transparent; 182 | animation: lds-dual-ring 1.2s linear infinite; 183 | } 184 | @keyframes lds-dual-ring { 185 | 0% { 186 | transform: rotate(0deg); 187 | } 188 | 100% { 189 | transform: rotate(360deg); 190 | } 191 | } 192 | 193 | events-grouping pdql-fast-filter { 194 | max-width: 100% !important; 195 | } -------------------------------------------------------------------------------- /update.popup.js: -------------------------------------------------------------------------------- 1 | // Copyright 2023 Konstantin Grishchenko, Security Experts Community 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | 16 | let margin = {top: 30, right: 20, bottom: 30, left: 20} 17 | let barHeight = 20 18 | 19 | 20 | let i = 0 21 | let duration = 100; 22 | let root; 23 | 24 | function elbow(d, i) { 25 | return `M${d.source.y+10} ${d.source.x+10} V ${d.target.x} H ${d.target.y}`; 26 | } 27 | 28 | var svg; 29 | 30 | // Toggle children on click. 31 | function d3_tree_click(d) { 32 | if (d.children) { 33 | d._children = d.children; 34 | d.children = null; 35 | } else { 36 | d.children = d._children; 37 | d._children = null; 38 | } 39 | update(d); 40 | } 41 | 42 | // Toggle children on click. 43 | function d3_process_line_click(d) { 44 | // Открыть в новой вкладке события, связанные с процессом 45 | if('object.process.guid' in d.data.original) { 46 | condition = `event_src.host = '${d.data.original['event_src.host']}'`+ 47 | ` and (object.process.guid = '${d.data.original['object.process.guid']}'`+ 48 | ` or subject.process.guid = '${d.data.original['object.process.guid']}')`; 49 | } 50 | else { 51 | condition = `event_src.host = '${d.data.original['event_src.host']}'`+ 52 | ` and (object.process.id = ${d.data.original['object.process.id']})`; 53 | } 54 | 55 | if(typeof(chrome.tabs) !== 'undefined') { // если вызов из popup плагина 56 | chrome.tabs.create({url: `${siemUrl}/#/events/view?where=${condition}`}); 57 | } 58 | else { 59 | window.open(`${siemUrl}/#/events/view?where=${condition}`, "_blank"); 60 | } 61 | } 62 | 63 | 64 | function color(d) { 65 | return d._children ? "#c6dbef" : d.children ? "#c6dbef" : "#6fba53"; 66 | } 67 | 68 | 69 | function fontweight(d) { 70 | return d.data.elemClass == "alarm" ? "bold" : "normal"; 71 | } 72 | 73 | 74 | function update(source) { 75 | 76 | // Compute the flattened node list. 77 | let nodes = root.descendants(); 78 | 79 | let height = Math.max(500, nodes.length * (barHeight + 7) + margin.top + margin.bottom); 80 | 81 | d3.select("svg").transition() 82 | .duration(duration) 83 | .attr("height", height); 84 | 85 | let index = -1; 86 | root.eachBefore(function (n) { 87 | n.x = ++index * (barHeight + 7); // 7 - промежуток по вертикали для лучшего визуального восприятия 88 | n.y = n.depth * 20; 89 | }); 90 | 91 | // Update the nodes… 92 | let node = svg.selectAll(".node") 93 | .data(nodes, function (d) { return d.id || (d.id = ++i); }); 94 | 95 | let nodeEnter = node.enter().append("g") 96 | .attr("class", "node") 97 | .attr("transform", function (d) { return "translate(" + source.y0 + "," + source.x0 + ")"; }) 98 | .style("opacity", 0); 99 | 100 | // Enter any new nodes at the parent's previous position. 101 | nodeEnter.append("rect") 102 | .attr("y", -barHeight / 2) 103 | .attr("height", barHeight) 104 | .attr("width", 20) 105 | .attr("class", "noderect") 106 | .style("fill", color) 107 | .on("click", d3_tree_click); 108 | 109 | nodeEnter.append("text") 110 | .attr("dy", 3.5) 111 | .attr("dx", 25.5) 112 | .style("font-weight", fontweight) 113 | .text(function (d) { return d.data.name; }); 114 | 115 | nodeEnter.insert("rect", ":first-child") 116 | .attr("y", -barHeight / 2) 117 | .attr("x", 20) 118 | .attr("height", barHeight) 119 | //.attr("width", barWidth - 20) 120 | .attr("width", function () { return d3.select(this.parentNode).select("text").node().getComputedTextLength() + 11; }) 121 | .on("click", d3_process_line_click); 122 | 123 | // Transition nodes to their new position. 124 | nodeEnter.transition() 125 | .duration(duration) 126 | .attr("transform", function (d) { return "translate(" + d.y + "," + d.x + ")"; }) 127 | .style("opacity", 1); 128 | 129 | node.transition() 130 | .duration(duration) 131 | .attr("transform", function (d) { return "translate(" + d.y + "," + d.x + ")"; }) 132 | .style("opacity", 1) 133 | .select("rect"); 134 | //.style("fill", color); 135 | 136 | node.select("rect.noderect") 137 | .style("fill", color); 138 | 139 | 140 | // Transition exiting nodes to the parent's new position. 141 | node.exit().transition() 142 | .duration(duration) 143 | .attr("transform", function (d) { return "translate(" + source.y + "," + source.x + ")"; }) 144 | .style("opacity", 0) 145 | .remove(); 146 | 147 | // Update the links… 148 | let link = svg.selectAll(".link") 149 | .data(root.links(), function (d) { return d.target.id; }); 150 | 151 | // Enter any new links at the parent's previous position. 152 | link.enter().insert("path", "g") 153 | .attr("class", "link") 154 | .attr("d", elbow) 155 | .transition() 156 | .duration(duration) 157 | .attr("d", elbow); 158 | 159 | // Transition links to their new position. 160 | link.transition() 161 | .duration(duration) 162 | .attr("d", elbow); 163 | 164 | // Transition exiting nodes to the parent's new position. 165 | link.exit().transition() 166 | .duration(duration) 167 | .attr("d", elbow) 168 | .remove(); 169 | 170 | // Stash the old positions for transition. 171 | root.each(function (d) { 172 | d.x0 = d.x; 173 | d.y0 = d.y; 174 | }); 175 | } 176 | -------------------------------------------------------------------------------- /xhr_override.js: -------------------------------------------------------------------------------- 1 | // Copyright 2023 Konstantin Grishchenko, Security Experts Community 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | originalSend = window.XMLHttpRequest.prototype.send; 16 | window.XMLHttpRequest.prototype.send = overridedSend; 17 | 18 | function overridedSend(data){ 19 | if(this.onreadystatechange){ 20 | this._onreadystatechange = this.onreadystatechange; 21 | } 22 | 23 | if(data !== null){ 24 | try { 25 | // console.log(data); 26 | let params = JSON.parse(data); 27 | // удалим ненужную сортировку 28 | delete params.filter.groupByOrder; // удаляем 29 | data = JSON.stringify(params); 30 | } 31 | catch (error) { 32 | //console.log(error); 33 | ; //просто пропустим ошибку, какой она бы не была, 34 | // наверняка просто попался какой-то запрос с параметрами другого формата 35 | // TODO: наверное стоит делать нормально, но пока и так сойдет 36 | } 37 | 38 | // console.log(data); 39 | } 40 | this.onreadystatechange = onReadyStateChangeReplacement; 41 | return originalSend.apply(this, arguments); 42 | } 43 | 44 | function onReadyStateChangeReplacement(){ 45 | if(this._onreadystatechange){ 46 | return this._onreadystatechange.apply(this, arguments); 47 | } 48 | } --------------------------------------------------------------------------------