Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
include /
Delete
Unzip
Name
Size
Permission
Date
Action
arpa
[ DIR ]
drwxr-xr-x
2021-05-15 07:08
asm-generic
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
btrfs
[ DIR ]
drwxr-xr-x
2019-09-03 13:14
c++
[ DIR ]
drwxr-xr-x
2017-10-05 13:54
drm
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
linux
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
misc
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
mtd
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
net
[ DIR ]
drwxr-xr-x
2021-05-15 07:08
netash
[ DIR ]
drwxr-xr-x
2021-05-15 07:08
netatalk
[ DIR ]
drwxr-xr-x
2021-05-15 07:08
netax25
[ DIR ]
drwxr-xr-x
2021-05-15 07:08
neteconet
[ DIR ]
drwxr-xr-x
2021-05-15 07:08
netinet
[ DIR ]
drwxr-xr-x
2021-05-15 07:08
netipx
[ DIR ]
drwxr-xr-x
2021-05-15 07:08
netiucv
[ DIR ]
drwxr-xr-x
2021-05-15 07:08
netpacket
[ DIR ]
drwxr-xr-x
2021-05-15 07:08
netrom
[ DIR ]
drwxr-xr-x
2021-05-15 07:08
netrose
[ DIR ]
drwxr-xr-x
2021-05-15 07:08
nfs
[ DIR ]
drwxr-xr-x
2021-05-15 07:08
openvpn
[ DIR ]
drwxr-xr-x
2019-09-03 13:14
php
[ DIR ]
drwxr-xr-x
2021-02-25 12:36
protocols
[ DIR ]
drwxr-xr-x
2021-05-15 07:08
rdma
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
reglib
[ DIR ]
drwxr-xr-x
2016-11-15 23:07
rpc
[ DIR ]
drwxr-xr-x
2021-05-15 07:08
rpcsvc
[ DIR ]
drwxr-xr-x
2021-05-15 07:08
scsi
[ DIR ]
drwxr-xr-x
2021-05-15 07:08
sound
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
uapi
[ DIR ]
drwxr-xr-x
2017-09-12 19:55
video
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
x86_64-linux-gnu
[ DIR ]
drwxr-xr-x
2021-05-15 07:08
xen
[ DIR ]
drwxr-xr-x
2021-04-21 07:31
xfs
[ DIR ]
drwxr-xr-x
2016-02-16 14:18
_G_config.h
1.26
KB
-rw-r--r--
2021-04-21 20:11
aio.h
7.27
KB
-rw-r--r--
2021-04-21 20:11
aliases.h
1.98
KB
-rw-r--r--
2021-04-21 20:11
alloca.h
1.17
KB
-rw-r--r--
2021-04-21 20:11
ar.h
1.69
KB
-rw-r--r--
2021-04-21 20:11
argp.h
24.71
KB
-rw-r--r--
2021-04-21 20:11
argz.h
6.95
KB
-rw-r--r--
2021-04-21 20:11
assert.h
3.5
KB
-rw-r--r--
2021-04-21 20:11
byteswap.h
1.37
KB
-rw-r--r--
2021-04-21 20:11
cifsidmap.h
6
KB
-rw-r--r--
2017-03-06 14:02
complex.h
3.56
KB
-rw-r--r--
2021-04-21 20:11
cpio.h
2.21
KB
-rw-r--r--
2021-04-21 20:11
crypt.h
2.21
KB
-rw-r--r--
2021-04-21 20:11
ctype.h
11.38
KB
-rw-r--r--
2021-04-21 20:11
dirent.h
12.12
KB
-rw-r--r--
2021-04-21 20:11
dlfcn.h
6.85
KB
-rw-r--r--
2021-04-21 20:11
elf.h
154.74
KB
-rw-r--r--
2021-04-21 20:11
endian.h
2.87
KB
-rw-r--r--
2021-04-21 20:11
envz.h
2.8
KB
-rw-r--r--
2021-04-21 20:11
err.h
2.16
KB
-rw-r--r--
2021-04-21 20:11
errno.h
2.31
KB
-rw-r--r--
2021-04-21 20:11
error.h
1.99
KB
-rw-r--r--
2021-04-21 20:11
execinfo.h
1.49
KB
-rw-r--r--
2021-04-21 20:11
fcntl.h
9.22
KB
-rw-r--r--
2021-04-21 20:11
features.h
12.9
KB
-rw-r--r--
2021-04-21 20:11
fenv.h
4.5
KB
-rw-r--r--
2021-04-21 20:11
fmtmsg.h
3.16
KB
-rw-r--r--
2021-04-21 20:11
fnmatch.h
2.24
KB
-rw-r--r--
2021-04-21 20:11
fstab.h
3.04
KB
-rw-r--r--
2021-04-21 20:11
fts.h
8.12
KB
-rw-r--r--
2021-04-21 20:11
ftw.h
5.13
KB
-rw-r--r--
2021-04-21 20:11
gawkapi.h
30.2
KB
-rw-r--r--
2015-12-24 00:11
gconv.h
4.31
KB
-rw-r--r--
2021-04-21 20:11
getopt.h
6.49
KB
-rw-r--r--
2021-04-21 20:11
glob.h
6.45
KB
-rw-r--r--
2021-04-21 20:11
gnu-versions.h
2.29
KB
-rw-r--r--
2021-04-21 20:11
gnumake.h
2.84
KB
-rw-r--r--
2016-02-15 12:13
grp.h
6.54
KB
-rw-r--r--
2021-04-21 20:11
gshadow.h
4.43
KB
-rw-r--r--
2021-04-21 20:11
iconv.h
1.81
KB
-rw-r--r--
2021-04-21 20:11
ifaddrs.h
2.77
KB
-rw-r--r--
2021-04-21 20:11
inttypes.h
11.61
KB
-rw-r--r--
2021-04-21 20:11
langinfo.h
15.55
KB
-rw-r--r--
2021-04-21 20:11
lastlog.h
126
B
-rw-r--r--
2021-04-21 20:11
libgen.h
1.35
KB
-rw-r--r--
2021-04-21 20:11
libintl.h
4.47
KB
-rw-r--r--
2021-04-21 20:11
libio.h
16.78
KB
-rw-r--r--
2021-04-21 20:11
limits.h
4.38
KB
-rw-r--r--
2021-04-21 20:11
link.h
7.04
KB
-rw-r--r--
2021-04-21 20:11
locale.h
7.75
KB
-rw-r--r--
2021-04-21 20:11
malloc.h
6.09
KB
-rw-r--r--
2021-04-21 20:11
math.h
17.94
KB
-rw-r--r--
2021-04-21 20:11
mcheck.h
2.38
KB
-rw-r--r--
2021-04-21 20:11
memory.h
955
B
-rw-r--r--
2021-04-21 20:11
mntent.h
3.29
KB
-rw-r--r--
2021-04-21 20:11
monetary.h
1.69
KB
-rw-r--r--
2021-04-21 20:11
mqueue.h
3.69
KB
-rw-r--r--
2021-04-21 20:11
netdb.h
27.4
KB
-rw-r--r--
2021-04-21 20:11
nl_types.h
1.71
KB
-rw-r--r--
2021-04-21 20:11
nss.h
1.83
KB
-rw-r--r--
2021-04-21 20:11
obstack.h
20.81
KB
-rw-r--r--
2021-04-21 20:11
paths.h
2.91
KB
-rw-r--r--
2021-04-21 20:11
poll.h
22
B
-rw-r--r--
2021-04-21 20:11
printf.h
6.54
KB
-rw-r--r--
2021-04-21 20:11
pthread.h
40.26
KB
-rw-r--r--
2021-04-21 20:11
pty.h
1.53
KB
-rw-r--r--
2021-04-21 20:11
pwd.h
5.9
KB
-rw-r--r--
2021-04-21 20:11
re_comp.h
962
B
-rw-r--r--
2021-04-21 20:11
regex.h
21.53
KB
-rw-r--r--
2021-04-21 20:11
regexp.h
1.41
KB
-rw-r--r--
2021-04-21 20:11
resolv.h
14.51
KB
-rw-r--r--
2021-04-21 20:11
sched.h
4.55
KB
-rw-r--r--
2021-04-21 20:11
search.h
5.1
KB
-rw-r--r--
2021-04-21 20:11
semaphore.h
2.35
KB
-rw-r--r--
2021-04-21 20:11
setjmp.h
3.69
KB
-rw-r--r--
2021-04-21 20:11
sgtty.h
1.31
KB
-rw-r--r--
2021-04-21 20:11
shadow.h
5.08
KB
-rw-r--r--
2021-04-21 20:11
signal.h
11.93
KB
-rw-r--r--
2021-04-21 20:11
spawn.h
6.51
KB
-rw-r--r--
2021-04-21 20:11
stab.h
264
B
-rw-r--r--
2021-04-21 20:11
stdc-predef.h
2.18
KB
-rw-r--r--
2021-04-21 20:11
stdint.h
7.9
KB
-rw-r--r--
2021-04-21 20:11
stdio.h
30.63
KB
-rw-r--r--
2021-04-21 20:11
stdio_ext.h
2.73
KB
-rw-r--r--
2021-04-21 20:11
stdlib.h
32.9
KB
-rw-r--r--
2021-04-21 20:11
string.h
22.13
KB
-rw-r--r--
2021-04-21 20:11
strings.h
4.51
KB
-rw-r--r--
2021-04-21 20:11
stropts.h
2.98
KB
-rw-r--r--
2021-04-21 20:11
sudo_plugin.h
7.83
KB
-rw-r--r--
2021-01-20 18:08
syscall.h
25
B
-rw-r--r--
2021-04-21 20:11
sysexits.h
5.11
KB
-rw-r--r--
2021-04-21 20:11
syslog.h
24
B
-rw-r--r--
2021-04-21 20:11
tar.h
3.7
KB
-rw-r--r--
2021-04-21 20:11
termio.h
214
B
-rw-r--r--
2021-04-21 20:11
termios.h
3.5
KB
-rw-r--r--
2021-04-21 20:11
tgmath.h
18.03
KB
-rw-r--r--
2021-04-21 20:11
thread_db.h
15.64
KB
-rw-r--r--
2021-04-21 20:11
time.h
13.23
KB
-rw-r--r--
2021-04-21 20:11
ttyent.h
2.44
KB
-rw-r--r--
2021-04-21 20:11
uchar.h
2.42
KB
-rw-r--r--
2021-04-21 20:11
ucontext.h
1.89
KB
-rw-r--r--
2021-04-21 20:11
ulimit.h
1.55
KB
-rw-r--r--
2021-04-21 20:11
unistd.h
41.11
KB
-rw-r--r--
2021-04-21 20:11
ustat.h
23
B
-rw-r--r--
2021-04-21 20:11
utime.h
1.48
KB
-rw-r--r--
2021-04-21 20:11
utmp.h
3.15
KB
-rw-r--r--
2021-04-21 20:11
utmpx.h
4
KB
-rw-r--r--
2021-04-21 20:11
values.h
1.91
KB
-rw-r--r--
2021-04-21 20:11
wait.h
22
B
-rw-r--r--
2021-04-21 20:11
wchar.h
31.37
KB
-rw-r--r--
2021-04-21 20:11
wctype.h
10.87
KB
-rw-r--r--
2021-04-21 20:11
wordexp.h
2.44
KB
-rw-r--r--
2021-04-21 20:11
xlocale.h
1.65
KB
-rw-r--r--
2021-04-21 20:11
Save
Rename
/* * Copyright (c) 2009-2016 Todd C. Miller <Todd.Miller@courtesan.com> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #ifndef SUDO_PLUGIN_H #define SUDO_PLUGIN_H /* API version major/minor */ #define SUDO_API_VERSION_MAJOR 1 #define SUDO_API_VERSION_MINOR 9 #define SUDO_API_MKVERSION(x, y) (((x) << 16) | (y)) #define SUDO_API_VERSION SUDO_API_MKVERSION(SUDO_API_VERSION_MAJOR, SUDO_API_VERSION_MINOR) /* Getters and setters for plugin API versions */ #define SUDO_API_VERSION_GET_MAJOR(v) ((v) >> 16) #define SUDO_API_VERSION_GET_MINOR(v) ((v) & 0xffffU) #define SUDO_API_VERSION_SET_MAJOR(vp, n) do { \ *(vp) = (*(vp) & 0x0000ffffU) | ((n) << 16); \ } while(0) #define SUDO_API_VERSION_SET_MINOR(vp, n) do { \ *(vp) = (*(vp) & 0xffff0000U) | (n); \ } while(0) /* Conversation function types and defines */ struct sudo_conv_message { #define SUDO_CONV_PROMPT_ECHO_OFF 0x0001 /* do not echo user input */ #define SUDO_CONV_PROMPT_ECHO_ON 0x0002 /* echo user input */ #define SUDO_CONV_ERROR_MSG 0x0003 /* error message */ #define SUDO_CONV_INFO_MSG 0x0004 /* informational message */ #define SUDO_CONV_PROMPT_MASK 0x0005 /* mask user input */ #define SUDO_CONV_PROMPT_ECHO_OK 0x1000 /* flag: allow echo if no tty */ int msg_type; int timeout; const char *msg; }; /* * Maximum length of a reply (not including the trailing NUL) when * conversing with the user. In practical terms, this is the longest * password sudo will support. This means that a buffer of size * SUDO_CONV_REPL_MAX+1 is guaranteed to be able to hold any reply * from the conversation function. It is also useful as a max value * for memset_s() when clearing passwords returned by the conversation * function. */ #define SUDO_CONV_REPL_MAX 255 struct sudo_conv_reply { char *reply; }; /* Conversation callback API version major/minor */ #define SUDO_CONV_CALLBACK_VERSION_MAJOR 1 #define SUDO_CONV_CALLBACK_VERSION_MINOR 0 #define SUDO_CONV_CALLBACK_VERSION SUDO_API_MKVERSION(SUDO_CONV_CALLBACK_VERSION_MAJOR, SUDO_CONV_CALLBACK_VERSION_MINOR) /* * Callback struct to be passed to the conversation function. * Can be used to perform operations on suspend/resume such * as dropping/acquiring locks. */ typedef int (*sudo_conv_callback_fn_t)(int signo, void *closure); struct sudo_conv_callback { unsigned int version; void *closure; sudo_conv_callback_fn_t on_suspend; sudo_conv_callback_fn_t on_resume; }; typedef int (*sudo_conv_t)(int num_msgs, const struct sudo_conv_message msgs[], struct sudo_conv_reply replies[], struct sudo_conv_callback *callback); typedef int (*sudo_printf_t)(int msg_type, const char *fmt, ...); /* * Hooks allow a plugin to hook into specific sudo and/or libc functions. */ /* Hook functions typedefs. */ typedef int (*sudo_hook_fn_t)(); typedef int (*sudo_hook_fn_setenv_t)(const char *name, const char *value, int overwrite, void *closure); typedef int (*sudo_hook_fn_putenv_t)(char *string, void *closure); typedef int (*sudo_hook_fn_getenv_t)(const char *name, char **value, void *closure); typedef int (*sudo_hook_fn_unsetenv_t)(const char *name, void *closure); /* Hook structure definition. */ struct sudo_hook { unsigned int hook_version; unsigned int hook_type; sudo_hook_fn_t hook_fn; void *closure; }; /* Hook API version major/minor */ #define SUDO_HOOK_VERSION_MAJOR 1 #define SUDO_HOOK_VERSION_MINOR 0 #define SUDO_HOOK_VERSION SUDO_API_MKVERSION(SUDO_HOOK_VERSION_MAJOR, SUDO_HOOK_VERSION_MINOR) /* * Hook function return values. */ #define SUDO_HOOK_RET_ERROR -1 /* error */ #define SUDO_HOOK_RET_NEXT 0 /* go to the next hook in the list */ #define SUDO_HOOK_RET_STOP 1 /* stop hook processing for this type */ /* * Hooks for setenv/unsetenv/putenv/getenv. * This allows the plugin to be notified when a PAM module modifies * the environment so it can update the copy of the environment that * is passed to execve(). */ #define SUDO_HOOK_SETENV 1 #define SUDO_HOOK_UNSETENV 2 #define SUDO_HOOK_PUTENV 3 #define SUDO_HOOK_GETENV 4 /* Policy plugin type and defines */ struct passwd; struct policy_plugin { #define SUDO_POLICY_PLUGIN 1 unsigned int type; /* always SUDO_POLICY_PLUGIN */ unsigned int version; /* always SUDO_API_VERSION */ int (*open)(unsigned int version, sudo_conv_t conversation, sudo_printf_t sudo_printf, char * const settings[], char * const user_info[], char * const user_env[], char * const plugin_plugins[]); void (*close)(int exit_status, int error); /* wait status or error */ int (*show_version)(int verbose); int (*check_policy)(int argc, char * const argv[], char *env_add[], char **command_info[], char **argv_out[], char **user_env_out[]); int (*list)(int argc, char * const argv[], int verbose, const char *list_user); int (*validate)(void); void (*invalidate)(int remove); int (*init_session)(struct passwd *pwd, char **user_env_out[]); void (*register_hooks)(int version, int (*register_hook)(struct sudo_hook *hook)); void (*deregister_hooks)(int version, int (*deregister_hook)(struct sudo_hook *hook)); }; /* I/O plugin type and defines */ struct io_plugin { #define SUDO_IO_PLUGIN 2 unsigned int type; /* always SUDO_IO_PLUGIN */ unsigned int version; /* always SUDO_API_VERSION */ int (*open)(unsigned int version, sudo_conv_t conversation, sudo_printf_t sudo_printf, char * const settings[], char * const user_info[], char * const command_info[], int argc, char * const argv[], char * const user_env[], char * const plugin_plugins[]); void (*close)(int exit_status, int error); /* wait status or error */ int (*show_version)(int verbose); int (*log_ttyin)(const char *buf, unsigned int len); int (*log_ttyout)(const char *buf, unsigned int len); int (*log_stdin)(const char *buf, unsigned int len); int (*log_stdout)(const char *buf, unsigned int len); int (*log_stderr)(const char *buf, unsigned int len); void (*register_hooks)(int version, int (*register_hook)(struct sudo_hook *hook)); void (*deregister_hooks)(int version, int (*deregister_hook)(struct sudo_hook *hook)); }; /* Sudoers group plugin version major/minor */ #define GROUP_API_VERSION_MAJOR 1 #define GROUP_API_VERSION_MINOR 0 #define GROUP_API_VERSION SUDO_API_MKVERSION(GROUP_API_VERSION_MAJOR, GROUP_API_VERSION_MINOR) /* Getters and setters for group version (for source compat only) */ #define GROUP_API_VERSION_GET_MAJOR(v) SUDO_API_VERSION_GET_MAJOR(v) #define GROUP_API_VERSION_GET_MINOR(v) SUDO_API_VERSION_GET_MINOR(v) #define GROUP_API_VERSION_SET_MAJOR(vp, n) SUDO_API_VERSION_SET_MAJOR(vp, n) #define GROUP_API_VERSION_SET_MINOR(vp, n) SUDO_API_VERSION_SET_MINOR(vp, n) /* * version: for compatibility checking * group_init: return 1 on success, 0 if unconfigured, -1 on error. * group_cleanup: called to clean up resources used by provider * user_in_group: returns 1 if user is in group, 0 if not. * note that pwd may be NULL if the user is not in passwd. */ struct sudoers_group_plugin { unsigned int version; int (*init)(int version, sudo_printf_t sudo_printf, char *const argv[]); void (*cleanup)(void); int (*query)(const char *user, const char *group, const struct passwd *pwd); }; #endif /* SUDO_PLUGIN_H */