summaryrefslogtreecommitdiff
path: root/exploits/7350php/common.h
diff options
context:
space:
mode:
authorRoot THC2026-02-24 12:42:47 +0000
committerRoot THC2026-02-24 12:42:47 +0000
commitc9cbeced5b3f2bdd7407e29c0811e65954132540 (patch)
treeaefc355416b561111819de159ccbd86c3004cf88 /exploits/7350php/common.h
parent073fe4bf9fca6bf40cef2886d75df832ef4b6fca (diff)
initial
Diffstat (limited to 'exploits/7350php/common.h')
-rw-r--r--exploits/7350php/common.h26
1 files changed, 26 insertions, 0 deletions
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 @@
1
2#ifndef Z_COMMON_H
3#define Z_COMMON_H
4
5#include <sys/time.h>
6#include <netinet/in.h>
7
8#ifdef DEBUG
9void debugp (char *filename, const char *str, ...);
10void hexdump (char *filename, unsigned char *data, unsigned int amount);
11#endif
12int m_random (int lowmark, int highmark);
13void set_tv (struct timeval *tv, int seconds);
14void xstrupper (char *str);
15void scnprintf (char *os, size_t len, const char *str, ...);
16unsigned long int tdiff (struct timeval *old, struct timeval *new);
17char *ipv4_print (char *dest, struct in_addr in, int padding);
18void *xrealloc (void *m_ptr, size_t newsize);
19char *xstrdup (char *str);
20void *xcalloc (int factor, size_t size);
21char *allocncat (char **to, char *from, size_t len);
22char *alloccat (char **to, char *from);
23char *ip_get_random (void);
24
25#endif
26