!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/share/doc/freetds-0.91/reference/   drwxr-xr-x
Free 14.15 GB of 61.93 GB (22.86%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     a00296.html (18.52 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
FreeTDS API: Authentication

Authentication
[LibTDS API]

Functions for handling authentication. More...

Classes

struct  names_blob_prefix_t
struct  tds_answer
struct  tds_ntlm_auth

Defines

#define offsetof(st, m)   ((size_t) ( (char *)&((st *)(0))->m - (char *)0 ))

Typedefs

typedef struct tds_answer TDSANSWER
typedef struct tds_ntlm_auth TDSNTLMAUTH

Functions

static void convert_to_upper (char *buf, size_t len)
static size_t convert_to_usc2le_string (TDSSOCKET *tds, const char *s, size_t len, char *out)
static void fill_names_blob_prefix (names_blob_prefix_t *prefix)
static void generate_random_buffer (unsigned char *out, int len)
static unsigned char * make_lm_v2_response (const unsigned char ntlm_v2_hash[16], const unsigned char *client_data, TDS_INT client_data_len, const unsigned char challenge[8])
static int make_ntlm_hash (TDSSOCKET *tds, const char *passwd, unsigned char ntlm_hash[16])
static int make_ntlm_v2_hash (TDSSOCKET *tds, const char *passwd, unsigned char ntlm_v2_hash[16])
static int tds7_send_auth (TDSSOCKET *tds, const unsigned char *challenge, TDS_UINT flags, const unsigned char *names_blob, TDS_INT names_blob_len)
static int tds_answer_challenge (TDSSOCKET *tds, TDSCONNECTION *connection, const unsigned char *challenge, TDS_UINT *flags, const unsigned char *names_blob, TDS_INT names_blob_len, TDSANSWER *answer, unsigned char **ntlm_v2_response)
 Crypt a given password using schema required for NTLMv1 or NTLM2 authentication.
static int tds_answer_challenge_ntlmv2 (TDSSOCKET *tds, TDSCONNECTION *connection, const unsigned char *challenge, TDS_UINT *flags, const unsigned char *names_blob, TDS_INT names_blob_len, TDSANSWER *answer, unsigned char **ntlm_v2_response)
static void tds_convert_key (const unsigned char *key_56, DES_KEY *ks)
static void tds_encrypt_answer (const unsigned char *hash, const unsigned char *challenge, unsigned char *answer)
static int tds_ntlm_free (TDSSOCKET *tds, TDSAUTHENTICATION *tds_auth)
TDSAUTHENTICATIONtds_ntlm_get_auth (TDSSOCKET *tds)
 Build a NTLMSPP packet to send to server.
static int tds_ntlm_handle_next (TDSSOCKET *tds, struct tds_authentication *auth, size_t len)
static void unix_to_nt_time (TDS_UINT8 *nt, time_t t)
 put a 8 byte filetime from a time_t This takes GMT as input

Variables

static const unsigned char ntlm_id [] = "NTLMSSP"

Detailed Description

Functions for handling authentication.


Function Documentation

static int tds_answer_challenge ( TDSSOCKET tds,
TDSCONNECTION connection,
const unsigned char *  challenge,
TDS_UINT *  flags,
const unsigned char *  names_blob,
TDS_INT  names_blob_len,
TDSANSWER answer,
unsigned char **  ntlm_v2_response 
) [static]

Crypt a given password using schema required for NTLMv1 or NTLM2 authentication.

Parameters:
passwd clear text domain password
challenge challenge data given by server
flags NTLM flags from server side
answer buffer where to store crypted password
TDSAUTHENTICATION* tds_ntlm_get_auth ( TDSSOCKET tds  ) 

Build a NTLMSPP packet to send to server.

Parameters:
tds A pointer to the TDSSOCKET structure managing a client/server operation.
Returns:
authentication info
Generated on Wed Aug 17 22:22:31 2011 for FreeTDS API by  doxygen 1.6.3

:: 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.6717 ]--