diff options
| author | Root THC | 2026-02-24 12:42:47 +0000 |
|---|---|---|
| committer | Root THC | 2026-02-24 12:42:47 +0000 |
| commit | c9cbeced5b3f2bdd7407e29c0811e65954132540 (patch) | |
| tree | aefc355416b561111819de159ccbd86c3004cf88 /exploits/7350php/common.h | |
| parent | 073fe4bf9fca6bf40cef2886d75df832ef4b6fca (diff) | |
initial
Diffstat (limited to 'exploits/7350php/common.h')
| -rw-r--r-- | exploits/7350php/common.h | 26 |
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 | ||
| 9 | void debugp (char *filename, const char *str, ...); | ||
| 10 | void hexdump (char *filename, unsigned char *data, unsigned int amount); | ||
| 11 | #endif | ||
| 12 | int m_random (int lowmark, int highmark); | ||
| 13 | void set_tv (struct timeval *tv, int seconds); | ||
| 14 | void xstrupper (char *str); | ||
| 15 | void scnprintf (char *os, size_t len, const char *str, ...); | ||
| 16 | unsigned long int tdiff (struct timeval *old, struct timeval *new); | ||
| 17 | char *ipv4_print (char *dest, struct in_addr in, int padding); | ||
| 18 | void *xrealloc (void *m_ptr, size_t newsize); | ||
| 19 | char *xstrdup (char *str); | ||
| 20 | void *xcalloc (int factor, size_t size); | ||
| 21 | char *allocncat (char **to, char *from, size_t len); | ||
| 22 | char *alloccat (char **to, char *from); | ||
| 23 | char *ip_get_random (void); | ||
| 24 | |||
| 25 | #endif | ||
| 26 | |||
