OwlCyberSecurity - MANAGER
Edit File: inotify.cpython-311.opt-1.pyc
� ����N�6h�����������������������������d�Z�ddlmZ�ddlmZ�ddlmZ�ddlmZ�ddl m Z mZ�ddlm Z ��ee������������Z�G�d��d e������������Zd S�)u �� This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. Copyright © 2019 Cloud Linux Software Inc. This software is also available under ImunifyAV commercial license, see <https://www.imunify360.com/legal/eula> �����)� getLogger)� ConfigFile)�Malware)� MessageSource)�recurring_check�Scope)�cxsc��������������������`�����e�Zd�Zej��������Zd��Zd��Zd��Z�e e j��������������������d����������������ZdS�)�InotifyScanc�����������������������d�|�_���������d�S��N)�_enable_task��selfs��� �I/opt/imunify360/venv/lib/python3.11/site-packages/imav/plugins/inotify.py�__init__zInotifyScan.__init__$���s������ ���������c����������������������K����||�_���������||�_��������|�j������������������������������|������������������������������������������������|�_��������d�S�r ���)�_loop�_sink�create_task� _check_enabler���)r����loop�sinks��� r���� create_sourcezInotifyScan.create_source'���s>������������ ��� � �J�2�2�4�3E�3E�3G�3G�H�H����r���c�������������������h���K����|�j����������(|�j���������������������������������������������|�j�����������d�{V����d�S�d�S�r ���)r����cancelr���s��� r����shutdownzInotifyScan.shutdown-���sM������������(���$�$�&�&�&��#�#�#�#�#�#�#�#�#�#��)�(r���c����������������������K����t����������j����������������������r1t����������j��������r't ���������������������������������������������ddd�������������d�S�d�S�d�S�)N�MALWARE_SCANNING�enable_scan_inotifyF)r ����cxswatch_running�Config�INOTIFY_ENABLEDr����setr���s��� r���r���zInotifyScan._check_enable2���s_������������!�!�� O�f�&<�� O��L�L���/�1F��N�N�N�N�N� O�� O�� O�� Or���N) �__name__� __module__�__qualname__r����IM360�SCOPEr���r���r���r���r#����CONFIG_CHECK_PERIODr�����r���r���r���r���!���sy���������������K�E�!��!��!�I��I��I�$��$��$� ��_�V�/�0�0�O��O��1�0�O��O��Or���r���N)�__doc__�loggingr���� defence360agent.contracts.configr���r���r#����!defence360agent.contracts.pluginsr����defence360agent.utilsr���r����imav.malwarelib.subsysr ���r&����loggerr���r,���r���r����<module>r4������s���������*�������������7��7��7��7��7��7��>��>��>��>��>��>��;��;��;��;��;��;��8��8��8��8��8��8��8��8��&��&��&��&��&��&� ��8� � ��O��O��O��O��O�-��O��O��O��O��Or���