⚝
One Hat Cyber Team
⚝
Your IP:
18.216.45.231
Server IP:
97.74.87.16
Server:
Linux 16.87.74.97.host.secureserver.net 5.14.0-503.38.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 18 08:52:10 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
lib
/
fm-agent
/
library
/
__pycache__
/
View File Name :
blacklister.cpython-39.pyc
a � �f) � @ s d Z dgZG dd� de�ZdS )zg Module to handle plugin blacklisting operations, like setting default plugins to be blacklisted, etc. Zpackage_upgradec @ s$ e Zd ZdZefdd�Zdd� ZdS )�PluginBlacklisterzG Class to handle operations regarding blacklisting of plugins. c C s || _ d S )N)�_default_plugins)�selfZdefault_plugins� r �(/usr/lib/fm-agent/library/blacklister.py�__init__ s zPluginBlacklister.__init__c C s: |r|� d�}dd� |D �}ng }t|| j �}d�|�S )zC Update a plugin blacklist with the defaults ones. �,c S s g | ]}|� � �qS r )�strip)�.0�pluginr r r � <listcomp> � z1PluginBlacklister.update_list.<locals>.<listcomp>)�split�setr �join)r Zplugin_listZuser_pluginsZ plugin_setr r r �update_list s zPluginBlacklister.update_listN)�__name__� __module__�__qualname__�__doc__�DEFAULT_BLACKLISTED_PLUGINSr r r r r r r s r N)r r �objectr r r r r �<module> s