shell bypass 403

Cubjrnet7 Shell

: /usr/share/lve/modlscapi/user/__pycache__/ [ drwxr-xr-x ]

name : exec_command.cpython-39.pyc
a

ABMf~�@sDddlZddlZdd�Zdd�Zdd�Zdd	�Zd
d�Zdd
�ZdS)�NcCs|ddkr|dkrdSdS)Nr�"����lineZisquotfrr�-/usr/share/lve/modlscapi/user/exec_command.py�
first_quotsrcCs$|t|�ddkr |dkr dSdS)Nrrr)�lenrrrr�	last_quot
sr
cCs�|�d�}d}d}g}tt|��D]p}||dkr"t|||�dkrRd}||}q"t|||�dkr�d}|d||7}|�|�q"|�||�q"t|�dS)N� r�r)�split�ranger	rr
�append�print)�commandZisquot�res�result�irrr�
parse_commands"

rc
Cs�g}zJtj|dtjtjd�}|j��}|s,qL|��dkr|�|�����qWn4ty�}zt	dt
|��WYd}~n
d}~00|S)NT)�shell�stdout�stderrrzCall process error: )�
subprocess�Popen�PIPEr�readline�stripr�decode�	Exceptionr�str)rr�p�output�instrrr�exec_command's
&r$cCs
t�|�S)z�
    Run command via os.system and return its exit status

    :param command: Command to execute in a subshell
    :return: Exit status of the command process
    )�os�system)rrrr�exec_command_out6sr'cCs&t|�}|D]}||vr|SqdS)N���)r$)rZ	substringrrrrr�exec_command_find_substring@s

r))r%rrr
rr$r'r)rrrr�<module>s

© 2025 Cubjrnet7