CasperSecurity

Current Path : /lib/python3/dist-packages/landscape/lib/__pycache__/
Upload File :
Current File : //lib/python3/dist-packages/landscape/lib/__pycache__/bootstrap.cpython-310.pyc

o

���c��@shddlmZddlZddlZddlZGdd�de�ZGdd�de�ZGdd�de�ZGd	d
�d
e�Z	dS)�)�TemplateNc@seZdZdd�Zdd�ZdS)�
BootstrapListcCs
||_dS�N)�_bootstraps)�self�
bootstraps�r�9/usr/lib/python3/dist-packages/landscape/lib/bootstrap.py�__init__	s
zBootstrapList.__init__cKs |jD]
}|jdi|��qdS)Nr)r�	bootstrap)r�varsrrrr	rs
�zBootstrapList.bootstrapN)�__name__�
__module__�__qualname__r
rrrrr	rsrc@s&eZdZddd�Zdd�Zdd�ZdS)	�
BootstrapPathNcCs||_||_||_||_dSr)�path�username�group�mode)rrrrrrrr	r
s
zBootstrapPath.__init__cCsdSrr�rrrrr	�_createszBootstrapPath._createcKs�t|j�jdi|��}|�|�|jdurt�||j�t��dkrQ|jdur/t	�
|j�j}nd}|jdur>t
�|j�j}nd}|dksH|dkrSt�|||�dSdSdS)Nr���r)rr�
substituterr�os�chmod�getuidr�pwd�getpwnam�pw_uidr�grp�getgrnam�gr_gid�chown)rrr�uid�gidrrr	rs



�zBootstrapPath.bootstrap)NNN)r
rrr
rrrrrr	rs
rc@�eZdZdd�ZdS)�
BootstrapFilecCst|d���dS)N�a)�open�closerrrr	r4szBootstrapFile._createN�r
rrrrrrr	r&2�r&c@r%)�BootstrapDirectorycCs4zt�|�WdStytj�|�s�YdSwr)r�makedirs�OSErrorr�isdirrrrr	r:s��zBootstrapDirectory._createNr*rrrr	r,8r+r,)
�stringrrrr�objectrrr&r,rrrr	�<module>s
!
Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY