Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 3.145.45.223
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
include /
[ HOME SHELL ]
Name
Size
Permission
Action
GL
[ DIR ]
drwxr-xr-x
OpenEXR
[ DIR ]
drwxr-xr-x
X11
[ DIR ]
drwxr-xr-x
arpa
[ DIR ]
drwxr-xr-x
asm-generic
[ DIR ]
drwxr-xr-x
btrfs
[ DIR ]
drwxr-xr-x
c++
[ DIR ]
drwxr-xr-x
cairo
[ DIR ]
drwxr-xr-x
drm
[ DIR ]
drwxr-xr-x
fontconfig
[ DIR ]
drwxr-xr-x
freetype2
[ DIR ]
drwxr-xr-x
fuse
[ DIR ]
drwxr-xr-x
gdk-pixbuf-2.0
[ DIR ]
drwxr-xr-x
gio-unix-2.0
[ DIR ]
drwxr-xr-x
glib-2.0
[ DIR ]
drwxr-xr-x
graphite2
[ DIR ]
drwxr-xr-x
harfbuzz
[ DIR ]
drwxr-xr-x
libdjvu
[ DIR ]
drwxr-xr-x
libexif
[ DIR ]
drwxr-xr-x
libltdl
[ DIR ]
drwxr-xr-x
libpng
[ DIR ]
drwxr-xr-x
libpng16
[ DIR ]
drwxr-xr-x
librsvg-2.0
[ DIR ]
drwxr-xr-x
libwmf
[ DIR ]
drwxr-xr-x
libxml2
[ DIR ]
drwxr-xr-x
linux
[ DIR ]
drwxr-xr-x
lqr-1
[ DIR ]
drwxr-xr-x
lzma
[ DIR ]
drwxr-xr-x
misc
[ DIR ]
drwxr-xr-x
mtd
[ DIR ]
drwxr-xr-x
net
[ DIR ]
drwxr-xr-x
netash
[ DIR ]
drwxr-xr-x
netatalk
[ DIR ]
drwxr-xr-x
netax25
[ DIR ]
drwxr-xr-x
neteconet
[ DIR ]
drwxr-xr-x
netinet
[ DIR ]
drwxr-xr-x
netipx
[ DIR ]
drwxr-xr-x
netiucv
[ DIR ]
drwxr-xr-x
netpacket
[ DIR ]
drwxr-xr-x
netrom
[ DIR ]
drwxr-xr-x
netrose
[ DIR ]
drwxr-xr-x
nfs
[ DIR ]
drwxr-xr-x
nodejs
[ DIR ]
drwxr-xr-x
openssl
[ DIR ]
drwxr-xr-x
pango-1.0
[ DIR ]
drwxr-xr-x
php
[ DIR ]
drwxr-xr-x
pixman-1
[ DIR ]
drwxr-xr-x
protocols
[ DIR ]
drwxr-xr-x
python3.6m
[ DIR ]
drwxr-xr-x
rdma
[ DIR ]
drwxr-xr-x
rpc
[ DIR ]
drwxr-xr-x
rpcsvc
[ DIR ]
drwxr-xr-x
scsi
[ DIR ]
drwxr-xr-x
selinux
[ DIR ]
drwxr-xr-x
sepol
[ DIR ]
drwxr-xr-x
sound
[ DIR ]
drwxr-xr-x
unicode
[ DIR ]
drwxr-xr-x
video
[ DIR ]
drwxr-xr-x
x86_64-linux-gnu
[ DIR ]
drwxr-xr-x
xcb
[ DIR ]
drwxr-xr-x
xen
[ DIR ]
drwxr-xr-x
xfs
[ DIR ]
drwxr-xr-x
_G_config.h
932
B
-rw-r--r--
aio.h
7.28
KB
-rw-r--r--
aliases.h
1.98
KB
-rw-r--r--
alloca.h
1.17
KB
-rw-r--r--
ar.h
1.69
KB
-rw-r--r--
argp.h
24.82
KB
-rw-r--r--
argz.h
5.91
KB
-rw-r--r--
assert.h
4.53
KB
-rw-r--r--
byteswap.h
1.37
KB
-rw-r--r--
bzlib.h
6.1
KB
-rw-r--r--
complex.h
7
KB
-rw-r--r--
cpio.h
2.21
KB
-rw-r--r--
crypt.h
2.21
KB
-rw-r--r--
ctype.h
10.71
KB
-rw-r--r--
dirent.h
12.19
KB
-rw-r--r--
dlfcn.h
6.85
KB
-rw-r--r--
elf.h
166.04
KB
-rw-r--r--
endian.h
3.11
KB
-rw-r--r--
envz.h
2.8
KB
-rw-r--r--
err.h
2.16
KB
-rw-r--r--
errno.h
1.79
KB
-rw-r--r--
error.h
1.99
KB
-rw-r--r--
execinfo.h
1.49
KB
-rw-r--r--
expat.h
43.17
KB
-rw-r--r--
expat_external.h
5.4
KB
-rw-r--r--
fcntl.h
9.24
KB
-rw-r--r--
features.h
15.18
KB
-rw-r--r--
fenv.h
5.72
KB
-rw-r--r--
fftw3.f
2.39
KB
-rw-r--r--
fftw3.f03
53.32
KB
-rw-r--r--
fftw3.h
30.66
KB
-rw-r--r--
fftw3l.f03
26.35
KB
-rw-r--r--
fftw3q.f03
25.08
KB
-rw-r--r--
fmtmsg.h
3.16
KB
-rw-r--r--
fnmatch.h
2.24
KB
-rw-r--r--
fstab.h
3.04
KB
-rw-r--r--
fts.h
8.18
KB
-rw-r--r--
ftw.h
5.13
KB
-rw-r--r--
fuse.h
246
B
-rw-r--r--
gawkapi.h
30.31
KB
-rw-r--r--
gconv.h
4.31
KB
-rw-r--r--
getopt.h
1.43
KB
-rw-r--r--
glob.h
6.46
KB
-rw-r--r--
gnu-versions.h
2.29
KB
-rw-r--r--
gnumake.h
2.84
KB
-rw-r--r--
grp.h
6.53
KB
-rw-r--r--
gshadow.h
4.42
KB
-rw-r--r--
iconv.h
1.81
KB
-rw-r--r--
ifaddrs.h
2.77
KB
-rw-r--r--
inttypes.h
11.61
KB
-rw-r--r--
jbig.h
9.55
KB
-rw-r--r--
jbig85.h
6.78
KB
-rw-r--r--
jbig_ar.h
2.21
KB
-rw-r--r--
jerror.h
14.73
KB
-rw-r--r--
jmorecfg.h
14.7
KB
-rw-r--r--
jpegint.h
15.22
KB
-rw-r--r--
jpeglib.h
48.71
KB
-rw-r--r--
langinfo.h
17.43
KB
-rw-r--r--
lastlog.h
126
B
-rw-r--r--
lcms2.h
99.51
KB
-rw-r--r--
lcms2_plugin.h
29.19
KB
-rw-r--r--
libgen.h
1.35
KB
-rw-r--r--
libintl.h
4.47
KB
-rw-r--r--
libio.h
918
B
-rw-r--r--
limits.h
5.29
KB
-rw-r--r--
link.h
7.04
KB
-rw-r--r--
locale.h
7.49
KB
-rw-r--r--
ltdl.h
5.58
KB
-rw-r--r--
lzma.h
9.51
KB
-rw-r--r--
malloc.h
5.96
KB
-rw-r--r--
math.h
44.33
KB
-rw-r--r--
mcheck.h
2.38
KB
-rw-r--r--
memory.h
955
B
-rw-r--r--
mntent.h
3.28
KB
-rw-r--r--
monetary.h
1.76
KB
-rw-r--r--
mqueue.h
3.67
KB
-rw-r--r--
netdb.h
27.39
KB
-rw-r--r--
nl_types.h
1.71
KB
-rw-r--r--
nss.h
1.83
KB
-rw-r--r--
obstack.h
20.81
KB
-rw-r--r--
paths.h
2.91
KB
-rw-r--r--
pcre.h
30.97
KB
-rw-r--r--
pcre_scanner.h
6.45
KB
-rw-r--r--
pcre_stringpiece.h
6.16
KB
-rw-r--r--
pcrecpp.h
26.02
KB
-rw-r--r--
pcrecpparg.h
6.62
KB
-rw-r--r--
pcreposix.h
5.5
KB
-rw-r--r--
png.h
140.77
KB
-rw-r--r--
pngconf.h
22.31
KB
-rw-r--r--
pnglibconf.h
7.39
KB
-rw-r--r--
poll.h
22
B
-rw-r--r--
printf.h
6.64
KB
-rw-r--r--
proc_service.h
3.39
KB
-rw-r--r--
pthread.h
40.3
KB
-rw-r--r--
pty.h
1.53
KB
-rw-r--r--
pwd.h
5.89
KB
-rw-r--r--
re_comp.h
962
B
-rw-r--r--
regex.h
21.53
KB
-rw-r--r--
regexp.h
1.41
KB
-rw-r--r--
resolv.h
11.73
KB
-rw-r--r--
sched.h
4.62
KB
-rw-r--r--
search.h
5.1
KB
-rw-r--r--
semaphore.h
2.34
KB
-rw-r--r--
setjmp.h
3.58
KB
-rw-r--r--
sgtty.h
1.31
KB
-rw-r--r--
shadow.h
5.08
KB
-rw-r--r--
signal.h
11.96
KB
-rw-r--r--
spawn.h
6.53
KB
-rw-r--r--
stab.h
264
B
-rw-r--r--
stdc-predef.h
2.31
KB
-rw-r--r--
stdint.h
8.42
KB
-rw-r--r--
stdio.h
28.97
KB
-rw-r--r--
stdio_ext.h
2.73
KB
-rw-r--r--
stdlib.h
34.95
KB
-rw-r--r--
string.h
17.13
KB
-rw-r--r--
strings.h
4.64
KB
-rw-r--r--
stropts.h
2.98
KB
-rw-r--r--
sudo_plugin.h
7.89
KB
-rw-r--r--
syscall.h
25
B
-rw-r--r--
sysexits.h
5.11
KB
-rw-r--r--
syslog.h
24
B
-rw-r--r--
tar.h
3.7
KB
-rw-r--r--
termio.h
214
B
-rw-r--r--
termios.h
3.51
KB
-rw-r--r--
tgmath.h
30.75
KB
-rw-r--r--
thread_db.h
15.65
KB
-rw-r--r--
time.h
10.12
KB
-rw-r--r--
ttyent.h
2.44
KB
-rw-r--r--
uchar.h
2.26
KB
-rw-r--r--
ucontext.h
1.89
KB
-rw-r--r--
ulimit.h
1.55
KB
-rw-r--r--
ulockmgr.h
679
B
-rw-r--r--
unistd.h
41.78
KB
-rw-r--r--
ustat.h
23
B
-rw-r--r--
utime.h
1.47
KB
-rw-r--r--
utmp.h
3.15
KB
-rw-r--r--
utmpx.h
4
KB
-rw-r--r--
uv-errno.h
9.45
KB
-rw-r--r--
uv-linux.h
1.74
KB
-rw-r--r--
uv-threadpool.h
1.46
KB
-rw-r--r--
uv-unix.h
17.69
KB
-rw-r--r--
uv-version.h
1.8
KB
-rw-r--r--
uv.h
54.56
KB
-rw-r--r--
values.h
1.91
KB
-rw-r--r--
wait.h
22
B
-rw-r--r--
wchar.h
30.38
KB
-rw-r--r--
wctype.h
5.42
KB
-rw-r--r--
wordexp.h
2.44
KB
-rw-r--r--
zconf.h
15.88
KB
-rw-r--r--
zlib.h
94
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : sudo_plugin.h
/* * Copyright (c) 2009-2017 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 12 #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)); int (*change_winsize)(unsigned int rows, unsigned int cols); }; /* 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 */
Close