+++ /dev/null
-diff -NrU5 raccess-0.7.original/exploits/wu2.5.0a.c raccess-0.7/exploits/wu2.5.0a.c
---- raccess-0.7.original/exploits/wu2.5.0a.c 2009-07-08 17:55:35.000000000 +0000
-+++ raccess-0.7/exploits/wu2.5.0a.c 2009-07-08 18:09:23.000000000 +0000
-@@ -104,11 +104,11 @@
- int xconnect (int sockfd, struct sockaddr *serv_addr, int addrlen);\r
- void sighandler (int signal);\r
- struct hostent *xgethostbyname (const char *name);\r
- struct hostent *xgethostbyaddr (const char *addr, int len, int type);\r
- void putserv (const char *fmt, ...);\r
--char *getline (void);\r
-+char *get_line (void);\r
- char *getmsg (const char *msg);\r
- int wuftpd_250_sploitit (void);\r
- dirptr newdir (char *name);\r
- char *getdir (char *stat);\r
- char *int2char (int addr);\r
-@@ -759,16 +759,16 @@
- }\r
- \r
- #define LINEBUFLEN 8192\r
- char linebuf[LINEBUFLEN]; /* saves us free()ing trouble. */\r
- \r
--/* getline\r
-+/* get_line\r
- *\r
- * get next line from server or local buffer\r
- */\r
- char *\r
--getline (void)\r
-+get_line (void)\r
- {\r
- char y[2];\r
- int i = 0;\r
- \r
- memset (linebuf, '\0', sizeof (linebuf));\r
-@@ -776,11 +776,11 @@
- \r
- while (strncmp (y, "\n", 1) != 0)\r
- {\r
- if (i > (sizeof (linebuf) + 2))\r
- {\r
-- err (0, "getline() buffer full");\r
-+ err (0, "get_line() buffer full");\r
- }\r
- i += xread (fd, y, 1);\r
- strcat (linebuf, y);\r
- }\r
- \r
-@@ -835,11 +835,11 @@
- char *line;\r
- int i = strlen (msg);\r
- \r
- do\r
- {\r
-- line = getline ();\r
-+ line = get_line ();\r
- }\r
- while (strncmp (line, msg, i) != 0 && strncmp (line, "5", 1) != 0);\r
- \r
- return (line);\r
- }\r
-@@ -919,11 +919,11 @@
- nostat = 0;\r
- putserv ("STAT .\n");\r
- \r
- while (strncmp (line, "213 ", 4) != 0)\r
- {\r
-- line = getline ();\r
-+ line = get_line ();\r
- tmp = getdir (line);\r
- \r
- if (tmp == NULL)\r
- continue;\r
- if (dirroot == NULL)\r
-@@ -1279,14 +1279,14 @@
- break;\r
- }\r
- \r
- string[tesopt.dirlen] = 0;\r
- putserv ("MKD %s\n", string);\r
-- getline ();\r
-+ get_line ();\r
- \r
- putserv ("CWD %s\n", string);\r
-- getline ();\r
-+ get_line ();\r
- }\r
- \r
- getpwd ();\r
- disp = 1;\r
- \r
-@@ -1318,11 +1318,11 @@
- \r
- if (strlen (string) < 20)\r
- err (0, "cwd string too short.. check for 0x0's.\n");\r
- \r
- putserv ("CWD %s\n", string);\r
-- getline ();\r
-+ get_line ();\r
- \r
- /************ jmpbuf ***********/\r
- \r
- if (debug > 0)\r
- printf ("Sending jmpbuf\n");\r
-@@ -1334,11 +1334,11 @@
- if (strlen (string) != 32)\r
- err (0, "jmpbuf string too short.. check for 0x0's.\n");\r
- \r
- putserv ("%s\n", string);\r
- \r
-- getline ();\r
-+ get_line ();\r
- \r
- return (1);\r
- }\r
- \r
- /* shell\r
-diff -NrU5 raccess-0.7.original/exploits/wu2.5.0b.c raccess-0.7/exploits/wu2.5.0b.c
---- raccess-0.7.original/exploits/wu2.5.0b.c 2009-07-08 17:55:35.000000000 +0000
-+++ raccess-0.7/exploits/wu2.5.0b.c 2009-07-08 18:12:44.000000000 +0000
-@@ -104,11 +104,11 @@
- int xconnect (int sockfd, struct sockaddr *serv_addr, int addrlen);\r
- void sighandler (int signal);\r
- struct hostent *xgethostbyname (const char *name);\r
- struct hostent *xgethostbyaddr (const char *addr, int len, int type);\r
- void putserv (const char *fmt, ...);\r
--char *getline (void);\r
-+char *get_line (void);\r
- char *getmsg (const char *msg);\r
- int wuftpd_250_sploitit (void);\r
- dirptr newdir (char *name);\r
- char *getdir (char *stat);\r
- char *int2char (int addr);\r
-@@ -759,16 +759,16 @@
- }\r
- \r
- #define LINEBUFLEN 8192\r
- char linebuf[LINEBUFLEN]; /* saves us free()ing trouble. */\r
- \r
--/* getline\r
-+/* get_line\r
- *\r
- * get next line from server or local buffer\r
- */\r
- char *\r
--getline (void)\r
-+get_line (void)\r
- {\r
- char y[2];\r
- int i = 0;\r
- \r
- memset (linebuf, '\0', sizeof (linebuf));\r
-@@ -776,11 +776,11 @@
- \r
- while (strncmp (y, "\n", 1) != 0)\r
- {\r
- if (i > (sizeof (linebuf) + 2))\r
- {\r
-- err (0, "getline() buffer full");\r
-+ err (0, "get_line() buffer full");\r
- }\r
- i += xread (fd, y, 1);\r
- strcat (linebuf, y);\r
- }\r
- \r
-@@ -835,11 +835,11 @@
- char *line;\r
- int i = strlen (msg);\r
- \r
- do\r
- {\r
-- line = getline ();\r
-+ line = get_line ();\r
- }\r
- while (strncmp (line, msg, i) != 0 && strncmp (line, "5", 1) != 0);\r
- \r
- return (line);\r
- }\r
-@@ -919,11 +919,11 @@
- nostat = 0;\r
- putserv ("STAT .\n");\r
- \r
- while (strncmp (line, "213 ", 4) != 0)\r
- {\r
-- line = getline ();\r
-+ line = get_line ();\r
- tmp = getdir (line);\r
- \r
- if (tmp == NULL)\r
- continue;\r
- if (dirroot == NULL)\r
-@@ -1279,14 +1279,14 @@
- break;\r
- }\r
- \r
- string[tesopt.dirlen] = 0;\r
- putserv ("MKD %s\n", string);\r
-- getline ();\r
-+ get_line ();\r
- \r
- putserv ("CWD %s\n", string);\r
-- getline ();\r
-+ get_line ();\r
- }\r
- \r
- getpwd ();\r
- disp = 1;\r
- \r
-@@ -1318,11 +1318,11 @@
- \r
- if (strlen (string) < 20)\r
- err (0, "cwd string too short.. check for 0x0's.\n");\r
- \r
- putserv ("CWD %s\n", string);\r
-- getline ();\r
-+ get_line ();\r
- \r
- /************ jmpbuf ***********/\r
- \r
- if (debug > 0)\r
- printf ("Sending jmpbuf\n");\r
-@@ -1334,11 +1334,11 @@
- if (strlen (string) != 32)\r
- err (0, "jmpbuf string too short.. check for 0x0's.\n");\r
- \r
- putserv ("%s\n", string);\r
- \r
-- getline ();\r
-+ get_line ();\r
- \r
- return (1);\r
- }\r
- \r
- /* shell\r
-diff -NrU5 raccess-0.7.original/exploits/wu2.5.0c.c raccess-0.7/exploits/wu2.5.0c.c
---- raccess-0.7.original/exploits/wu2.5.0c.c 2009-07-08 17:55:35.000000000 +0000
-+++ raccess-0.7/exploits/wu2.5.0c.c 2009-07-08 18:14:14.000000000 +0000
-@@ -104,11 +104,11 @@
- int xconnect (int sockfd, struct sockaddr *serv_addr, int addrlen);\r
- void sighandler (int signal);\r
- struct hostent *xgethostbyname (const char *name);\r
- struct hostent *xgethostbyaddr (const char *addr, int len, int type);\r
- void putserv (const char *fmt, ...);\r
--char *getline (void);\r
-+char *get_line (void);\r
- char *getmsg (const char *msg);\r
- int wuftpd_250_sploitit (void);\r
- dirptr newdir (char *name);\r
- char *getdir (char *stat);\r
- char *int2char (int addr);\r
-@@ -759,16 +759,16 @@
- }\r
- \r
- #define LINEBUFLEN 8192\r
- char linebuf[LINEBUFLEN]; /* saves us free()ing trouble. */\r
- \r
--/* getline\r
-+/* get_line\r
- *\r
- * get next line from server or local buffer\r
- */\r
- char *\r
--getline (void)\r
-+get_line (void)\r
- {\r
- char y[2];\r
- int i = 0;\r
- \r
- memset (linebuf, '\0', sizeof (linebuf));\r
-@@ -776,11 +776,11 @@
- \r
- while (strncmp (y, "\n", 1) != 0)\r
- {\r
- if (i > (sizeof (linebuf) + 2))\r
- {\r
-- err (0, "getline() buffer full");\r
-+ err (0, "get_line() buffer full");\r
- }\r
- i += xread (fd, y, 1);\r
- strcat (linebuf, y);\r
- }\r
- \r
-@@ -835,11 +835,11 @@
- char *line;\r
- int i = strlen (msg);\r
- \r
- do\r
- {\r
-- line = getline ();\r
-+ line = get_line ();\r
- }\r
- while (strncmp (line, msg, i) != 0 && strncmp (line, "5", 1) != 0);\r
- \r
- return (line);\r
- }\r
-@@ -919,11 +919,11 @@
- nostat = 0;\r
- putserv ("STAT .\n");\r
- \r
- while (strncmp (line, "213 ", 4) != 0)\r
- {\r
-- line = getline ();\r
-+ line = get_line ();\r
- tmp = getdir (line);\r
- \r
- if (tmp == NULL)\r
- continue;\r
- if (dirroot == NULL)\r
-@@ -1279,14 +1279,14 @@
- break;\r
- }\r
- \r
- string[tesopt.dirlen] = 0;\r
- putserv ("MKD %s\n", string);\r
-- getline ();\r
-+ get_line ();\r
- \r
- putserv ("CWD %s\n", string);\r
-- getline ();\r
-+ get_line ();\r
- }\r
- \r
- getpwd ();\r
- disp = 1;\r
- \r
-@@ -1318,11 +1318,11 @@
- \r
- if (strlen (string) < 20)\r
- err (0, "cwd string too short.. check for 0x0's.\n");\r
- \r
- putserv ("CWD %s\n", string);\r
-- getline ();\r
-+ get_line ();\r
- \r
- /************ jmpbuf ***********/\r
- \r
- if (debug > 0)\r
- printf ("Sending jmpbuf\n");\r
-@@ -1334,11 +1334,11 @@
- if (strlen (string) != 32)\r
- err (0, "jmpbuf string too short.. check for 0x0's.\n");\r
- \r
- putserv ("%s\n", string);\r
- \r
-- getline ();\r
-+ get_line ();\r
- \r
- return (1);\r
- }\r
- \r
- /* shell\r
-diff -NrU5 raccess-0.7.original/exploits/wu2.5.0d.c raccess-0.7/exploits/wu2.5.0d.c
---- raccess-0.7.original/exploits/wu2.5.0d.c 2009-07-08 17:55:35.000000000 +0000
-+++ raccess-0.7/exploits/wu2.5.0d.c 2009-07-08 18:06:24.000000000 +0000
-@@ -104,11 +104,11 @@
- int xconnect (int sockfd, struct sockaddr *serv_addr, int addrlen);\r
- void sighandler (int signal);\r
- struct hostent *xgethostbyname (const char *name);\r
- struct hostent *xgethostbyaddr (const char *addr, int len, int type);\r
- void putserv (const char *fmt, ...);\r
--char *getline (void);\r
-+char *get_line (void);\r
- char *getmsg (const char *msg);\r
- int wuftpd_250_sploitit (void);\r
- dirptr newdir (char *name);\r
- char *getdir (char *stat);\r
- char *int2char (int addr);\r
-@@ -759,16 +759,16 @@
- }\r
- \r
- #define LINEBUFLEN 8192\r
- char linebuf[LINEBUFLEN]; /* saves us free()ing trouble. */\r
- \r
--/* getline\r
-+/* get_line\r
- *\r
- * get next line from server or local buffer\r
- */\r
- char *\r
--getline (void)\r
-+get_line (void)\r
- {\r
- char y[2];\r
- int i = 0;\r
- \r
- memset (linebuf, '\0', sizeof (linebuf));\r
-@@ -776,11 +776,11 @@
- \r
- while (strncmp (y, "\n", 1) != 0)\r
- {\r
- if (i > (sizeof (linebuf) + 2))\r
- {\r
-- err (0, "getline() buffer full");\r
-+ err (0, "get_line() buffer full");\r
- }\r
- i += xread (fd, y, 1);\r
- strcat (linebuf, y);\r
- }\r
- \r
-@@ -835,11 +835,11 @@
- char *line;\r
- int i = strlen (msg);\r
- \r
- do\r
- {\r
-- line = getline ();\r
-+ line = get_line ();\r
- }\r
- while (strncmp (line, msg, i) != 0 && strncmp (line, "5", 1) != 0);\r
- \r
- return (line);\r
- }\r
-@@ -919,11 +919,11 @@
- nostat = 0;\r
- putserv ("STAT .\n");\r
- \r
- while (strncmp (line, "213 ", 4) != 0)\r
- {\r
-- line = getline ();\r
-+ line = get_line ();\r
- tmp = getdir (line);\r
- \r
- if (tmp == NULL)\r
- continue;\r
- if (dirroot == NULL)\r
-@@ -1279,14 +1279,14 @@
- break;\r
- }\r
- \r
- string[tesopt.dirlen] = 0;\r
- putserv ("MKD %s\n", string);\r
-- getline ();\r
-+ get_line ();\r
- \r
- putserv ("CWD %s\n", string);\r
-- getline ();\r
-+ get_line ();\r
- }\r
- \r
- getpwd ();\r
- disp = 1;\r
- \r
-@@ -1318,11 +1318,11 @@
- \r
- if (strlen (string) < 20)\r
- err (0, "cwd string too short.. check for 0x0's.\n");\r
- \r
- putserv ("CWD %s\n", string);\r
-- getline ();\r
-+ get_line ();\r
- \r
- /************ jmpbuf ***********/\r
- \r
- if (debug > 0)\r
- printf ("Sending jmpbuf\n");\r
-@@ -1334,11 +1334,11 @@
- if (strlen (string) != 32)\r
- err (0, "jmpbuf string too short.. check for 0x0's.\n");\r
- \r
- putserv ("%s\n", string);\r
- \r
-- getline ();\r
-+ get_line ();\r
- \r
- return (1);\r
- }\r
- \r
- /* shell\r
-diff -NrU5 raccess-0.7.original/exploits/wu2.5.0e.c raccess-0.7/exploits/wu2.5.0e.c
---- raccess-0.7.original/exploits/wu2.5.0e.c 2009-07-08 17:55:35.000000000 +0000
-+++ raccess-0.7/exploits/wu2.5.0e.c 2009-07-08 18:07:19.000000000 +0000
-@@ -104,11 +104,11 @@
- int xconnect (int sockfd, struct sockaddr *serv_addr, int addrlen);\r
- void sighandler (int signal);\r
- struct hostent *xgethostbyname (const char *name);\r
- struct hostent *xgethostbyaddr (const char *addr, int len, int type);\r
- void putserv (const char *fmt, ...);\r
--char *getline (void);\r
-+char *get_line (void);\r
- char *getmsg (const char *msg);\r
- int wuftpd_250_sploitit (void);\r
- dirptr newdir (char *name);\r
- char *getdir (char *stat);\r
- char *int2char (int addr);\r
-@@ -759,16 +759,16 @@
- }\r
- \r
- #define LINEBUFLEN 8192\r
- char linebuf[LINEBUFLEN]; /* saves us free()ing trouble. */\r
- \r
--/* getline\r
-+/* get_line\r
- *\r
- * get next line from server or local buffer\r
- */\r
- char *\r
--getline (void)\r
-+get_line (void)\r
- {\r
- char y[2];\r
- int i = 0;\r
- \r
- memset (linebuf, '\0', sizeof (linebuf));\r
-@@ -776,11 +776,11 @@
- \r
- while (strncmp (y, "\n", 1) != 0)\r
- {\r
- if (i > (sizeof (linebuf) + 2))\r
- {\r
-- err (0, "getline() buffer full");\r
-+ err (0, "get_line() buffer full");\r
- }\r
- i += xread (fd, y, 1);\r
- strcat (linebuf, y);\r
- }\r
- \r
-@@ -835,11 +835,11 @@
- char *line;\r
- int i = strlen (msg);\r
- \r
- do\r
- {\r
-- line = getline ();\r
-+ line = get_line ();\r
- }\r
- while (strncmp (line, msg, i) != 0 && strncmp (line, "5", 1) != 0);\r
- \r
- return (line);\r
- }\r
-@@ -919,11 +919,11 @@
- nostat = 0;\r
- putserv ("STAT .\n");\r
- \r
- while (strncmp (line, "213 ", 4) != 0)\r
- {\r
-- line = getline ();\r
-+ line = get_line ();\r
- tmp = getdir (line);\r
- \r
- if (tmp == NULL)\r
- continue;\r
- if (dirroot == NULL)\r
-@@ -1279,14 +1279,14 @@
- break;\r
- }\r
- \r
- string[tesopt.dirlen] = 0;\r
- putserv ("MKD %s\n", string);\r
-- getline ();\r
-+ get_line ();\r
- \r
- putserv ("CWD %s\n", string);\r
-- getline ();\r
-+ get_line ();\r
- }\r
- \r
- getpwd ();\r
- disp = 1;\r
- \r
-@@ -1318,11 +1318,11 @@
- \r
- if (strlen (string) < 20)\r
- err (0, "cwd string too short.. check for 0x0's.\n");\r
- \r
- putserv ("CWD %s\n", string);\r
-- getline ();\r
-+ get_line ();\r
- \r
- /************ jmpbuf ***********/\r
- \r
- if (debug > 0)\r
- printf ("Sending jmpbuf\n");\r
-@@ -1334,11 +1334,11 @@
- if (strlen (string) != 32)\r
- err (0, "jmpbuf string too short.. check for 0x0's.\n");\r
- \r
- putserv ("%s\n", string);\r
- \r
-- getline ();\r
-+ get_line ();\r
- \r
- return (1);\r
- }\r
- \r
- /* shell\r