Exploit databaseDownload repository ZIP
GH-f103b497572b6405c32a7cd6514c0d99
zhqagp/php-7.2
Sources for CVE-2026-109618
410 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files57
zhqagp/php-7.2Revision 2139335c0281
- ↑..Parent directory
- build/
- builddef.bat
- codepage.c
- codepage.h
- console.c
- console.h
- cp_enc_map.c
- cp_enc_map_gen.c
- dllmain.c
- fnmatch.c
- fnmatch.h
- ftok.c
- getrusage.c
- getrusage.h
- glob.c
- glob.h
- globals.c
- grp.h
- inet.c
- inet.h
- install.txt
- ioutil.c
- ioutil.h
- ipc.h
- nice.c
- nice.h
- param.h
- php7dllts.rc
- php7dllts.rc2
- php7ts.rc
- php7ts.rc2
- php7ts_cli.rc
- php7ts_cli.rc2
- php_inttypes.h
- php_registry.h
- php_stdbool.h
- php_stdint.h
- php_win32_globals.h
- readdir.c
- readdir.h
- registry.c
- resource.h
- select.c
- select.h
- sendmail.c
- sendmail.h
- signal.h
- sockets.c
- sockets.h
- syslog.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
win32/sendmail.h
Text · 1,980 bytes#if !defined(sendmail_h) /* Sentry, use file only if it's not already included. */
#define sendmail_h
#include <windows.h>
#define HOST_NAME_LEN 256
#define MAX_APPNAME_LENGTH 100
#define MAIL_BUFFER_SIZE (1024*4) /* 4k buffer */
/* Return values */
#define MIN_ERROR_INDEX 0 /* Always 0 like SUCCESS */
#define SUCCESS 0
#define FAILED_TO_PARSE_ARGUMENTS 1
#define FAILED_TO_OPEN_MAILFILE 2
#define FAILED_TO_START_SOCKETS 3
#define FAILED_TO_RESOLVE_HOST 4
#define FAILED_TO_OBTAIN_SOCKET_HANDLE 5
#define FAILED_TO_CONNECT 6
#define FAILED_TO_SEND 7
#define FAILED_TO_RECEIVE 8
#define SMTP_SERVER_ERROR 9
#define FAILED_TO_GET_HOSTNAME 10
#define OUT_OF_MEMORY 11
#define UNKNOWN_ERROR 12
#define BAD_MSG_CONTENTS 13
#define BAD_MSG_SUBJECT 14
#define BAD_MSG_DESTINATION 15
#define BAD_MSG_RPATH 16
#define BAD_MAIL_HOST 17
#define BAD_MSG_FILE 18
#define W32_SM_SENDMAIL_FROM_NOT_SET 19
#define W32_SM_SENDMAIL_FROM_MALFORMED 20
#define W32_SM_PCRE_ERROR 21
#define MAX_ERROR_INDEX 22 /* Always last error message + 1 */
PHPAPI int TSendMail(char *smtpaddr, int *returnerror, char **error_message,
char *RPath, char *Subject, char *mailTo, char *data,
char *mailCc, char *mailBcc, char *mailRPath);
PHPAPI void TSMClose(void);
static int SendText(char *RPath, char *Subject, char *mailTo, char *mailCc, char *mailBcc, char *data,
char *headers, char *headers_lc, char **error_message);
PHPAPI char *GetSMErrorText(int index);
static int MailConnect();
static int PostHeader(char *RPath, char *Subject, char *mailTo, char *xheaders);
static int Post(LPCSTR msg);
static int Ack(char **server_response);
static unsigned long GetAddr(LPSTR szHost);
static int FormatEmailAddress(char* Buf, char* EmailAddress, char* FormatString);
#endif /* sendmail_h */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* End:
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/