CCL Home Page
Up Directory CCL kill_tomcat41180.c
#include 
#include 
#include 

int main (int argc, char *argv[]) {
  int i;
  char killme[1000]="kill -9 ";
  for(i = 1; i < argc; i++) {
    strcat(killme, argv[i]);
    strcat(killme, " ");
  }


  fprintf(stderr, "Command: %s\n", killme);

  setreuid(41180,41180);
  setregid(41180,41180);

  system(killme);

  exit(0);
}
Modified: Mon Mar 10 06:41:24 2003 GMT
Page accessed 3837 times since Wed Mar 12 11:18:11 2003 GMT