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 | : 52.14.150.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 /
ruby /
[ HOME SHELL ]
Name
Size
Permission
Action
Makefile.swig
942
B
-rw-r--r--
argcargv.i
1.2
KB
-rw-r--r--
attribute.i
34
B
-rw-r--r--
boost_shared_ptr.i
20.93
KB
-rw-r--r--
carrays.i
129
B
-rw-r--r--
cdata.i
30
B
-rw-r--r--
cmalloc.i
32
B
-rw-r--r--
cpointer.i
33
B
-rw-r--r--
cstring.i
32
B
-rw-r--r--
director.swg
6.91
KB
-rw-r--r--
embed.i
169
B
-rw-r--r--
exception.i
126
B
-rw-r--r--
extconf.rb
234
B
-rw-r--r--
factory.i
32
B
-rw-r--r--
file.i
642
B
-rw-r--r--
progargcargv.i
770
B
-rw-r--r--
ruby.swg
2.59
KB
-rw-r--r--
rubyapi.swg
801
B
-rw-r--r--
rubyautodoc.swg
4.26
KB
-rw-r--r--
rubyclasses.swg
11.08
KB
-rw-r--r--
rubycomplex.swg
3.77
KB
-rw-r--r--
rubycontainer.swg
28.13
KB
-rw-r--r--
rubycontainer_extended.swg
3.46
KB
-rw-r--r--
rubydef.swg
42
B
-rw-r--r--
rubyerrors.swg
3.63
KB
-rw-r--r--
rubyfragments.swg
552
B
-rw-r--r--
rubyhead.swg
4.74
KB
-rw-r--r--
rubyinit.swg
39
B
-rw-r--r--
rubyiterators.swg
22.29
KB
-rw-r--r--
rubykw.swg
1.15
KB
-rw-r--r--
rubymacros.swg
456
B
-rw-r--r--
rubyopers.swg
1.81
KB
-rw-r--r--
rubyprimtypes.swg
5.34
KB
-rw-r--r--
rubyrun.swg
13.76
KB
-rw-r--r--
rubyruntime.swg
423
B
-rw-r--r--
rubystdautodoc.swg
1.78
KB
-rw-r--r--
rubystdcommon.swg
4.8
KB
-rw-r--r--
rubystdcommon_forward.swg
542
B
-rw-r--r--
rubystdfunctors.swg
3.96
KB
-rw-r--r--
rubystrings.swg
1.53
KB
-rw-r--r--
rubytracking.swg
4.66
KB
-rw-r--r--
rubytypemaps.swg
1.77
KB
-rw-r--r--
rubyuserdir.swg
657
B
-rw-r--r--
rubywstrings.swg
2.03
KB
-rw-r--r--
std_alloc.i
27
B
-rw-r--r--
std_array.i
3.45
KB
-rw-r--r--
std_basic_string.i
2.6
KB
-rw-r--r--
std_char_traits.i
33
B
-rw-r--r--
std_common.i
2.28
KB
-rw-r--r--
std_complex.i
612
B
-rw-r--r--
std_container.i
60
B
-rw-r--r--
std_deque.i
731
B
-rw-r--r--
std_except.i
35
B
-rw-r--r--
std_functors.i
768
B
-rw-r--r--
std_ios.i
380
B
-rw-r--r--
std_iostream.i
227
B
-rw-r--r--
std_list.i
1.04
KB
-rw-r--r--
std_map.i
11.06
KB
-rw-r--r--
std_multimap.i
5.98
KB
-rw-r--r--
std_multiset.i
1.4
KB
-rw-r--r--
std_pair.i
5.41
KB
-rw-r--r--
std_queue.i
850
B
-rw-r--r--
std_set.i
6.38
KB
-rw-r--r--
std_shared_ptr.i
4.15
KB
-rw-r--r--
std_sstream.i
30
B
-rw-r--r--
std_stack.i
852
B
-rw-r--r--
std_streambuf.i
31
B
-rw-r--r--
std_string.i
153
B
-rw-r--r--
std_unordered_map.i
2.92
KB
-rw-r--r--
std_unordered_multimap.i
3.48
KB
-rw-r--r--
std_unordered_multiset.i
1.87
KB
-rw-r--r--
std_unordered_set.i
1.77
KB
-rw-r--r--
std_vector.i
1.19
KB
-rw-r--r--
std_vectora.i
950
B
-rw-r--r--
std_wstring.i
1.3
KB
-rw-r--r--
stl.i
291
B
-rw-r--r--
timeval.i
1.15
KB
-rw-r--r--
typemaps.i
11.05
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 Ruby proxy * methods can be called from C++. * ----------------------------------------------------------------------------- */ /* Use -DSWIG_DIRECTOR_NOUEH if you prefer to avoid the use of the Undefined Exception Handler provided by swig. */ #ifndef SWIG_DIRECTOR_NOUEH #ifndef SWIG_DIRECTOR_UEH #define SWIG_DIRECTOR_UEH #endif #endif #include <string> #include <iostream> #include <exception> #include <map> # define SWIG_DIRECTOR_CAST(ARG) dynamic_cast<Swig::Director *>(ARG) namespace Swig { /* memory handler */ struct GCItem { virtual ~GCItem() { } virtual swig_ruby_owntype get_own() const { swig_ruby_owntype own = {0, 0}; return own; } }; 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; }; template <typename Type> struct GCItem_T : GCItem { GCItem_T(Type *ptr) : _ptr(ptr) { } virtual ~GCItem_T() { delete _ptr; } private: Type *_ptr; }; struct GCItem_Object : GCItem { GCItem_Object(swig_ruby_owntype own) : _own(own) { } virtual ~GCItem_Object() { } swig_ruby_owntype get_own() const { return _own; } private: swig_ruby_owntype _own; }; template <typename Type> struct GCArray_T : GCItem { GCArray_T(Type *ptr) : _ptr(ptr) { } virtual ~GCArray_T() { delete[] _ptr; } private: Type *_ptr; }; /* body args */ struct body_args { VALUE recv; ID id; int argc; VALUE *argv; }; /* Base class for director exceptions */ class DirectorException : public std::exception { protected: VALUE swig_error; std::string swig_msg; protected: DirectorException(VALUE error) : swig_error(error) { } DirectorException(VALUE error, const char *hdr, const char *msg ="") : swig_error(error), swig_msg(hdr) { if (msg[0]) { swig_msg += " "; swig_msg += msg; } if (swig_msg.size()) { VALUE str = rb_str_new(swig_msg.data(), swig_msg.size()); swig_error = rb_exc_new3(error, str); } else { swig_error = error; } } public: virtual ~DirectorException() throw() { } VALUE getType() const { return CLASS_OF(swig_error); } VALUE getError() const { return swig_error; } /* Deprecated, use what() instead */ const std::string& getMessage() const { return swig_msg; } const char *what() const throw() { return swig_msg.c_str(); } }; /* Type mismatch in the return value from a Ruby method call */ class DirectorTypeMismatchException : public DirectorException { public: DirectorTypeMismatchException(VALUE error, const char *msg="") : DirectorException(error, "SWIG director type mismatch", msg) { } DirectorTypeMismatchException(const char *msg="") : DirectorException(rb_eTypeError, "SWIG director type mismatch", msg) { } static void raise(VALUE error, const char *msg) { throw DirectorTypeMismatchException(error, msg); } static void raise(const char *msg) { throw DirectorTypeMismatchException(msg); } }; /* Any Ruby exception that occurs during a director method call */ class DirectorMethodException : public DirectorException { public: DirectorMethodException(VALUE error) : DirectorException(error) { } DirectorMethodException(const char *msg = "") : DirectorException(rb_eRuntimeError, "SWIG director method error.", msg) { } static void raise(VALUE error) { throw DirectorMethodException(error); } }; /* Attempted to call a pure virtual method via a director method */ class DirectorPureVirtualException : public DirectorException { public: DirectorPureVirtualException(const char *msg = "") : DirectorException(rb_eRuntimeError, "SWIG director pure virtual method called", msg) { } static void raise(const char *msg) { throw DirectorPureVirtualException(msg); } }; /* Simple thread abstraction for pthreads on win32 */ #ifdef __THREAD__ # define __PTHREAD__ # if defined(_WIN32) || defined(__WIN32__) # define pthread_mutex_lock EnterCriticalSection # define pthread_mutex_unlock LeaveCriticalSection # define pthread_mutex_t CRITICAL_SECTION # define SWIG_MUTEX_INIT(var) var # else # include <pthread.h> # define SWIG_MUTEX_INIT(var) var = PTHREAD_MUTEX_INITIALIZER # endif #endif #ifdef __PTHREAD__ struct Guard { pthread_mutex_t *_mutex; Guard(pthread_mutex_t &mutex) : _mutex(&mutex) { pthread_mutex_lock(_mutex); } ~Guard() { pthread_mutex_unlock(_mutex); } }; # define SWIG_GUARD(mutex) Guard _guard(mutex) #else # define SWIG_GUARD(mutex) #endif /* director base class */ class Director { private: /* pointer to the wrapped Ruby object */ VALUE swig_self; /* flag indicating whether the object is owned by Ruby or c++ */ mutable bool swig_disown_flag; public: /* wrap a Ruby object. */ Director(VALUE self) : swig_self(self), swig_disown_flag(false) { } /* discard our reference at destruction */ virtual ~Director() { } /* return a pointer to the wrapped Ruby object */ VALUE swig_get_self() const { return swig_self; } /* acquire ownership of the wrapped Ruby object (the sense of "disown" is from Ruby) */ void swig_disown() const { if (!swig_disown_flag) { swig_disown_flag = true; } } /* ownership management */ private: typedef std::map<void *, GCItem_var> swig_ownership_map; mutable swig_ownership_map swig_owner; #ifdef __PTHREAD__ static pthread_mutex_t swig_mutex_own; #endif public: template <typename Type> void swig_acquire_ownership_array(Type *vptr) const { if (vptr) { SWIG_GUARD(swig_mutex_own); swig_owner[vptr] = new GCArray_T<Type>(vptr); } } template <typename Type> void swig_acquire_ownership(Type *vptr) const { if (vptr) { SWIG_GUARD(swig_mutex_own); swig_owner[vptr] = new GCItem_T<Type>(vptr); } } void swig_acquire_ownership_obj(void *vptr, swig_ruby_owntype own) const { if (vptr && own.datafree) { SWIG_GUARD(swig_mutex_own); swig_owner[vptr] = new GCItem_Object(own); } } swig_ruby_owntype swig_release_ownership(void *vptr) const { swig_ruby_owntype own = {0, 0}; if (vptr) { SWIG_GUARD(swig_mutex_own); swig_ownership_map::iterator iter = swig_owner.find(vptr); if (iter != swig_owner.end()) { own.datafree = iter->second->get_own().datafree; swig_owner.erase(iter); } } return own; } }; }
Close