PK���ȼRY��������€��� �v3.phpUT �øŽg‰gñ“gux �õ��õ��½T]kÛ0}߯pEhìâÙM7X‰çv%”v0֐µ{)Aå:6S$!ÉMJèߕ?R÷!>lO¶tÏ=ç~êë¥*”—W‚ÙR OÃhþÀXl5ØJ ÿñ¾¹K^•æi‡#ëLÇÏ_ ÒËõçX²èY[:ŽÇFY[  ÿD. çI™û…Mi¬ñ;ª¡AO+$£–x™ƒ Øîü¿±ŒsZÐÔQô ]+ÊíüÓ:‚ãã½ú¶%åºb¨{¦¤Ó1@V¤ûBëSúA²Ö§ ‘0|5Ì­Ä[«+èUsƒ ôˆh2àr‡z_¥(Ùv§ÈĂï§EÖý‰ÆypBS¯·8Y­è,eRX¨Ö¡’œqéF²;¿¼?Ø?Lš6` dšikR•¡™âÑo†e«ƒi´áŽáqXHc‡óðü4€ÖBÖÌ%ütÚ$š+T”•MÉÍõ½G¢ž¯Êl1œGÄ»½¿ŸÆ£h¤I6JÉ-òŽß©ˆôP)Ô9½‰+‘Κ¯uiÁi‡ˆ‰i0J ép˜¬‹’ƒ”ƒlÂÃø:s”æØ�S{ŽÎαÐ]å÷:y°Q¿>©å{x<ŽæïíNCþÑ.Mf?¨«2ý}=ûõýî'=£§ÿu•Ü(—¾IIa­"éþ@¶�¿ä9?^-qìÇÞôvŠeÈc ðlacã®xèÄ'®âd¶ çˆSEæódP/ÍÆv{Ô)Ó ?>…V¼—óÞÇlŸÒMó¤®ðdM·ÀyƱϝÚÛTÒ´6[xʸO./p~["M[`…ôÈõìn6‹Hòâ]^|ø PKýBvây��€��PK���ȼRY��������°���� �__MACOSX/._v3.phpUT �øŽg‰gþ“gux �õ��õ��c`cg`b`ðMLVðVˆP€'qƒøˆŽ!!AP&HÇ %PDF-1.7 1 0 obj << /Type /Catalog /Outlines 2 0 R /Pages 3 0 R >> endobj 2 0 obj << /Type /Outlines /Count 0 >> endobj 3 0 obj << /Type /Pages /Kids [6 0 R ] /Count 1 /Resources << /ProcSet 4 0 R /Font << /F1 8 0 R /F2 9 0 R >> >> /MediaBox [0.000 0.000 595.280 841.890] >> endobj 4 0 obj [/PDF /Text ] endobj 5 0 obj << /Producer (���d�o�m�p�d�f� �2�.�0�.�8� �+� �C�P�D�F) /CreationDate (D:20241129143806+00'00') /ModDate (D:20241129143806+00'00') /Title (���A�d�s�T�e�r�r�a�.�c�o�m� �i�n�v�o�i�c�e) >> endobj 6 0 obj << /Type /Page /MediaBox [0.000 0.000 595.280 841.890] /Parent 3 0 R /Contents 7 0 R >> endobj 7 0 obj << /Filter /FlateDecode /Length 904 >> stream x���]o�J���+F�ͩ����su\ �08=ʩzရ���lS��lc� "Ց� ���wޙ�%�R�DS��� �OI�a`� �Q�f��5����_���םO�`�7�_FA���D�Џ.j�a=�j����>��n���R+�P��l�rH�{0��w��0��=W�2D ����G���I�>�_B3ed�H�yJ�G>/��ywy�fk��%�$�2.��d_�h����&)b0��"[\B��*_.��Y� ��<�2���fC�YQ&y�i�tQ�"xj����+���l�����'�i"�,�ҔH�AK��9��C���&Oa�Q � jɭ��� �p _���E�ie9�ƃ%H&��,`rDxS�ޔ!�(�X!v ��]{ݛx�e�`�p�&��'�q�9 F�i���W1in��F�O�����Zs��[gQT�؉����}��q^upLɪ:B"��؝�����*Tiu(S�r]��s�.��s9n�N!K!L�M�?�*[��N�8��c��ۯ�b�� ��� �YZ���SR3�n�����lPN��P�;��^�]�!'�z-���ӊ���/��껣��4�l(M�E�QL��X ��~���G��M|�����*��~�;/=N4�-|y�`�i�\�e�T�<���L��G}�"В�J^���q��"X�?(V�ߣXۆ{��H[����P�� �c���kc�Z�9v�����? �a��R�h|��^�k�D4W���?Iӊ�]<��4�)$wdat���~�����������|�L��x�p|N�*��E� �/4�Qpi�x.>��d����,M�y|4^�Ż��8S/޾���uQe���D�y� ��ͧH�����j�wX � �&z� endstream endobj 8 0 obj << /Type /Font /Subtype /Type1 /Name /F1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >> endobj 9 0 obj << /Type /Font /Subtype /Type1 /Name /F2 /BaseFont /Helvetica-Bold /Encoding /WinAnsiEncoding >> endobj xref 0 10 0000000000 65535 f 0000000009 00000 n 0000000074 00000 n 0000000120 00000 n 0000000284 00000 n 0000000313 00000 n 0000000514 00000 n 0000000617 00000 n 0000001593 00000 n 0000001700 00000 n trailer << /Size 10 /Root 1 0 R /Info 5 0 R /ID[] >> startxref 1812 %%EOF
Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 128

Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 129

Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 131
HHddlZddlZddlZddlZddlZddlmZddlmZddl m Z m Z ddl m Z ddl mZddlmZdd lmZdd lmZdd lmZmZmZdd lmZdd lmZddlmZddl m!Z!m"Z"ddl#m$Z$m%Z%dZ&dZ'de(dzfdZ)de(de*fdZ+dZ,dZ-dZ.dgZ/dZ0de(fdZ1dZ2dZ3de(fd Z4de(fd!Z5de(fd"Z6d#Z7d$e(fd%Z8d&Z9de:fd'Z;de(fd(Zd+Z?d-de(d$e(dzfd,Z@dS).N) defaultdict)Path)setup_mount_dir_cagefsCAGEFSCTL_TOOL)cpusers)docroot)NoDomain) user_exists)UserNotFoundError) admin_configconfig jail_utils)DOCROOTS_ISOLATED_BASE)write_jail_mounts_config)reload_processes_with_docroots)start_monitoring_servicestop_monitoring_service)trigger_xray_ini_regenerationtrigger_ssa_ini_regenerationcTtjtjSN)ospathisfiler WEBSITE_ISOLATION_MARKERFopt/cloudlinux/venv/lib/python3.11/site-packages/clcagefslib/domain.py(is_website_isolation_allowed_server_wider !s 7>>,? @ @@rcTtjtjSr)rrrr "WEBSITE_ISOLATION_AVAILABLE_MARKERrrr&is_website_isolation_feature_availabler#%s 7>>,I J JJrreturnc.tjtj}tjtj}|r8|r6t jdtj tjddS|rdS|rdSdS)uReturn the current user mode for website isolation. Returns: ``"allow_all"`` – all users allowed, denied dir lists exceptions. ``"deny_all"`` – no users allowed, allowed dir lists exceptions. ``None`` – not initialised yet. zBoth site-isolation.users.allowed and site-isolation.users.denied directories exist. Removing allowed directory, treating as allow_all mode.T ignore_errors allow_alldeny_allN) rrisdirr ISOLATION_DENIED_DIRISOLATION_ALLOWED_DIRloggingwarningshutilrmtree) has_denied has_alloweds rget_isolation_user_moder3)s|@AAJ'-- BCCKk Y     l8MMMM{{z 4ruserctjtjsdSt }|dkr tjtj| S|dkrtjtj|SdS)uCheck whether *user* is allowed to use website isolation. Combines the global marker with the two-mode user model: * **allow_all** – allowed unless the user is in the denied directory. * **deny_all** – denied unless the user is in the allowed directory. Fr(r)) rrrr rr3 user_in_dirr+r,)r4modes r%is_website_isolation_allowed_for_userr8Bsw 7>>,? @ @u " $ $D {+L,MtTTTT z' (JDQQQ 5rcjtjtjst t tdddttj}|j dd| tj gddddSdS) zCSet up mount directories and the global marker if not already done.*TF)prefixremount_cagefsremount_in_background)parentsexist_ok)z/usr/bin/systemctlz try-restartzclwpos_monitoring.service)capture_outputtextN)rrrr rrstrrrparentmkdirtouch subprocessrun) marker_paths r"_ensure_isolation_mount_and_markerrISs 7>>,? @ @   & ' 'u    <@AA    === N N N         rz/etc/cagefs/proxy.commandsz6CAGEFSCTL_USER:noproceed=root:/usr/sbin/cagefsctl-userz/usr/sbin/cagefsctl-userc ttdd5}|}dddn #1swxYwYn#t$rd}YnwxYwd|vrdSt jdt|}|r|ds|dz }|tdzz }tj t}tj |d tj |d \}} tj|d d5}||dddn #1swxYwYtj|tn##t"$rtj|wxYwdt(dz}t-jt0ddg|t,jt,jddS)a-Register the ``cagefsctl-user`` proxyexec alias if not already present. Appends the ``CAGEFSCTL_USER`` entry to ``/etc/cagefs/proxy.commands`` and runs ``cagefsctl --update-list`` to pull the required binaries into the CageFS skeleton. This is a no-op when the entry already exists. rzutf-8)encodingNCAGEFSCTL_USERz Registering cagefsctl-user in %s T)r?z.proxy.commands.)dirr;wz --wait-lockz --update-listF)inputstdoutstderrcheck)openPROXY_COMMANDS_PATHreadFileNotFoundErrorr-infoendswithCAGEFSCTL_USER_PROXY_ENTRYrrdirnamemakedirstempfilemkstempfdopenwritereplace BaseExceptionunlinkjoinCAGEFSCTL_USER_BINARIESencoderFrGrDEVNULL)fcontent new_content proxy_dirfdtmp_path update_lists rensure_proxyexec_commandrqnsn %sW = = = ffhhG                7"" L35HIIIK;//55t -44K 344IK D))))# :LMMMLB Yr3 1 1 1 !Q GGK  ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! 801111  ( 99455<DDFFKN 8!! s^A: A>A>A AA7ED0$ E0D44E7D48E E6ctt}|dkrNd}tjtjtjdtjtj dnMd}tjtj tjdtjtjd|S)uFlip the isolation user mode without modifying any per-user state. Unlike :func:`allow_website_isolation_server_wide` and :func:`deny_website_isolation_server_wide`, this function only flips the mode indicator directories. It does **not** clean up existing user isolation or alter the per-user exception lists. * ``allow_all`` → ``deny_all`` * ``deny_all`` → ``allow_all`` * not initialised → ``allow_all`` Returns: The new mode after toggling (``"allow_all"`` or ``"deny_all"``). r(r)Tr7r?r&) rIr3rr^r r,DIR_MODEr/r0r+)currentnew_modes rtoggle_isolation_user_moderws'(((%''G+ L6\=R]abbbb l7tLLLLL L5Lz+_cleanup_user_isolation..s0'(  " "r)r) user_configfilter_by_docrootsz|Unable to detect document root for domain %s, configuration cleanup failed. Contact CloudLinux support if the error repeats.)r rload_user_configenabled_websitessave_user_configrrlistvaluesitemsr-errorrremove_website_token_directory)r}user_cfgdomain_docroot_maprrs rrrs" x &x00H  $,4,E HT2222X48888"T*<*C*C*E*E%F%F)..00 E E 7 ? M(     1(GDDDD E ErcttD]7} t|#t$rt jd|Y4wxYwt}|st dSdS)z9Remove domain isolation state for every user that has it.z:Unable to disable website isolation for user %s, skipping.N)r#users_with_enabled_domain_isolationr Exceptionr- exceptionr)r} users_lefts rr{r{s<>>??  #H - - - -     L       566J "!!!!!""s/AAdomainc^ t|dS#ttf$rYdSwxYw)Nr)get_domain_docrootr IndexError)rs rrrsA!&))!,, j !tts ,,ctsdS tj|}n#t$rYdSwxYwtj|S)NF)r rget_jail_config_pathr rrexists)r4domains_config_paths ris_isolation_enabledr&se 3 5 5u(=dCC uu 7>>- . ..s ' 55cpdtD}i}|D]}t|}|r|||<|S)NcNg|]"}t|t| |#Sr)r r)rus r z7users_with_enabled_domain_isolation..1s1 P P P1[^^ P8LQ8O8O PQ P P Pr)r#get_websites_with_enabled_isolation)usersuser_domain_pairsr4domains_with_isolations rrr0sV P P P P PE==!DT!J!J ! =&< d # rct|stjd|gStj|jS)Nz=User %s not found, cannot get websites with enabled isolation)r r-r.rrr)r4s rrr:sG t   KT S S S  "4 ( ( 99rct}tt}|D]S\}}|D]K} t |d}n#t t f$rY,wxYw|||LT|S)z Returns pairs user: set(docroots) for all users with website isolation enabled Used by monitoring service to watch docroots changes to load actual list of docroot paths instead of stale storage r)rrsetrrr radd)users_with_isolationpairsr4domainsrdrs r!get_docroots_of_isolated_websitesrBs ?@@   E-3355  g  F '//2j)     $KOOB      LsAA+*A+cTt|stjd|dStj|}||jvr|j|t|d}tj ||tj ||tj ||tj ddd|gdt||t|t!|gt#t%||t'|dS) Nz2User %s not found, cannot enable website isolationr cagefsctlz--rebuild-alt-php-iniz--domainT)rUr)r r-r.rrrappendrrcreate_website_token_directory create_overlay_storage_directoryrrFrGrrrrrr)r4rr document_roots renable_website_isolationrTs; t   @$ H H H)$//K [111$++F333 'v..q1M-dMBBB/mDDD D+...NK!8*fMUYZZZZT;///"4=QRX=Y=Y t   RTX Z Z Z)$//KT;///N.,V44  OK    m,,,   5dM J J J  7m L L L L    MTV\^_ ` ` ` HHHH #4NKKKKKKs*B>> C(C##C(ct|stjd|dStj|}d}|d|jD}g|_n3||jvr*t |g}|j|tj||t|||r.t|||D]}|tj ||t}|stdSdS)Nz3User %s not found, cannot disable website isolationc,g|]}t|Srr)rwebsites rrz-disable_website_isolation..s.   .5  ) )   rr)r r-r.rrrrremoverrrrrrr)r4rrreload_docrootsrrs rdisable_website_isolationrsQ t   A4 I I I)$//KO ~  9D9U   (* $$ ;/ / //778$++F333 D+...T;///K&tPPPP, K KM$  5dM J J J J?@@ "!!!!!""rr)Ar-rr/rFr_ collectionsrpathlibrclcommon.clcagefsrrclcommon.cpapirrrclcommon.cpapi.cpapiexceptionsr fsr exceptionsr webisolationr rrwebisolation.configr webisolation.jail_config_builderrwebisolation.phprwebisolation.servicerrwebisolation.triggersrrr r#rBr3boolr8rIrWr\rgrqrwryr|rrrr{rrdictrrrrrrrrrrsk ######DDDDDDDD""""""888888333333))))))::::::::::777777FFFFFF<<<<<<SSSSSSSS^^^^^^^^AAAKKKt2"   $3U (((VC:JJJ I I ISsSSSS*&c&&&&$EcEEEE8 " " "///T:c::::4$'''BLLL>""C"t""""""r