Bugtraq mailing list archives

firewall HTTPD


From: hobbit () bronze lcs mit edu (*Hobbit*)
Date: Wed, 15 Feb 1995 18:37:14 -0500


I've looked this over carefully, and can't find any instances of setuid(),
gets(), popen(), strcat(), exec() or the like that look questionable to me.
But you should read all 2.5 Mb of the code yourself just to make sure!

Smileys are for wimps...

_H*

==============================
#include <stdio.h>

main () {
  char buf[80];
  fgets (buf, 77, stdin);
  printf ("\
<h1>    Acme Widgets Corporate Headquarters </h1>\r\n\
\r\n\
     Sorry, no Web server here.  Try \
<a href=ftp://ftp.acmewidgets.com>anonymous FTP.</a>\r\n\
");
  fflush (stdout);
  sleep (1);            /* so the net finishes flushing */
  exit (0);
}



Current thread: