Server IP : 103.119.228.120 / Your IP : 3.133.108.47 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/share/zsh/5.0.2/functions/ |
Upload File : |
#compdef cryptsetup ## completion for cryptsetup 1.3.0, based on cryptsetup(1) function _cryptsetup_action { typeset -a actions actions=( 'create:create a mapping' 'remove:remove an existing mapping' 'status:report mapping status' 'resize:resize an active mapping' 'luksFormat:Initialize a LUKS partition' 'luksOpen:Open LUKS partition' 'luksClose:remove an existing mapping' 'luksSuspend:suspend active device' 'luksResume:resume suspended device' 'luksAddKey:add a new key' 'luksRemoveKey:remove a key' 'luksChangeKey:change a key' 'luksKillSlot:wipe key from slot' 'luksUUID:print/change device UUID' 'isLuks:check if device is a LUKS partition' 'luksDump:dump header information' 'luksHeaderBackup:store binary backup of headers' 'luksHeaderRestore:restore header backup' ) _describe action actions } function _cryptsetup_device { typeset expl _wanted file expl device \ _files } function _cryptsetup_mapping { typeset expl _wanted file expl 'mapping name' \ _path_files -W /dev/mapper } function _cryptsetup_arguments { case ${words[1]} in create) _arguments ':mapping:_cryptsetup_mapping' ':device:_cryptsetup_device' ;; remove|status|resize|luksClose|luksSuspend|luksResume) _arguments ': :_cryptsetup_mapping' ;; luks(AddKey|RemoveKey|DelKey|UUID|Dump)|isLuks) _arguments ': :_cryptsetup_device' ;; luks(Format|AddKey|RemoveKey|ChangeKey)) _arguments ': :_cryptsetup_device' ':key file:_files' ;; luksKillSlot) _arguments ': :_cryptsetup_device' ':key slot number' ;; luksOpen) _arguments ': :_cryptsetup_device' ': :_cryptsetup_mapping' ;; esac } function _cryptsetup { _arguments \ '(-v --verbose)'{-v,--verbose}'[enable verbose mode]' \ '--debug[enable debug mode]' \ '(-h --hash)'{-h,--hash}'[hash algorithm]:hash algorithm' \ '(-c --cipher)'{-c,--cipher}'[set cipher]:cipher specification' \ '(-y --verify-passphrase)'{-y,--verify-passphrase}'[query for password twice]' \ '(-d --key-file)'{-d,--key-file}'[set keyfile]:key file:_files' \ '(-l --keyfile-size)'{-l,--keyfile-size}'[set keyfile size]:bytes' \ '--new-keyfile-size[set new keyfile size (luksAddKey)]:bytes' \ '--master-key-file[set master key]:key file:_files' \ '--dump-master-key[dump luks master key]' \ '(--use-urandom)--use-random[use /dev/random to generate volume key]' \ '(--use-random)--use-urandom[use /dev/urandom to generate volume key]' \ '(-S --key-slot)'{-S,--key-slot}'[select key slot]:key slot' \ '(-s --key-size)'{-s,--key-size}'[set key size]:bits' \ '(-b --size)'{-b,--size}'[force device size]:sectors' \ '(-o --offset)'{-o,--offset}'[set start offset]:sectors' \ '(-p --skip)'{-p,--skip}'[data to skip at beginning]:sectors' \ '--readonly[set up read-only mapping]' \ '(-i --iter-time)'{-i,--iter-time}'[set password processing duration]:milliseconds' \ '(-q --batch-mode)'{-q,--batch-mode}'[do not ask for confirmation]' \ '(-t --timeout)'{-t,--timeout}'[set password prompt timeout]:seconds' \ '(-T --tries)'{-T,--tries}'[set maximum number of retries]:maximum retries' \ '--align-payload[set payload alignment]:sectors' \ '--uuid[set device UUID]:uuid' \ '--version[show version information]' \ ':action:_cryptsetup_action' \ '*::arguments:_cryptsetup_arguments' } _cryptsetup "$@"