PATH:
opt
/
imunify360
/
venv
/
lib
/
python3.11
/
site-packages
/
defence360agent
/
migrations
/
__pycache__
/
Editing: 100_remove_captcha_ports_from_csf.cpython-311.pyc
� ���iZ � �F � d dl Z d dlZ ej e� � Zdd�Zdd�ZdS )� NFc �& � |rd S ddl m} ddlm}m} t j � |j � � sd S |� ||dddd� � d S # t $ r t � d� � Y d S w xY w# t $ r Y d S w xY w) Nr )�csf)�IN�TCPi�� i � i� i� z.Failed to remove captcha ports from csf config)�im360.subsysr �im360.utils.netr r �os�path�isfile� CSF_CONFIG�remove_ports� Exception�logger� exception�ImportError)�migrator�database�fake�kwargsr r r s �q/opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/migrations/100_remove_captcha_ports_from_csf.py�migrater s� � �� ���O�$�$�$�$�$�$�+�+�+�+�+�+�+�+� �w�~�~�c�n�-�-� ��F� O����S�"�e�U�E�5�A�A�A�A�A��� O� O� O����M�N�N�N�N�N�N� O����� � � � ���� ���s"