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/g++.dg/torture/   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:     pr81977.C (1007 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* { dg-do run } */
/* { dg-require-effective-target int32plus } */

#include <cstdint>

typedef struct
{
  uint16_t  x ;
  uint16_t  y ;
  uint64_t  z ;
} __attribute__((packed, aligned(1))) TestMsgType;

struct Payload
{
  uint16_t header_info[2];
  TestMsgType _pref;
  void Pack(uint8_t *buffer)
    {
      __builtin_memcpy(buffer, &_pref, sizeof(_pref));
    }
  void UnPack(uint8_t *buffer)
    {
      __builtin_memcpy(&_pref, buffer, sizeof(_pref));
    }
};


struct Msg
{
  Payload _payload;
  void Pack(uint8_t *buffer)
    {
      _payload.Pack(buffer);
    }

  void UnPack(uint8_t *buffer)
    {
      _payload.UnPack(buffer);
    }
};

int main()
{
  uint8_t * buffer = new uint8_t [30];
  Msg msg;
  Msg msg1;
  msg._payload._pref.x             = 0xabcd;
  msg._payload._pref.y             = 0xa;
  msg._payload._pref.z             = 0x0001020304051617;
  msg.Pack(&buffer[0]);
  msg1.UnPack(&buffer[0]);
  if (msg1._payload._pref.x != 0xabcd)
    __builtin_abort ();
  delete [] buffer;
}

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