Linux sea-business-23.hostwindsdns.com 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
LiteSpeed
Server IP : 104.168.155.189 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : zvmcccat
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
include /
Delete
Unzip
Name
Size
Permission
Date
Action
GL
[ DIR ]
drwxr-xr-x
2024-02-24 08:39
ImageMagick-6
[ DIR ]
drwxr-xr-x
2026-07-22 08:42
PCSC
[ DIR ]
drwxr-xr-x
2024-02-24 08:44
X11
[ DIR ]
drwxr-xr-x
2024-09-26 11:32
arpa
[ DIR ]
drwxr-xr-x
2026-07-23 11:30
asm
[ DIR ]
drwxr-xr-x
2026-08-06 13:54
asm-generic
[ DIR ]
drwxr-xr-x
2026-08-06 13:54
bind9
[ DIR ]
drwxr-xr-x
2026-06-09 11:30
bind9-export
[ DIR ]
drwxr-xr-x
2026-06-09 11:30
bits
[ DIR ]
drwxr-xr-x
2026-07-23 11:30
blkid
[ DIR ]
drwxr-xr-x
2026-02-05 14:48
bsock
[ DIR ]
drwxr-xr-x
2026-08-04 11:30
c++
[ DIR ]
drwxr-xr-x
2025-08-26 09:44
criu-lve
[ DIR ]
drwxr-xr-x
2026-07-07 13:59
drm
[ DIR ]
drwxr-xr-x
2026-08-06 13:54
e2p
[ DIR ]
drwxr-xr-x
2025-10-10 11:32
et
[ DIR ]
drwxr-xr-x
2025-10-10 11:32
event2
[ DIR ]
drwxr-xr-x
2025-04-08 00:05
ext2fs
[ DIR ]
drwxr-xr-x
2025-10-10 11:32
finclude
[ DIR ]
drwxr-xr-x
2026-07-23 11:30
fontconfig
[ DIR ]
drwxr-xr-x
2024-02-24 08:41
freetype2
[ DIR ]
drwxr-xr-x
2025-04-02 11:34
fstrm
[ DIR ]
drwxr-xr-x
2024-02-24 08:39
gdb
[ DIR ]
drwxr-xr-x
2024-02-24 08:49
gdbm
[ DIR ]
drwxr-xr-x
2024-02-24 08:50
ghostscript
[ DIR ]
drwxr-xr-x
2025-06-04 11:34
gnu
[ DIR ]
drwxr-xr-x
2026-07-23 11:30
google
[ DIR ]
drwxr-xr-x
2024-02-24 08:39
gssapi
[ DIR ]
drwxr-xr-x
2026-05-28 13:25
gssrpc
[ DIR ]
drwxr-xr-x
2026-05-28 13:25
jasper
[ DIR ]
drwxr-xr-x
2025-01-30 12:31
json-c
[ DIR ]
drwxr-xr-x
2024-02-24 08:39
kadm5
[ DIR ]
drwxr-xr-x
2026-05-28 13:25
krb5
[ DIR ]
drwxr-xr-x
2026-05-28 13:25
libdb
[ DIR ]
drwxr-xr-x
2024-02-24 08:50
libexslt
[ DIR ]
drwxr-xr-x
2026-06-18 11:34
libltdl
[ DIR ]
drwxr-xr-x
2024-02-24 08:50
libmount
[ DIR ]
drwxr-xr-x
2026-02-05 14:48
libpng16
[ DIR ]
drwxr-xr-x
2026-06-27 08:15
libxml2
[ DIR ]
drwxr-xr-x
2026-07-08 15:05
libxslt
[ DIR ]
drwxr-xr-x
2026-06-18 11:34
linux
[ DIR ]
drwxr-xr-x
2026-08-06 13:54
lve
[ DIR ]
drwxr-xr-x
2026-07-22 11:30
lzma
[ DIR ]
drwxr-xr-x
2024-02-24 08:39
misc
[ DIR ]
drwxr-xr-x
2026-08-06 13:54
mtd
[ DIR ]
drwxr-xr-x
2026-08-06 13:54
mysql
[ DIR ]
drwxr-xr-x
2026-06-15 11:32
ncurses
[ DIR ]
drwxr-xr-x
2024-02-24 08:50
ncursesw
[ DIR ]
drwxr-xr-x
2024-02-24 08:50
net
[ DIR ]
drwxr-xr-x
2026-07-23 11:30
netash
[ DIR ]
drwxr-xr-x
2026-07-23 11:30
netatalk
[ DIR ]
drwxr-xr-x
2026-07-23 11:30
netax25
[ DIR ]
drwxr-xr-x
2026-07-23 11:30
neteconet
[ DIR ]
drwxr-xr-x
2026-07-23 11:30
netinet
[ DIR ]
drwxr-xr-x
2026-07-23 11:30
netipx
[ DIR ]
drwxr-xr-x
2026-07-23 11:30
netiucv
[ DIR ]
drwxr-xr-x
2026-07-23 11:30
netpacket
[ DIR ]
drwxr-xr-x
2026-07-23 11:30
netrom
[ DIR ]
drwxr-xr-x
2026-07-23 11:30
netrose
[ DIR ]
drwxr-xr-x
2026-07-23 11:30
nfs
[ DIR ]
drwxr-xr-x
2026-07-23 11:30
openssl
[ DIR ]
drwxr-xr-x
2026-07-15 11:31
perf
[ DIR ]
drwxr-xr-x
2026-08-06 13:54
protobuf-c
[ DIR ]
drwxr-xr-x
2024-02-24 08:39
protocols
[ DIR ]
drwxr-xr-x
2026-07-23 11:30
python2.7
[ DIR ]
drwxr-xr-x
2024-05-31 11:35
python3.12
[ DIR ]
drwxr-xr-x
2026-07-30 11:03
python3.6m
[ DIR ]
drwxr-xr-x
2026-07-16 11:30
rdma
[ DIR ]
drwxr-xr-x
2026-08-06 13:54
rpc
[ DIR ]
drwxr-xr-x
2026-07-23 11:30
rpcsvc
[ DIR ]
drwxr-xr-x
2024-02-24 08:52
scsi
[ DIR ]
drwxr-xr-x
2026-08-06 13:54
security
[ DIR ]
drwxr-xr-x
2025-12-23 12:31
selinux
[ DIR ]
drwxr-xr-x
2026-02-12 12:31
sepol
[ DIR ]
drwxr-xr-x
2024-02-24 08:39
sound
[ DIR ]
drwxr-xr-x
2026-08-06 13:54
sys
[ DIR ]
drwxr-xr-x
2026-07-23 11:30
tirpc
[ DIR ]
drwxr-xr-x
2024-07-04 11:30
uuid
[ DIR ]
drwxr-xr-x
2026-02-05 14:48
video
[ DIR ]
drwxr-xr-x
2026-08-06 13:54
webp
[ DIR ]
drwxr-xr-x
2025-06-04 11:34
xcb
[ DIR ]
drwxr-xr-x
2024-02-24 08:39
xen
[ DIR ]
drwxr-xr-x
2026-08-06 13:54
FlexLexer.h
6.73
KB
-rw-r--r--
2019-10-12 12:33
a.out.h
4.25
KB
-rw-r--r--
2026-07-21 14:46
aio.h
7.28
KB
-rw-r--r--
2026-07-21 14:46
aliases.h
1.98
KB
-rw-r--r--
2026-07-21 14:46
alloca.h
1.17
KB
-rw-r--r--
2026-07-21 14:46
ar.h
1.69
KB
-rw-r--r--
2026-07-21 14:46
argp.h
24.82
KB
-rw-r--r--
2026-07-21 14:46
argz.h
5.91
KB
-rw-r--r--
2026-07-21 14:46
assert.h
4.45
KB
-rw-r--r--
2026-07-21 14:46
autosprintf.h
2.33
KB
-rw-r--r--
2019-11-18 17:16
byteswap.h
1.37
KB
-rw-r--r--
2026-07-21 14:46
bzlib.h
6.1
KB
-rw-r--r--
2010-09-10 23:08
com_err.h
2.07
KB
-rw-r--r--
2020-03-21 04:24
complex.h
7
KB
-rw-r--r--
2026-07-21 14:46
cpio.h
2.21
KB
-rw-r--r--
2026-07-21 14:46
cpuidle.h
844
B
-rw-r--r--
2026-08-04 17:45
crypt.h
8.9
KB
-rw-r--r--
2021-10-09 04:04
ctype.h
10.71
KB
-rw-r--r--
2026-07-21 14:46
curses.h
97.29
KB
-rw-r--r--
2023-10-14 18:54
cursesapp.h
6.62
KB
-rw-r--r--
2023-10-14 18:54
cursesf.h
27.2
KB
-rw-r--r--
2023-10-14 18:54
cursesm.h
19.22
KB
-rw-r--r--
2023-10-14 18:54
cursesp.h
8.4
KB
-rw-r--r--
2023-10-14 18:54
cursesw.h
48.55
KB
-rw-r--r--
2023-10-14 18:54
cursslk.h
7.13
KB
-rw-r--r--
2023-10-14 18:54
db.h
120.22
KB
-r--r--r--
2021-09-21 16:29
db_185.h
5.84
KB
-r--r--r--
2021-09-21 16:29
dbm.h
1.38
KB
-rw-r--r--
2022-10-08 13:22
dirent.h
12.19
KB
-rw-r--r--
2026-07-21 14:46
dlfcn.h
7.07
KB
-rw-r--r--
2026-07-21 14:46
elf.h
170.73
KB
-rw-r--r--
2026-07-21 14:46
endian.h
3.11
KB
-rw-r--r--
2026-07-21 14:46
entities.h
4.81
KB
-rw-r--r--
2017-08-30 11:05
envz.h
2.8
KB
-rw-r--r--
2026-07-21 14:46
err.h
2.16
KB
-rw-r--r--
2026-07-21 14:46
errno.h
1.64
KB
-rw-r--r--
2026-07-21 14:46
error.h
1.99
KB
-rw-r--r--
2026-07-21 14:46
eti.h
2.82
KB
-rw-r--r--
2023-10-14 18:54
etip.h
9.47
KB
-rw-r--r--
2023-10-14 18:54
evdns.h
1.97
KB
-rw-r--r--
2019-10-12 00:29
event.h
2.68
KB
-rw-r--r--
2019-10-12 00:29
evhttp.h
1.99
KB
-rw-r--r--
2019-10-12 00:29
evrpc.h
1.97
KB
-rw-r--r--
2019-10-12 00:29
evutil.h
1.74
KB
-rw-r--r--
2019-10-12 00:29
execinfo.h
1.49
KB
-rw-r--r--
2026-07-21 14:46
expat.h
43.24
KB
-rw-r--r--
2026-06-03 11:35
expat_config.h
3.82
KB
-rw-r--r--
2026-06-03 11:35
expat_external.h
5.89
KB
-rw-r--r--
2026-06-03 11:35
fam.h
6.71
KB
-rw-r--r--
2007-08-27 10:18
fcntl.h
10.7
KB
-rw-r--r--
2026-07-21 14:46
features.h
15.69
KB
-rw-r--r--
2026-07-21 14:46
fenv.h
5.72
KB
-rw-r--r--
2026-07-21 14:46
fmtmsg.h
3.16
KB
-rw-r--r--
2026-07-21 14:46
fnmatch.h
2.24
KB
-rw-r--r--
2026-07-21 14:46
form.h
18.17
KB
-rw-r--r--
2023-10-14 18:54
fpu_control.h
3.5
KB
-rw-r--r--
2026-07-21 14:46
fstab.h
3.04
KB
-rw-r--r--
2026-07-21 14:46
fstrm.h
12.71
KB
-rw-r--r--
2019-03-11 20:58
fts.h
8.18
KB
-rw-r--r--
2026-07-21 14:46
ftw.h
5.13
KB
-rw-r--r--
2026-07-21 14:46
gconv.h
3.99
KB
-rw-r--r--
2026-07-21 14:46
gcrypt.h
68.71
KB
-rw-r--r--
2026-07-29 02:15
gd.h
56.42
KB
-rw-r--r--
2017-08-30 11:05
gd_color_map.h
478
B
-rw-r--r--
2017-08-30 11:05
gd_errors.h
1.47
KB
-rw-r--r--
2017-08-30 11:05
gd_io.h
3.05
KB
-rw-r--r--
2017-08-30 11:05
gdbm.h
10.1
KB
-rw-r--r--
2022-10-08 13:22
gdcache.h
2.83
KB
-rw-r--r--
2017-08-30 11:05
gdfontg.h
553
B
-rw-r--r--
2017-08-30 11:05
gdfontl.h
551
B
-rw-r--r--
2017-08-30 11:05
gdfontmb.h
519
B
-rw-r--r--
2017-08-30 11:05
gdfonts.h
515
B
-rw-r--r--
2017-08-30 11:05
gdfontt.h
546
B
-rw-r--r--
2017-08-30 11:05
gdfx.h
497
B
-rw-r--r--
2017-08-30 11:05
gdpp.h
50.94
KB
-rw-r--r--
2017-08-30 11:05
getopt.h
1.43
KB
-rw-r--r--
2026-07-21 14:46
gettext-po.h
15.17
KB
-rw-r--r--
2019-11-18 17:17
glob.h
6.46
KB
-rw-r--r--
2026-07-21 14:46
gnu-versions.h
2.29
KB
-rw-r--r--
2026-07-21 14:46
gnumake.h
2.84
KB
-rw-r--r--
2022-04-18 16:38
gpg-error.h
66.29
KB
-rw-r--r--
2019-10-12 12:20
gpgrt.h
66.29
KB
-rw-r--r--
2019-10-12 12:20
grp.h
6.53
KB
-rw-r--r--
2026-07-21 14:46
gshadow.h
4.42
KB
-rw-r--r--
2026-07-21 14:46
gssapi.h
181
B
-rw-r--r--
2026-05-13 06:34
iconv.h
1.81
KB
-rw-r--r--
2026-07-21 14:46
idn-free.h
2.41
KB
-rw-r--r--
2019-10-13 16:55
idn-int.h
20
B
-rw-r--r--
2019-10-13 16:55
idna.h
3.48
KB
-rw-r--r--
2019-10-13 16:55
ieee754.h
4.79
KB
-rw-r--r--
2026-07-21 14:46
ifaddrs.h
2.77
KB
-rw-r--r--
2026-07-21 14:46
inttypes.h
11.61
KB
-rw-r--r--
2026-07-21 14:46
jconfig-64.h
2.17
KB
-rw-r--r--
2025-05-14 12:43
jconfig.h
246
B
-rw-r--r--
2025-05-14 12:43
jerror.h
14.73
KB
-rw-r--r--
2025-05-14 12:43
jmorecfg.h
14.7
KB
-rw-r--r--
2025-05-14 12:43
jpegint.h
15.22
KB
-rw-r--r--
2025-05-14 12:43
jpeglib.h
48.71
KB
-rw-r--r--
2025-05-14 12:43
kdb.h
67.66
KB
-rw-r--r--
2026-05-13 06:34
keyutils.h
7.52
KB
-rw-r--r--
2021-10-08 13:50
krad.h
8.72
KB
-rw-r--r--
2026-05-13 06:34
krb5.h
402
B
-rw-r--r--
2026-05-13 06:34
langinfo.h
17.43
KB
-rw-r--r--
2026-07-21 14:46
lastlog.h
126
B
-rw-r--r--
2026-07-21 14:46
libaio.h
8.73
KB
-rw-r--r--
2019-11-13 13:59
libgen.h
1.35
KB
-rw-r--r--
2026-07-21 14:46
libintl.h
4.47
KB
-rw-r--r--
2026-07-21 14:46
liblsapi-sha1.h
1.46
KB
-rw-r--r--
2026-06-24 20:03
libssh2.h
52.82
KB
-rw-r--r--
2021-08-29 20:37
libssh2_publickey.h
4.69
KB
-rw-r--r--
2019-03-26 13:08
libssh2_sftp.h
15.39
KB
-rw-r--r--
2020-06-02 14:08
limits.h
5.29
KB
-rw-r--r--
2026-07-21 14:46
link.h
7.05
KB
-rw-r--r--
2026-07-21 14:46
locale.h
7.49
KB
-rw-r--r--
2026-07-21 14:46
lsapidef.h
4.85
KB
-rw-r--r--
2026-06-24 20:03
lscapi.h
25.74
KB
-rw-r--r--
2026-06-24 20:03
lscapi_config.h
599
B
-rw-r--r--
2026-06-24 20:03
ltdl.h
5.58
KB
-rw-r--r--
2019-10-11 14:55
lzma.h
9.59
KB
-rw-r--r--
2018-04-29 15:10
malloc.h
5.96
KB
-rw-r--r--
2026-07-21 14:46
math.h
52.07
KB
-rw-r--r--
2026-07-21 14:46
mcheck.h
2.38
KB
-rw-r--r--
2026-07-21 14:46
memory.h
955
B
-rw-r--r--
2026-07-21 14:46
menu.h
11.91
KB
-rw-r--r--
2023-10-14 18:54
mntent.h
3.28
KB
-rw-r--r--
2026-07-21 14:46
monetary.h
1.76
KB
-rw-r--r--
2026-07-21 14:46
mqueue.h
3.67
KB
-rw-r--r--
2026-07-21 14:46
nc_tparm.h
4.1
KB
-rw-r--r--
2023-10-14 18:54
ncurses.h
97.29
KB
-rw-r--r--
2023-10-14 18:54
ncurses_dll.h
4.18
KB
-rw-r--r--
2023-10-14 18:54
ndbm.h
2.4
KB
-rw-r--r--
2022-10-08 13:22
netdb.h
27.44
KB
-rw-r--r--
2026-07-21 14:46
nl_types.h
1.71
KB
-rw-r--r--
2026-07-21 14:46
nss.h
1.83
KB
-rw-r--r--
2026-07-21 14:46
obstack.h
20.81
KB
-rw-r--r--
2026-07-21 14:46
panel.h
4.03
KB
-rw-r--r--
2023-10-14 18:54
paths.h
2.91
KB
-rw-r--r--
2026-07-21 14:46
pcre.h
30.97
KB
-rw-r--r--
2021-10-08 19:17
pcre2.h
43.75
KB
-rw-r--r--
2022-08-02 16:07
pcre2posix.h
5.67
KB
-rw-r--r--
2022-08-02 16:07
pcre_scanner.h
6.45
KB
-rw-r--r--
2021-10-08 19:17
pcre_stringpiece.h
6.16
KB
-rw-r--r--
2021-10-08 19:17
pcrecpp.h
25.91
KB
-rw-r--r--
2021-10-08 19:17
pcrecpparg.h
6.62
KB
-rw-r--r--
2021-10-08 19:17
pcreposix.h
5.32
KB
-rw-r--r--
2021-10-08 19:17
png.h
140.77
KB
-rw-r--r--
2026-06-25 17:21
pngconf.h
22.31
KB
-rw-r--r--
2026-06-25 17:21
pnglibconf.h
7.39
KB
-rw-r--r--
2026-06-25 17:21
poll.h
22
B
-rw-r--r--
2026-07-21 14:46
pr29.h
2.07
KB
-rw-r--r--
2019-10-13 16:55
printf.h
6.64
KB
-rw-r--r--
2026-07-21 14:46
proc_service.h
3.39
KB
-rw-r--r--
2026-07-21 14:46
profile.h
11.87
KB
-rw-r--r--
2026-05-13 06:34
pthread.h
40.3
KB
-rw-r--r--
2026-07-21 14:46
pty.h
1.53
KB
-rw-r--r--
2026-07-21 14:46
punycode.h
9.16
KB
-rw-r--r--
2019-10-13 16:55
pwd.h
6.01
KB
-rw-r--r--
2026-07-21 14:46
re_comp.h
962
B
-rw-r--r--
2026-07-21 14:46
regex.h
24.14
KB
-rw-r--r--
2026-07-21 14:46
regexp.h
1.41
KB
-rw-r--r--
2026-07-21 14:46
resolv.h
11.87
KB
-rw-r--r--
2026-07-21 14:46
sched.h
4.62
KB
-rw-r--r--
2026-07-21 14:46
search.h
5.1
KB
-rw-r--r--
2026-07-21 14:46
semaphore.h
2.34
KB
-rw-r--r--
2026-07-21 14:46
setjmp.h
3.58
KB
-rw-r--r--
2026-07-21 14:46
sgtty.h
1.31
KB
-rw-r--r--
2026-07-21 14:46
shadow.h
5.34
KB
-rw-r--r--
2026-07-21 14:46
signal.h
11.96
KB
-rw-r--r--
2026-07-21 14:46
spawn.h
6.53
KB
-rw-r--r--
2026-07-21 14:46
stab.h
264
B
-rw-r--r--
2026-07-21 14:46
stdc-predef.h
2.24
KB
-rw-r--r--
2026-07-21 14:46
stdint.h
8.27
KB
-rw-r--r--
2026-07-21 14:46
stdio.h
29.46
KB
-rw-r--r--
2026-07-21 14:46
stdio_ext.h
2.73
KB
-rw-r--r--
2026-07-21 14:46
stdlib.h
34.82
KB
-rw-r--r--
2026-07-21 14:46
string.h
17.17
KB
-rw-r--r--
2026-07-21 14:46
stringprep.h
8.03
KB
-rw-r--r--
2019-10-13 16:55
strings.h
4.64
KB
-rw-r--r--
2026-07-21 14:46
syscall.h
25
B
-rw-r--r--
2026-07-21 14:46
sysexits.h
5.11
KB
-rw-r--r--
2026-07-21 14:46
syslog.h
24
B
-rw-r--r--
2026-07-21 14:46
tar.h
3.7
KB
-rw-r--r--
2026-07-21 14:46
term.h
40.22
KB
-rw-r--r--
2023-10-14 18:54
term_entry.h
8.55
KB
-rw-r--r--
2023-10-14 18:54
termcap.h
3.39
KB
-rw-r--r--
2023-10-14 18:54
termio.h
214
B
-rw-r--r--
2026-07-21 14:46
termios.h
3.51
KB
-rw-r--r--
2026-07-21 14:46
tgmath.h
30.75
KB
-rw-r--r--
2026-07-21 14:46
thread_db.h
15.65
KB
-rw-r--r--
2026-07-21 14:46
threads.h
6.5
KB
-rw-r--r--
2026-07-21 14:46
tic.h
13.32
KB
-rw-r--r--
2023-10-14 18:54
tiff.h
35.14
KB
-rw-r--r--
2026-07-29 01:45
tiffconf-64.h
3.35
KB
-rw-r--r--
2026-07-29 01:45
tiffconf.h
250
B
-rw-r--r--
2026-07-29 01:45
tiffio.h
22.68
KB
-rw-r--r--
2026-07-29 01:45
tiffio.hxx
1.66
KB
-rw-r--r--
2026-07-29 01:45
tiffvers.h
410
B
-rw-r--r--
2026-07-29 01:45
time.h
10.12
KB
-rw-r--r--
2026-07-21 14:46
tld.h
4.54
KB
-rw-r--r--
2019-10-13 16:55
ttyent.h
2.44
KB
-rw-r--r--
2026-07-21 14:46
uchar.h
1.95
KB
-rw-r--r--
2026-07-21 14:46
ucontext.h
1.99
KB
-rw-r--r--
2026-07-21 14:46
ulimit.h
1.55
KB
-rw-r--r--
2026-07-21 14:46
unctrl.h
3.03
KB
-rw-r--r--
2023-10-14 18:54
unistd.h
41.74
KB
-rw-r--r--
2026-07-21 14:46
utime.h
1.47
KB
-rw-r--r--
2026-07-21 14:46
utmp.h
3.15
KB
-rw-r--r--
2026-07-21 14:46
utmpx.h
4
KB
-rw-r--r--
2026-07-21 14:46
values.h
1.91
KB
-rw-r--r--
2026-07-21 14:46
verto-module.h
6.48
KB
-rw-r--r--
2022-10-08 07:49
verto.h
18.98
KB
-rw-r--r--
2022-10-08 07:49
wait.h
22
B
-rw-r--r--
2026-07-21 14:46
wchar.h
30.38
KB
-rw-r--r--
2026-07-21 14:46
wctype.h
5.42
KB
-rw-r--r--
2026-07-21 14:46
wordexp.h
2.44
KB
-rw-r--r--
2026-07-21 14:46
yaml.h
52.95
KB
-rw-r--r--
2016-08-28 23:56
zconf.h
15.88
KB
-rw-r--r--
2023-10-11 22:02
zlib.h
94
KB
-rw-r--r--
2023-10-11 22:02
Save
Rename
/* Copyright (c) 2004-2008, Sara Golemon <sarag@libssh2.org> * All rights reserved. * * Redistribution and use in source and binary forms, * with or without modification, are permitted provided * that the following conditions are met: * * Redistributions of source code must retain the above * copyright notice, this list of conditions and the * following disclaimer. * * Redistributions in binary form must reproduce the above * copyright notice, this list of conditions and the following * disclaimer in the documentation and/or other materials * provided with the distribution. * * Neither the name of the copyright holder nor the names * of any other contributors may be used to endorse or * promote products derived from this software without * specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. */ #ifndef LIBSSH2_SFTP_H #define LIBSSH2_SFTP_H 1 #include "libssh2.h" #ifndef WIN32 #include <unistd.h> #endif #ifdef __cplusplus extern "C" { #endif /* Note: Version 6 was documented at the time of writing * However it was marked as "DO NOT IMPLEMENT" due to pending changes * * Let's start with Version 3 (The version found in OpenSSH) and go from there */ #define LIBSSH2_SFTP_VERSION 3 typedef struct _LIBSSH2_SFTP LIBSSH2_SFTP; typedef struct _LIBSSH2_SFTP_HANDLE LIBSSH2_SFTP_HANDLE; typedef struct _LIBSSH2_SFTP_ATTRIBUTES LIBSSH2_SFTP_ATTRIBUTES; typedef struct _LIBSSH2_SFTP_STATVFS LIBSSH2_SFTP_STATVFS; /* Flags for open_ex() */ #define LIBSSH2_SFTP_OPENFILE 0 #define LIBSSH2_SFTP_OPENDIR 1 /* Flags for rename_ex() */ #define LIBSSH2_SFTP_RENAME_OVERWRITE 0x00000001 #define LIBSSH2_SFTP_RENAME_ATOMIC 0x00000002 #define LIBSSH2_SFTP_RENAME_NATIVE 0x00000004 /* Flags for stat_ex() */ #define LIBSSH2_SFTP_STAT 0 #define LIBSSH2_SFTP_LSTAT 1 #define LIBSSH2_SFTP_SETSTAT 2 /* Flags for symlink_ex() */ #define LIBSSH2_SFTP_SYMLINK 0 #define LIBSSH2_SFTP_READLINK 1 #define LIBSSH2_SFTP_REALPATH 2 /* Flags for sftp_mkdir() */ #define LIBSSH2_SFTP_DEFAULT_MODE -1 /* SFTP attribute flag bits */ #define LIBSSH2_SFTP_ATTR_SIZE 0x00000001 #define LIBSSH2_SFTP_ATTR_UIDGID 0x00000002 #define LIBSSH2_SFTP_ATTR_PERMISSIONS 0x00000004 #define LIBSSH2_SFTP_ATTR_ACMODTIME 0x00000008 #define LIBSSH2_SFTP_ATTR_EXTENDED 0x80000000 /* SFTP statvfs flag bits */ #define LIBSSH2_SFTP_ST_RDONLY 0x00000001 #define LIBSSH2_SFTP_ST_NOSUID 0x00000002 struct _LIBSSH2_SFTP_ATTRIBUTES { /* If flags & ATTR_* bit is set, then the value in this struct will be * meaningful Otherwise it should be ignored */ unsigned long flags; libssh2_uint64_t filesize; unsigned long uid, gid; unsigned long permissions; unsigned long atime, mtime; }; struct _LIBSSH2_SFTP_STATVFS { libssh2_uint64_t f_bsize; /* file system block size */ libssh2_uint64_t f_frsize; /* fragment size */ libssh2_uint64_t f_blocks; /* size of fs in f_frsize units */ libssh2_uint64_t f_bfree; /* # free blocks */ libssh2_uint64_t f_bavail; /* # free blocks for non-root */ libssh2_uint64_t f_files; /* # inodes */ libssh2_uint64_t f_ffree; /* # free inodes */ libssh2_uint64_t f_favail; /* # free inodes for non-root */ libssh2_uint64_t f_fsid; /* file system ID */ libssh2_uint64_t f_flag; /* mount flags */ libssh2_uint64_t f_namemax; /* maximum filename length */ }; /* SFTP filetypes */ #define LIBSSH2_SFTP_TYPE_REGULAR 1 #define LIBSSH2_SFTP_TYPE_DIRECTORY 2 #define LIBSSH2_SFTP_TYPE_SYMLINK 3 #define LIBSSH2_SFTP_TYPE_SPECIAL 4 #define LIBSSH2_SFTP_TYPE_UNKNOWN 5 #define LIBSSH2_SFTP_TYPE_SOCKET 6 #define LIBSSH2_SFTP_TYPE_CHAR_DEVICE 7 #define LIBSSH2_SFTP_TYPE_BLOCK_DEVICE 8 #define LIBSSH2_SFTP_TYPE_FIFO 9 /* * Reproduce the POSIX file modes here for systems that are not POSIX * compliant. * * These is used in "permissions" of "struct _LIBSSH2_SFTP_ATTRIBUTES" */ /* File type */ #define LIBSSH2_SFTP_S_IFMT 0170000 /* type of file mask */ #define LIBSSH2_SFTP_S_IFIFO 0010000 /* named pipe (fifo) */ #define LIBSSH2_SFTP_S_IFCHR 0020000 /* character special */ #define LIBSSH2_SFTP_S_IFDIR 0040000 /* directory */ #define LIBSSH2_SFTP_S_IFBLK 0060000 /* block special */ #define LIBSSH2_SFTP_S_IFREG 0100000 /* regular */ #define LIBSSH2_SFTP_S_IFLNK 0120000 /* symbolic link */ #define LIBSSH2_SFTP_S_IFSOCK 0140000 /* socket */ /* File mode */ /* Read, write, execute/search by owner */ #define LIBSSH2_SFTP_S_IRWXU 0000700 /* RWX mask for owner */ #define LIBSSH2_SFTP_S_IRUSR 0000400 /* R for owner */ #define LIBSSH2_SFTP_S_IWUSR 0000200 /* W for owner */ #define LIBSSH2_SFTP_S_IXUSR 0000100 /* X for owner */ /* Read, write, execute/search by group */ #define LIBSSH2_SFTP_S_IRWXG 0000070 /* RWX mask for group */ #define LIBSSH2_SFTP_S_IRGRP 0000040 /* R for group */ #define LIBSSH2_SFTP_S_IWGRP 0000020 /* W for group */ #define LIBSSH2_SFTP_S_IXGRP 0000010 /* X for group */ /* Read, write, execute/search by others */ #define LIBSSH2_SFTP_S_IRWXO 0000007 /* RWX mask for other */ #define LIBSSH2_SFTP_S_IROTH 0000004 /* R for other */ #define LIBSSH2_SFTP_S_IWOTH 0000002 /* W for other */ #define LIBSSH2_SFTP_S_IXOTH 0000001 /* X for other */ /* macros to check for specific file types, added in 1.2.5 */ #define LIBSSH2_SFTP_S_ISLNK(m) \ (((m) & LIBSSH2_SFTP_S_IFMT) == LIBSSH2_SFTP_S_IFLNK) #define LIBSSH2_SFTP_S_ISREG(m) \ (((m) & LIBSSH2_SFTP_S_IFMT) == LIBSSH2_SFTP_S_IFREG) #define LIBSSH2_SFTP_S_ISDIR(m) \ (((m) & LIBSSH2_SFTP_S_IFMT) == LIBSSH2_SFTP_S_IFDIR) #define LIBSSH2_SFTP_S_ISCHR(m) \ (((m) & LIBSSH2_SFTP_S_IFMT) == LIBSSH2_SFTP_S_IFCHR) #define LIBSSH2_SFTP_S_ISBLK(m) \ (((m) & LIBSSH2_SFTP_S_IFMT) == LIBSSH2_SFTP_S_IFBLK) #define LIBSSH2_SFTP_S_ISFIFO(m) \ (((m) & LIBSSH2_SFTP_S_IFMT) == LIBSSH2_SFTP_S_IFIFO) #define LIBSSH2_SFTP_S_ISSOCK(m) \ (((m) & LIBSSH2_SFTP_S_IFMT) == LIBSSH2_SFTP_S_IFSOCK) /* SFTP File Transfer Flags -- (e.g. flags parameter to sftp_open()) * Danger will robinson... APPEND doesn't have any effect on OpenSSH servers */ #define LIBSSH2_FXF_READ 0x00000001 #define LIBSSH2_FXF_WRITE 0x00000002 #define LIBSSH2_FXF_APPEND 0x00000004 #define LIBSSH2_FXF_CREAT 0x00000008 #define LIBSSH2_FXF_TRUNC 0x00000010 #define LIBSSH2_FXF_EXCL 0x00000020 /* SFTP Status Codes (returned by libssh2_sftp_last_error() ) */ #define LIBSSH2_FX_OK 0UL #define LIBSSH2_FX_EOF 1UL #define LIBSSH2_FX_NO_SUCH_FILE 2UL #define LIBSSH2_FX_PERMISSION_DENIED 3UL #define LIBSSH2_FX_FAILURE 4UL #define LIBSSH2_FX_BAD_MESSAGE 5UL #define LIBSSH2_FX_NO_CONNECTION 6UL #define LIBSSH2_FX_CONNECTION_LOST 7UL #define LIBSSH2_FX_OP_UNSUPPORTED 8UL #define LIBSSH2_FX_INVALID_HANDLE 9UL #define LIBSSH2_FX_NO_SUCH_PATH 10UL #define LIBSSH2_FX_FILE_ALREADY_EXISTS 11UL #define LIBSSH2_FX_WRITE_PROTECT 12UL #define LIBSSH2_FX_NO_MEDIA 13UL #define LIBSSH2_FX_NO_SPACE_ON_FILESYSTEM 14UL #define LIBSSH2_FX_QUOTA_EXCEEDED 15UL #define LIBSSH2_FX_UNKNOWN_PRINCIPLE 16UL /* Initial mis-spelling */ #define LIBSSH2_FX_UNKNOWN_PRINCIPAL 16UL #define LIBSSH2_FX_LOCK_CONFlICT 17UL /* Initial mis-spelling */ #define LIBSSH2_FX_LOCK_CONFLICT 17UL #define LIBSSH2_FX_DIR_NOT_EMPTY 18UL #define LIBSSH2_FX_NOT_A_DIRECTORY 19UL #define LIBSSH2_FX_INVALID_FILENAME 20UL #define LIBSSH2_FX_LINK_LOOP 21UL /* Returned by any function that would block during a read/write operation */ #define LIBSSH2SFTP_EAGAIN LIBSSH2_ERROR_EAGAIN /* SFTP API */ LIBSSH2_API LIBSSH2_SFTP *libssh2_sftp_init(LIBSSH2_SESSION *session); LIBSSH2_API int libssh2_sftp_shutdown(LIBSSH2_SFTP *sftp); LIBSSH2_API unsigned long libssh2_sftp_last_error(LIBSSH2_SFTP *sftp); LIBSSH2_API LIBSSH2_CHANNEL *libssh2_sftp_get_channel(LIBSSH2_SFTP *sftp); /* File / Directory Ops */ LIBSSH2_API LIBSSH2_SFTP_HANDLE * libssh2_sftp_open_ex(LIBSSH2_SFTP *sftp, const char *filename, unsigned int filename_len, unsigned long flags, long mode, int open_type); #define libssh2_sftp_open(sftp, filename, flags, mode) \ libssh2_sftp_open_ex((sftp), (filename), strlen(filename), (flags), \ (mode), LIBSSH2_SFTP_OPENFILE) #define libssh2_sftp_opendir(sftp, path) \ libssh2_sftp_open_ex((sftp), (path), strlen(path), 0, 0, \ LIBSSH2_SFTP_OPENDIR) LIBSSH2_API ssize_t libssh2_sftp_read(LIBSSH2_SFTP_HANDLE *handle, char *buffer, size_t buffer_maxlen); LIBSSH2_API int libssh2_sftp_readdir_ex(LIBSSH2_SFTP_HANDLE *handle, \ char *buffer, size_t buffer_maxlen, char *longentry, size_t longentry_maxlen, LIBSSH2_SFTP_ATTRIBUTES *attrs); #define libssh2_sftp_readdir(handle, buffer, buffer_maxlen, attrs) \ libssh2_sftp_readdir_ex((handle), (buffer), (buffer_maxlen), NULL, 0, \ (attrs)) LIBSSH2_API ssize_t libssh2_sftp_write(LIBSSH2_SFTP_HANDLE *handle, const char *buffer, size_t count); LIBSSH2_API int libssh2_sftp_fsync(LIBSSH2_SFTP_HANDLE *handle); LIBSSH2_API int libssh2_sftp_close_handle(LIBSSH2_SFTP_HANDLE *handle); #define libssh2_sftp_close(handle) libssh2_sftp_close_handle(handle) #define libssh2_sftp_closedir(handle) libssh2_sftp_close_handle(handle) LIBSSH2_API void libssh2_sftp_seek(LIBSSH2_SFTP_HANDLE *handle, size_t offset); LIBSSH2_API void libssh2_sftp_seek64(LIBSSH2_SFTP_HANDLE *handle, libssh2_uint64_t offset); #define libssh2_sftp_rewind(handle) libssh2_sftp_seek64((handle), 0) LIBSSH2_API size_t libssh2_sftp_tell(LIBSSH2_SFTP_HANDLE *handle); LIBSSH2_API libssh2_uint64_t libssh2_sftp_tell64(LIBSSH2_SFTP_HANDLE *handle); LIBSSH2_API int libssh2_sftp_fstat_ex(LIBSSH2_SFTP_HANDLE *handle, LIBSSH2_SFTP_ATTRIBUTES *attrs, int setstat); #define libssh2_sftp_fstat(handle, attrs) \ libssh2_sftp_fstat_ex((handle), (attrs), 0) #define libssh2_sftp_fsetstat(handle, attrs) \ libssh2_sftp_fstat_ex((handle), (attrs), 1) /* Miscellaneous Ops */ LIBSSH2_API int libssh2_sftp_rename_ex(LIBSSH2_SFTP *sftp, const char *source_filename, unsigned int srouce_filename_len, const char *dest_filename, unsigned int dest_filename_len, long flags); #define libssh2_sftp_rename(sftp, sourcefile, destfile) \ libssh2_sftp_rename_ex((sftp), (sourcefile), strlen(sourcefile), \ (destfile), strlen(destfile), \ LIBSSH2_SFTP_RENAME_OVERWRITE | \ LIBSSH2_SFTP_RENAME_ATOMIC | \ LIBSSH2_SFTP_RENAME_NATIVE) LIBSSH2_API int libssh2_sftp_unlink_ex(LIBSSH2_SFTP *sftp, const char *filename, unsigned int filename_len); #define libssh2_sftp_unlink(sftp, filename) \ libssh2_sftp_unlink_ex((sftp), (filename), strlen(filename)) LIBSSH2_API int libssh2_sftp_fstatvfs(LIBSSH2_SFTP_HANDLE *handle, LIBSSH2_SFTP_STATVFS *st); LIBSSH2_API int libssh2_sftp_statvfs(LIBSSH2_SFTP *sftp, const char *path, size_t path_len, LIBSSH2_SFTP_STATVFS *st); LIBSSH2_API int libssh2_sftp_mkdir_ex(LIBSSH2_SFTP *sftp, const char *path, unsigned int path_len, long mode); #define libssh2_sftp_mkdir(sftp, path, mode) \ libssh2_sftp_mkdir_ex((sftp), (path), strlen(path), (mode)) LIBSSH2_API int libssh2_sftp_rmdir_ex(LIBSSH2_SFTP *sftp, const char *path, unsigned int path_len); #define libssh2_sftp_rmdir(sftp, path) \ libssh2_sftp_rmdir_ex((sftp), (path), strlen(path)) LIBSSH2_API int libssh2_sftp_stat_ex(LIBSSH2_SFTP *sftp, const char *path, unsigned int path_len, int stat_type, LIBSSH2_SFTP_ATTRIBUTES *attrs); #define libssh2_sftp_stat(sftp, path, attrs) \ libssh2_sftp_stat_ex((sftp), (path), strlen(path), LIBSSH2_SFTP_STAT, \ (attrs)) #define libssh2_sftp_lstat(sftp, path, attrs) \ libssh2_sftp_stat_ex((sftp), (path), strlen(path), LIBSSH2_SFTP_LSTAT, \ (attrs)) #define libssh2_sftp_setstat(sftp, path, attrs) \ libssh2_sftp_stat_ex((sftp), (path), strlen(path), LIBSSH2_SFTP_SETSTAT, \ (attrs)) LIBSSH2_API int libssh2_sftp_symlink_ex(LIBSSH2_SFTP *sftp, const char *path, unsigned int path_len, char *target, unsigned int target_len, int link_type); #define libssh2_sftp_symlink(sftp, orig, linkpath) \ libssh2_sftp_symlink_ex((sftp), (orig), strlen(orig), (linkpath), \ strlen(linkpath), LIBSSH2_SFTP_SYMLINK) #define libssh2_sftp_readlink(sftp, path, target, maxlen) \ libssh2_sftp_symlink_ex((sftp), (path), strlen(path), (target), (maxlen), \ LIBSSH2_SFTP_READLINK) #define libssh2_sftp_realpath(sftp, path, target, maxlen) \ libssh2_sftp_symlink_ex((sftp), (path), strlen(path), (target), (maxlen), \ LIBSSH2_SFTP_REALPATH) #ifdef __cplusplus } /* extern "C" */ #endif #endif /* LIBSSH2_SFTP_H */