403Webshell
Server IP : 156.238.232.47  /  Your IP : 216.73.216.150
Web Server : nginx/1.25.3
System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : www ( 1000)
PHP Version : 8.3.25
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python2.7/site-packages/cloudinit/config/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/site-packages/cloudinit/config/cc_runcmd.pyc
�
oB�]c@s8dZddlmZmZddlmZddlmZddlm	Z	ddl
Z
ddlmZegZ
i	dd	6d
d6dd
6ed�d6e
d6ed�gd6ed6dd6iidd6iidd6idd6d6idd6gd6d6ed6ed6dd6gd6d6d 6Zee�Zd!�ZdS("sERuncmd: run arbitrary commands at rc.local with output to the consolei����(tget_schema_doctvalidate_cloudconfig_schema(tALL_DISTROS(tPER_INSTANCE(tutilN(tdedentt	cc_runcmdtidtRuncmdtnamesRun arbitrary commandsttitles�        Run arbitrary commands at a rc.local like level with output to the
        console. Each item can be either a list or a string. If the item is a
        list, it will be properly executed as if passed to ``execve()`` (with
        the first arg as the command). If the item is a string, it will be
        written to a file and interpreted
        using ``sh``.

        .. note::

          all commands must be proper yaml, so you have to quote any characters
          yaml would eat (':' can be problematic)

        .. note::

          when writing files, do not use /tmp dir as it races with
          systemd-tmpfiles-clean LP: #1707222. Use /run/somedir instead.
    tdescriptiontdistross        runcmd:
            - [ ls, -l, / ]
            - [ sh, -xc, "echo $(date) ': hello world!'" ]
            - [ sh, -c, echo "=========hello world'=========" ]
            - ls -l /root
            - [ wget, "http://example.org", -O, /tmp/index.html ]
    texamplest	frequencytobjectttypetarraytstringtitemstoneOftadditionalItemstadditionalPropertiesitminItemstrequiredtruncmdt
propertiescCs�d|kr |jd|�dSt|t�tjj|jd�d�}|d}y&tj|�}tj	||d�Wn't
k
r�tj|d||�nXdS(NRs:Skipping module named %s, no 'runcmd' key in configurationtscriptsi�s"Failed to shellify %s into file %s(tdebugRtschematostpathtjoint	get_ipathRtshellifyt
write_filet	Exceptiontlogexc(R	tcfgtcloudtlogt_argstout_fntcmdtcontent((s>/usr/lib/python2.7/site-packages/cloudinit/config/cc_runcmd.pythandleQs	


(t__doc__tcloudinit.config.schemaRRtcloudinit.distrosRtcloudinit.settingsRt	cloudinitRRttextwrapRRtFalseRR-(((s>/usr/lib/python2.7/site-packages/cloudinit/config/cc_runcmd.pyt<module>	s<		



Youez - 2016 - github.com/yon3zu
LinuXploit