403Webshell
Server IP : 51.89.169.208  /  Your IP : 216.73.216.211
Web Server : Apache
System : Linux ns3209505.ip-198-244-202.eu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64
User : yellowleaf ( 1019)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/thread-self/root/usr/share/zsh/5.5.1/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/thread-self/root/usr/share/zsh/5.5.1/functions/_umountable
#autoload
local tmp
local dev_tmp dpath_tmp mp_tmp mline

case "$OSTYPE" in
linux*|irix*)
  tmp=( "${(@f)$(< /etc/mtab)}" )
  dev_tmp=( "${(@)${(@)tmp%% *}:#none}" )
  mp_tmp=( "${(@)${(@)tmp#* }%% *}" )
  ;;
freebsd*|dragonfly*)
  /sbin/mount | while read mline; do
    dev_tmp+=( $mline[(w)1] )
    mp_tmp+=( $mline[(w)3] )
  done
;;
darwin*)
  tmp=( "${(@f)$(/sbin/mount)}" )
  dev_tmp=( "${(@)${(@)tmp%% *}:#map}" )
  mp_tmp=( "${(@)${(@)tmp#* on }%% \(*}" )
  ;;
*)
  /sbin/mount | while read mline; do
    mp_tmp+=( $mline[(w)1] )
    dev_tmp+=( $mline[(w)3] )
  done
  ;;
esac

local MATCH MBEGIN MEND
# The complicated substitution for mount point names is required because
# characters in /etc/mtab that might confuse programs reading the names
# are encoded as exactly 3 octal digits, like for example \040 for space.
# The cleaner-looking ${(g::)mp_tmp} might consume too many digits.
# Both mp_tmp and dev_tmp are derived from /etc/mtab or "mount" output.
mp_tmp=("${(@)mp_tmp//(#m)\\[0-7](#c3)/${(#)$(( 8#${MATCH[2,-1]} ))}}")
dev_tmp=("${(@)dev_tmp//(#m)\\[0-7](#c3)/${(#)$(( 8#${MATCH[2,-1]} ))}}")
dpath_tmp=( "${(@M)dev_tmp:#/*}" )
dev_tmp=( "${(@)dev_tmp:#/*}" )

_alternative \
  'device-labels:device label:compadd -a dev_tmp' \
  'device-paths: device path:_canonical_paths -A dpath_tmp -N -M "r:|/=* r:|=*" device-paths device\ path' \
  'directories:mount point:_canonical_paths -A mp_tmp -N -M "r:|/=* r:|=*" directories mount\ point' && ret=0

Youez - 2016 - github.com/yon3zu
LinuXploit