VULN_CHECK_I913V6 㢗&bddlZdZdZdZdS)Nz/var/cpanel/cpanel.configcL t|d5}|}dddn #1swxYwYn#ttf$rYdSwxYw|D]I}||dr/|ddcSJdS)z Get param from config file :param path: Path to config file :type path: str :param param: Key for param in config file :type param: str utf-8encodingNF=)open readlinesOSErrorIOError startswithstripsplit)pathparamfdatalines /builddir/build/BUILDROOT/alt-python27-cllib-3.4.41-1.el10.cloudlinux.x86_64/opt/cloudlinux/venv/lib/python3.11/site-packages/clcommon/clconfig.py get_paramr s $ ) ) ) !Q;;==D ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! W uu00 ??e;;; ' ' 0JJLL&&s++Q/ / / / 0 4s,A4 A8A8AAAc|d|d}tj|stj|tjtjztjztjzd}tj|dd5}| |dddn #1swxYwYdSt|d5}| }dddn #1swxYwYt|D]\}}| |dr|||<tj|tjtjztjztjzd}tj|dd5}| d |dddn #1swxYwYdStj|tjtjztjztjzd}tj|d d5}| |ddddS#1swxYwYdS) a Replaces config file with path to config file with line param=value :param path: Path to config file :type path: str :param param: Key for param in config file :type key: str :param value: Value for param in config file :type value: str r iwrrNa)osrexistsr O_WRONLYO_CREATO_TRUNC O_NOFOLLOWfdopenwriter enumerater joinO_APPEND) rrvaluenew_linefdrrirs r replace_paramr+ s##%###H 7>>$   WT2;3bj@2=PRW X X Yr3 1 1 1 Q GGH                   dW % % %{{}}T??4 ??e;;; ' ' DGr{RZ7"*Dr}TV[\\B2sW555 ' &&& ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' FF   r{RZ/"+= Mu U UB 2sW - - - sHB((B,/B,C''C+.C+)F66F: =F: #II  I )rCPANEL_CONFIG_PATHrr+rr/s> 0&r.