Linux sagir-us1.hostever.us 5.14.0-570.51.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 8 09:41:34 EDT 2025 x86_64
LiteSpeed
Server IP : 104.247.108.91 & Your IP : 216.73.216.105
Domains : 74 Domain
User : georgeto
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
rsync /
support /
Delete
Unzip
Name
Size
Permission
Date
Action
Makefile
80
B
-rw-r--r--
2005-01-11 18:37
atomic-rsync
5.07
KB
-rw-r--r--
2021-12-30 20:29
cvs2includes
1.19
KB
-rw-r--r--
2020-06-17 01:27
deny-rsync
1005
B
-rw-r--r--
2020-06-17 01:27
file-attr-restore
4.82
KB
-rw-r--r--
2020-06-17 01:27
files-to-excludes
538
B
-rw-r--r--
2020-06-17 01:27
git-set-file-times
3.81
KB
-rw-r--r--
2022-04-11 15:57
instant-rsyncd
2.73
KB
-rw-r--r--
2020-06-17 01:27
logfilter
1.08
KB
-rw-r--r--
2020-06-17 01:27
lsh
3.03
KB
-rw-r--r--
2021-12-28 01:57
lsh.sh
1.08
KB
-rw-r--r--
2022-01-09 22:03
mapfrom
633
B
-rw-r--r--
2020-06-17 01:27
mapto
625
B
-rw-r--r--
2020-06-17 01:27
mnt-excl
1.8
KB
-rw-r--r--
2020-06-17 01:27
munge-symlinks
2.56
KB
-rw-r--r--
2021-12-21 00:41
nameconvert
1.49
KB
-rw-r--r--
2020-08-06 04:32
rrsync
12.32
KB
-rw-r--r--
2022-01-10 01:47
rrsync.1.md
4.28
KB
-rw-r--r--
2022-05-07 00:42
rsync-no-vanished
593
B
-rw-r--r--
2021-11-13 18:39
rsync-slash-strip
769
B
-rw-r--r--
2021-11-13 18:39
rsyncstats
8.49
KB
-rw-r--r--
2020-06-17 01:27
savetransfer.c
4.45
KB
-rw-r--r--
2006-12-18 07:24
Save
Rename
#!/usr/bin/env bash # Send an error message via the rsync-protocol to a non-daemon client rsync. # # Usage: deny-rsync "message" protocol_version=29 exit_code=4 # same as a daemon that refuses an option # e.g. byte_escape 29 => \035 function byte_escape { echo -ne "\\0$(printf "%o" $1)" } msg="$1" if [ "${#msg}" -gt 254 ]; then # truncate a message that is too long for this naive script to handle msg="${msg:0:251}..." fi msglen=$(( ${#msg} + 1 )) # add 1 for the newline we append below # Send protocol version. All numbers are LSB-first 4-byte ints. echo -ne "$(byte_escape $protocol_version)\\000\\000\\000" # Send a zero checksum seed. echo -ne "\\000\\000\\000\\000" # The following is equivalent to rprintf(FERROR_XFER, "%s\n", $msg). # 1. Message header: ((MPLEX_BASE + FERROR_XFER) << 24) + $msglen. echo -ne "$(byte_escape $msglen)\\000\\000\\010" # 2. The actual data. echo -E "$msg" # Make sure the client gets our message, not a write failure. sleep 1 exit $exit_code