!C99Shell v. 1.0 pre-release build #13!

Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a 

uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 

uid=99(nobody) gid=98(nobody) groups=98(nobody) 

Safe-mode: OFF (not secure)

/usr/doc/glibc-2.3.1/linuxthreads/Examples/   drwxr-xr-x
Free 318.39 GB of 458.09 GB (69.5%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     ex15.c (951 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <pthread.h>
#include <unistd.h>

static void *worker (void *dummy) __attribute__ ((__noreturn__));

static void *
worker (void *dummy)
{
  exit (26);
}

#define TEST_FUNCTION do_test ()
#define TIMEOUT 10
static int
do_test (void)
{
  pthread_t th;
  pid_t pid;
  int status;

  switch ((pid = fork ()))
    {
    case -1:
      puts ("Could not fork");
      exit (1);
    case 0:
      if (pthread_create(&th, NULL, worker, NULL) != 0)
    {
      puts ("Failed to start thread");
      exit (1);
    }
      for (;;);
      exit (1);
    default:
      break;
    }

  if (waitpid (pid, &status, 0) != pid)
    {
      puts ("waitpid failed");
      exit (1);
    }

  if (!WIFEXITED (status) || WEXITSTATUS (status) != 26)
    {
      printf ("Wrong exit code %d\n", status);
      exit (1);
    }

  puts ("All OK");
  return 0;
}

#include "../../test-skeleton.c"

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0044 ]--