From c9cbeced5b3f2bdd7407e29c0811e65954132540 Mon Sep 17 00:00:00 2001 From: Root THC Date: Tue, 24 Feb 2026 12:42:47 +0000 Subject: initial --- exploits/7350php/common.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 exploits/7350php/common.h (limited to 'exploits/7350php/common.h') diff --git a/exploits/7350php/common.h b/exploits/7350php/common.h new file mode 100644 index 0000000..dc7b666 --- /dev/null +++ b/exploits/7350php/common.h @@ -0,0 +1,26 @@ + +#ifndef Z_COMMON_H +#define Z_COMMON_H + +#include +#include + +#ifdef DEBUG +void debugp (char *filename, const char *str, ...); +void hexdump (char *filename, unsigned char *data, unsigned int amount); +#endif +int m_random (int lowmark, int highmark); +void set_tv (struct timeval *tv, int seconds); +void xstrupper (char *str); +void scnprintf (char *os, size_t len, const char *str, ...); +unsigned long int tdiff (struct timeval *old, struct timeval *new); +char *ipv4_print (char *dest, struct in_addr in, int padding); +void *xrealloc (void *m_ptr, size_t newsize); +char *xstrdup (char *str); +void *xcalloc (int factor, size_t size); +char *allocncat (char **to, char *from, size_t len); +char *alloccat (char **to, char *from); +char *ip_get_random (void); + +#endif + -- cgit v1.3