Exploit database

GH-f5b5f3e255c9647f10455031c760da99

opsxcq/exploit-cve-2016-7434

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2016-7434

4 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files57
opsxcq/exploit-cve-2016-7434Revision b2860c5160a6
Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

ntp-4.2.8p8/sntp/log.h

Text · 518 bytes
#ifndef LOG_H
#define LOG_H

#include "ntp.h"
#include "ntp_stdlib.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <syslog.h>
#include <time.h>

/* syslog as ntpd does, even though we are not a daemon */
#ifdef LOG_NTP
# define OPENLOG_FAC	LOG_NTP
#else
# ifndef LOG_DAEMON
#  define LOG_DAEMON	0
# endif
# define OPENLOG_FAC	LOG_DAEMON
#endif

void sntp_init_logging(const char *program);
void open_logfile(const char *logfile);

extern char const *progname;		/* for msyslog use too */

#endif