Linux ip-172-26-2-223 5.4.0-1018-aws #18-Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64
Apache
: 172.26.2.223 | : 18.119.108.165
Cant Read [ /etc/named.conf ]
8.1.13
www
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
share /
swig4.0 /
php /
[ HOME SHELL ]
Name
Size
Permission
Action
const.i
1.39
KB
-rw-r--r--
director.swg
3.99
KB
-rw-r--r--
factory.i
3.04
KB
-rw-r--r--
globalvar.i
7.42
KB
-rw-r--r--
php.swg
13.59
KB
-rw-r--r--
phpinit.swg
695
B
-rw-r--r--
phpkw.swg
21.53
KB
-rw-r--r--
phppointers.i
1.48
KB
-rw-r--r--
phprun.swg
8.09
KB
-rw-r--r--
std_common.i
290
B
-rw-r--r--
std_deque.i
28
B
-rw-r--r--
std_map.i
2.6
KB
-rw-r--r--
std_pair.i
773
B
-rw-r--r--
std_string.i
2.61
KB
-rw-r--r--
std_vector.i
3.04
KB
-rw-r--r--
stl.i
291
B
-rw-r--r--
typemaps.i
9.64
KB
-rw-r--r--
utils.i
2.35
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : director.swg
/* ----------------------------------------------------------------------------- * director.swg * * This file contains support for director classes so that PHP proxy * methods can be called from C++. * ----------------------------------------------------------------------------- */ #ifndef SWIG_DIRECTOR_PHP_HEADER_ #define SWIG_DIRECTOR_PHP_HEADER_ #include <string> #include <exception> #include <map> namespace Swig { /* memory handler */ struct GCItem { virtual ~GCItem() { } virtual int get_own() const { return 0; } }; struct GCItem_var { GCItem_var(GCItem *item = 0) : _item(item) { } GCItem_var& operator=(GCItem *item) { GCItem *tmp = _item; _item = item; delete tmp; return *this; } ~GCItem_var() { delete _item; } GCItem * operator->() const { return _item; } private: GCItem *_item; }; struct GCItem_Object : GCItem { GCItem_Object(int own) : _own(own) { } virtual ~GCItem_Object() { } int get_own() const { return _own; } private: int _own; }; template <typename Type> struct GCItem_T : GCItem { GCItem_T(Type *ptr) : _ptr(ptr) { } virtual ~GCItem_T() { delete _ptr; } private: Type *_ptr; }; class Director { protected: // "mutable" so we can get a non-const pointer to it in const methods. mutable zval swig_self; typedef std::map<void *, GCItem_var> swig_ownership_map; mutable swig_ownership_map swig_owner; public: Director(zval *self) { ZVAL_COPY_VALUE(&swig_self, self); } static bool swig_is_overridden_method(const char *cname, const char *lc_fname) { bool result = false; zend_string * cname_str = zend_string_init(cname, strlen(cname), 0); zend_class_entry *ce = zend_lookup_class(cname_str); if (ce) { zval * mptr = zend_hash_str_find(&ce->function_table, lc_fname, strlen(lc_fname)); if (mptr) { // common.scope points to zend_class_entry for the declaring class, // and there's only one of those per class, so we can just use a // pointer compare here. result = Z_FUNC_P(mptr)->common.scope != ce; } } zend_string_release(cname_str); return result; } template <typename Type> void swig_acquire_ownership(Type *vptr) const { if (vptr) { swig_owner[vptr] = new GCItem_T<Type>(vptr); } } }; /* base class for director exceptions */ class DirectorException : public std::exception { protected: std::string swig_msg; public: DirectorException(int code, const char *hdr, const char *msg) : swig_msg(hdr) { if (msg && msg[0]) { swig_msg += " "; swig_msg += msg; } SWIG_ErrorCode() = code; SWIG_ErrorMsg() = swig_msg.c_str(); } virtual ~DirectorException() throw() { } const char *what() const throw() { return swig_msg.c_str(); } static void raise(int code, const char *hdr, const char *msg) { throw DirectorException(code, hdr, msg); } }; /* attempt to call a pure virtual method via a director method */ class DirectorPureVirtualException : public DirectorException { public: DirectorPureVirtualException(const char *msg) : DirectorException(E_ERROR, "SWIG director pure virtual method called", msg) { } static void raise(const char *msg) { throw DirectorPureVirtualException(msg); } }; /* any php exception that occurs during a director method call */ class DirectorMethodException : public DirectorException { public: DirectorMethodException() : DirectorException(E_ERROR, "SWIG director method error", NULL) { } DirectorMethodException(const char *msg) : DirectorException(E_ERROR, "SWIG director method error", msg) { } static void raise(const char *msg) { throw DirectorMethodException(msg); } }; } #endif
Close