AnonSec Shell
Server IP : 85.193.89.191  /  Your IP : 3.145.179.2
Web Server : Apache
System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : bitrix ( 600)
PHP Version : 8.1.27
Disable Function : NONE
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python2.7/site-packages/ansible/plugins/shell/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /lib/python2.7/site-packages/ansible/plugins/shell/fish.pyc
�
��\c@`srddlmZmZmZeZddlmZddlm	Z	ddl
mZdZ
defd��YZdS(	i(tabsolute_importtdivisiontprint_function(t	text_type(tshlex_quote(tShellModules�
    name: fish
    plugin_type: shell
    version_added: ""
    short_description: fish shell (/bin/fish)
    description:
      - This is here because some people are restricted to fish.
    extends_documentation_fragment:
      - shell_common
RcB`sheZed�ZdZdZdZdZdZdZ	dZ
dZdZd�Z
dd	�Zd
�ZRS(
tfishs
s> /dev/null 2>&1s; ands; ort(t)tcK`s^|jj�}|j|�djg|j�D](\}}d|tt|��f^q/�S(Nt sset -lx %s %s;(tenvtcopytupdatetjointitemsRR(tselftkwargsRtktv((s>/usr/lib/python2.7/site-packages/ansible/plugins/shell/fish.pyt
env_prefix's
cC`sw|j�dkr!t|�}n|j�|jdd�j�|g}|dk	rd|j|�ndj|�}|S(NR	s#!R
(tstripRtreplacetNonetappendR(Rt
env_stringtshebangtcmdtarg_patht	cmd_partstnew_cmd((s>/usr/lib/python2.7/site-packages/ansible/plugins/shell/fish.pytbuild_module_command,s'c
C`s�t|�}dtd|d|d|jd|j�}dj|||j�dj|||j�g}d|jj|�}d	|||j|f}|S(
Ns�set rc flag; [ -r %(p)s ] %(shell_or)s set rc 2; [ -f %(p)s ] %(shell_or)s set rc 1; [ -d %(p)s ] %(shell_and)s set rc 3; %(i)s -V 2>/dev/null %(shell_or)s set rc 4; [ x"$rc" != "xflag" ] %(shell_and)s echo "$rc  "%(p)s %(shell_and)s exit 0tptit	shell_andtshell_oru({0} -c 'import hashlib; BLOCKSIZE = 65536; hasher = hashlib.sha1();{2}afile = open("'{1}'", "rb"){2}buf = afile.read(BLOCKSIZE){2}while len(buf) > 0:{2}	hasher.update(buf){2}	buf = afile.read(BLOCKSIZE){2}afile.close(){2}print(hasher.hexdigest())' 2>/dev/null)u�({0} -c 'import sha; BLOCKSIZE = 65536; hasher = sha.sha();{2}afile = open("'{1}'", "rb"){2}buf = afile.read(BLOCKSIZE){2}while len(buf) > 0:{2}	hasher.update(buf){2}	buf = afile.read(BLOCKSIZE){2}afile.close(){2}print(hasher.hexdigest())' 2>/dev/null)s %s s%s; %s %s (echo '0  '%s)(Rtdictt
_SHELL_ANDt	_SHELL_ORtformatt_SHELL_EMBEDDED_PY_EOLR(Rtpatht
python_interptshell_escaped_pathttesttcsumsR((s>/usr/lib/python2.7/site-packages/ansible/plugins/shell/fish.pytchecksum6s+(RN(t__name__t
__module__t	frozensettCOMPATIBLE_SHELLStSHELL_FAMILYR(t_SHELL_REDIRECT_ALLNULLR%R&t_SHELL_SUB_LEFTt_SHELL_SUB_RIGHTt_SHELL_GROUP_LEFTt_SHELL_GROUP_RIGHTRRRR.(((s>/usr/lib/python2.7/site-packages/ansible/plugins/shell/fish.pyRs	
N(t
__future__RRRttypet
__metaclass__tansible.module_utils.sixRtansible.module_utils.six.movesRtansible.plugins.shell.shRtShModulet
DOCUMENTATION(((s>/usr/lib/python2.7/site-packages/ansible/plugins/shell/fish.pyt<module>s

Anon7 - 2022
AnonSec Team