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 295 times since Tue Mar 15 09:58:50 2005 GMT