!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/lampp/include/proftpd/   drwxr-xr-x
Free 9.88 GB of 61.93 GB (15.96%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     encode.h (3.67 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 * ProFTPD - FTP server daemon
 * Copyright (c) 2006-2014 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, The ProFTPD Project team 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.
 */

/* UTF8/charset encoding/decoding */

#ifndef PR_ENCODE_H
#define PR_ENCODE_H

/* Translates the `in' string into the local charset using the configured
 * encoding and returns the result.  NULL is returned if there was an error.
 */
char *pr_decode_str(pool *p, const char *in, size_t inlen, size_t *outlen);

/* Translates the `in' string from the local charset using the configured
 * encoding and returns the result.  NULL is returned if there was an error.
 */
char *pr_encode_str(pool *p, const char *in, size_t inlen, size_t *outlen);

/* Disables runtime use of encoding (assuming NLS is supported). */
void pr_encode_disable_encoding(void);

/* Enables runtime use of encoding using the specified character set (assuming
 * NLS is supported).  Zero is returned on success, -1 if there was an
 * issue either with the provided character set, or with the handling of
 * that set.
 */
int pr_encode_enable_encoding(const char *encoding);

unsigned long pr_encode_get_policy(void);
int pr_encode_set_policy(unsigned long policy);

/* Determines whether the Encode API will disconnect the client if the
 * charset conversion fails, i.e. the client is using an illegal/unsupported
 * encoding.
 */
#define PR_ENCODE_POLICY_FL_REQUIRE_VALID_ENCODING        0x001

/* Returns string describing the current charset being used. */
const char *pr_encode_get_charset(void);

/* Returns string describing the local charset (as determined by environment
 * variables and such).
*/
const char *pr_encode_get_local_charset(void);

/* Returns string describing the current character set (or UTF8) encoding
 * being used.  NULL is returned if no encoding is currently in effect.
 */
const char *pr_encode_get_encoding(void);

/* Convenience function which returns TRUE if the given encoding is UTF8,
 * FALSE otherwise.  (There are multiple different strings for denoting
 * UTF8, and callers should not need to have to know about those different
 * formulations.)
 *
 * Note that -1 will be returned if there was an error (e.g. NULL arguments).
 */
int pr_encode_is_utf8(const char *codeset);

/* Convenience function which returns TRUE if the current encoding
 * (i.e. from pr_encode_get_encoding()) supports the Telnet IAC (0xFF)
 * character, FALSE otherwise.
 *
 * Some character sets (e.g. CP1251 for Cyrillic character sets) use that
 * value for a character.  This breaks RFC959 compliance, unfortunately.
 */
int pr_encode_supports_telnet_iac(void);

/* Change the local charset AND encoding being used. */
int pr_encode_set_charset_encoding(const char *charset, const char *encoding);

/* Internal use only. */
int encode_init(void);
int encode_free(void);

#endif /* PR_ENCODE_H */

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.5137 ]--