![]() Server : Apache/2.4.52 (Ubuntu) System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64 User : www-data ( 33) PHP Version : 8.1.2-1ubuntu2.21 Disable Function : NONE Directory : /lib/python3/dist-packages/landscape/lib/__pycache__/ |
o ���c � @ s d dl mZ dd� Zdd� ZdS )� )�md5c C s d� | pd|pd�S )zJ Concatenates a interpreter and script into an executable script. z#!{} {}� )�format)�interpreter�code� r �=/usr/lib/python3/dist-packages/landscape/lib/scriptcontent.py�build_script s r c C s | � d�}t|��� � d�S )z+ Return a hash for a given script. zutf-8�ascii)�encoder � hexdigest)�script�encoded_scriptr r r �generate_script_hash s r N)�landscape.lib.hashlibr r r r r r r �<module> s