Linux ns8.secondary29.go.th 2.6.32-754.28.1.el6.x86_64 #1 SMP Wed Mar 11 18:38:45 UTC 2020 x86_64
Apache/2.2.15 (CentOS)
: 122.154.134.11 | : 122.154.134.9
Cant Read [ /etc/named.conf ]
5.6.40
apache
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
README
+ Create Folder
+ Create File
/
usr /
share /
swig /
1.3.40 /
ruby /
[ HOME SHELL ]
Name
Size
Permission
Action
Makefile.swig
943
B
-rw-r--r--
argcargv.i
1.19
KB
-rw-r--r--
attribute.i
34
B
-rw-r--r--
carrays.i
129
B
-rw-r--r--
cdata.i
30
B
-rw-r--r--
cmalloc.i
32
B
-rw-r--r--
cni.i
42
B
-rw-r--r--
cpointer.i
33
B
-rw-r--r--
cstring.i
32
B
-rw-r--r--
director.swg
8.15
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
639
B
-rw-r--r--
jstring.i
952
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.2
KB
-rw-r--r--
rubyclasses.swg
8.8
KB
-rw-r--r--
rubycomplex.swg
3.24
KB
-rw-r--r--
rubycontainer.swg
26.63
KB
-rw-r--r--
rubycontainer_extended.swg
3.47
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
3.87
KB
-rw-r--r--
rubyinit.swg
39
B
-rw-r--r--
rubyiterators.swg
22.38
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.25
KB
-rw-r--r--
rubyrun.swg
13.36
KB
-rw-r--r--
rubyruntime.swg
423
B
-rw-r--r--
rubystdautodoc.swg
1.7
KB
-rw-r--r--
rubystdcommon.swg
6.45
KB
-rw-r--r--
rubystdfunctors.swg
4.07
KB
-rw-r--r--
rubystrings.swg
1.62
KB
-rw-r--r--
rubytracking.swg
5.19
KB
-rw-r--r--
rubytypemaps.swg
1.76
KB
-rw-r--r--
rubyuserdir.swg
409
B
-rw-r--r--
rubywstrings.swg
2.34
KB
-rw-r--r--
std_alloc.i
27
B
-rw-r--r--
std_basic_string.i
2.58
KB
-rw-r--r--
std_char_traits.i
33
B
-rw-r--r--
std_common.i
1.05
KB
-rw-r--r--
std_complex.i
471
B
-rw-r--r--
std_container.i
60
B
-rw-r--r--
std_deque.i
732
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.01
KB
-rw-r--r--
std_map.i
10.85
KB
-rw-r--r--
std_multimap.i
5.9
KB
-rw-r--r--
std_multiset.i
1.37
KB
-rw-r--r--
std_pair.i
5.21
KB
-rw-r--r--
std_queue.i
851
B
-rw-r--r--
std_set.i
5.82
KB
-rw-r--r--
std_sstream.i
30
B
-rw-r--r--
std_stack.i
853
B
-rw-r--r--
std_streambuf.i
31
B
-rw-r--r--
std_string.i
190
B
-rw-r--r--
std_vector.i
1.19
KB
-rw-r--r--
std_vectora.i
950
B
-rw-r--r--
std_wstring.i
65
B
-rw-r--r--
stl.i
519
B
-rw-r--r--
timeval.i
1
KB
-rw-r--r--
typemaps.i
11.21
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : rubyclasses.swg
#ifdef __cplusplus /* GC_VALUE is used as a replacement of Ruby's VALUE. GC_VALUE automatically handles registering and unregistering of the underlying Ruby object with the GC. It can be used if you want to create STL containers of VALUEs, such as: std::vector< GC_VALUE >; or as a member variable: struct A { GC_VALUE _obj; A(VALUE o) : _obj(o) { } }; or as a input/output value (not much use for this, as VALUE works just as well here, thou): GC_VALUE func(GC_VALUE obj) { GC_VALUE out = rb_obj_classname(obj); return out; } GC_VALUE is 'visible' at the wrapped side, so you can do: %template(RubyVector) std::vector<swig::GC_VALUE>; and all the proper typemaps will be used. */ namespace swig { %nodirector GC_VALUE; // We ignore the constructor so that user can never create a GC_VALUE // manually %ignore GC_VALUE::GC_VALUE; struct GC_VALUE { VALUE inspect() const; VALUE to_s() const; GC_VALUE(); protected: GC_VALUE( const GC_VALUE& ); ~GC_VALUE(); }; %exception GC_VALUE {}; %apply VALUE {GC_VALUE}; // Make sure this is the last typecheck done %typecheck(999999,noblock=1) GC_VALUE, GC_VALUE&, const GC_VALUE& { $1 = 1; }; /* For input */ %typemap(in,noblock=1) GC_VALUE* (GC_VALUE r), GC_VALUE& (GC_VALUE r) { r = $input; $1 = &r; } /* For output */ %typemap(out,noblock=1) GC_VALUE { $result = (VALUE)$1; } %typemap(out,noblock=1) GC_VALUE*, GC_VALUE const & { $result = (VALUE)*$1; } %ignore LANGUAGE_OBJ; typedef GC_VALUE LANGUAGE_OBJ; } %{ namespace swig { class GC_VALUE { protected: // Hash of all GC_VALUE's currently in use static VALUE _hash; VALUE _obj; static ID hash_id; static ID lt_id; static ID gt_id; static ID eq_id; static ID le_id; static ID ge_id; static ID pos_id; static ID neg_id; static ID inv_id; static ID add_id; static ID sub_id; static ID mul_id; static ID div_id; static ID mod_id; static ID and_id; static ID or_id; static ID xor_id; static ID lshift_id; static ID rshift_id; struct OpArgs { VALUE src; ID id; int nargs; VALUE target; }; public: static void initialize() { if ( _hash == Qnil ) { _hash = rb_hash_new(); rb_gc_register_address( &_hash ); } } // this function is never called. Provided for symmetry only. static void cleanup() { rb_gc_unregister_address( &_hash ); } GC_VALUE() : _obj( Qnil ) { } GC_VALUE(const GC_VALUE& item) : _obj(item._obj) { GC_register(); } GC_VALUE(VALUE obj) :_obj(obj) { GC_register(); } ~GC_VALUE() { GC_unregister(); } GC_VALUE & operator=(const GC_VALUE& item) { GC_unregister(); _obj = item._obj; GC_register(); return *this; } void GC_register() { if ( FIXNUM_P(_obj) || SPECIAL_CONST_P(_obj) || SYMBOL_P(_obj) ) return; VALUE val = rb_hash_aref( _hash, _obj ); unsigned n = FIXNUM_P(val) ? NUM2UINT(val) : 0; ++n; rb_hash_aset( _hash, _obj, INT2NUM(n) ); } void GC_unregister() { if ( FIXNUM_P(_obj) || SPECIAL_CONST_P(_obj) || SYMBOL_P(_obj) ) return; // this test should not be needed but I've noticed some very erratic // behavior of none being unregistered in some very rare situations. if ( BUILTIN_TYPE(_obj) == T_NONE ) return; VALUE val = rb_hash_aref( _hash, _obj ); unsigned n = FIXNUM_P(val) ? NUM2UINT(val) : 1; --n; if ( n ) rb_hash_aset( _hash, _obj, INT2NUM(n) ); else rb_hash_delete( _hash, _obj ); } operator VALUE() const { return _obj; } VALUE inspect() const { return rb_inspect(_obj); } VALUE to_s() const { return rb_inspect(_obj); } static VALUE swig_protect_funcall( VALUE p ) { OpArgs* args = (OpArgs*) p; return rb_funcall( args->src, args->id, args->nargs, args->target ); } #define GC_VALUE_CMP( op_id, op, cmp, cmpval ) \ bool op( const GC_VALUE& other ) const \ { \ if ( FIXNUM_P(_obj) && FIXNUM_P(other._obj) ) \ { \ return _obj cmp other._obj; \ } \ bool res = false; \ VALUE ret = Qnil; \ SWIG_RUBY_THREAD_BEGIN_BLOCK; \ if ( rb_respond_to( _obj, op_id ) == Qtrue ) \ { \ int status; \ OpArgs args; \ args.src = _obj; \ args.id = op_id; \ args.nargs = 1; \ args.target = VALUE(other); \ ret = rb_protect( PROTECTFUNC(swig_protect_funcall), \ VALUE(&args), &status ); \ } \ if ( ret == Qnil ) { \ VALUE a = rb_funcall( _obj, hash_id, 0 ); \ VALUE b = rb_funcall( VALUE(other), hash_id, 0 ); \ res = a cmp b; \ } \ else \ { \ res = RTEST( ret ); \ } \ SWIG_RUBY_THREAD_END_BLOCK; \ return res; \ } GC_VALUE_CMP( eq_id, operator==, ==, == 0 ) GC_VALUE_CMP( lt_id, operator<, < , < 0 ) GC_VALUE_CMP( le_id, operator<=, <=, <= 0 ) GC_VALUE_CMP( gt_id, operator>, > , > 0 ) GC_VALUE_CMP( ge_id, operator>=, >=, >= 0 ) #undef GC_VALUE_CMP bool operator!=( const GC_VALUE& other ) { return !(this->operator==(other)); } #define GC_VALUE_UNARY( proc_id, op ) \ GC_VALUE op() const \ { \ VALUE ret = Qnil; \ SWIG_RUBY_THREAD_BEGIN_BLOCK; \ int status; \ OpArgs args; \ args.src = _obj; \ args.id = proc_id; \ args.nargs = 0; \ args.target = Qnil; \ ret = rb_protect( PROTECTFUNC(swig_protect_funcall), VALUE(&args), \ &status ); \ SWIG_RUBY_THREAD_END_BLOCK; \ return ret; \ } GC_VALUE_UNARY( pos_id, operator+ ) GC_VALUE_UNARY( neg_id, operator- ) GC_VALUE_UNARY( inv_id, operator~ ) #undef GC_VALUE_BINARY #define GC_VALUE_BINARY( proc_id, op ) \ GC_VALUE op( const GC_VALUE& other ) const \ { \ VALUE ret = Qnil; \ SWIG_RUBY_THREAD_BEGIN_BLOCK; \ int status; \ OpArgs args; \ args.src = _obj; \ args.id = proc_id; \ args.nargs = 1; \ args.target = VALUE(other); \ ret = rb_protect( PROTECTFUNC(swig_protect_funcall), VALUE(&args), \ &status ); \ SWIG_RUBY_THREAD_END_BLOCK; \ return GC_VALUE(ret); \ } GC_VALUE_BINARY( add_id, operator+ ); GC_VALUE_BINARY( sub_id, operator- ); GC_VALUE_BINARY( mul_id, operator* ); GC_VALUE_BINARY( div_id, operator/ ); GC_VALUE_BINARY( mod_id, operator% ); GC_VALUE_BINARY( and_id, operator& ); GC_VALUE_BINARY( xor_id, operator^ ); GC_VALUE_BINARY( or_id, operator| ); GC_VALUE_BINARY( lshift_id, operator<< ); GC_VALUE_BINARY( rshift_id, operator>> ); #undef GC_VALUE_BINARY }; ID GC_VALUE::hash_id = rb_intern("hash"); ID GC_VALUE::lt_id = rb_intern("<"); ID GC_VALUE::gt_id = rb_intern(">"); ID GC_VALUE::eq_id = rb_intern("=="); ID GC_VALUE::le_id = rb_intern("<="); ID GC_VALUE::ge_id = rb_intern(">="); ID GC_VALUE::pos_id = rb_intern("+@"); ID GC_VALUE::neg_id = rb_intern("-@"); ID GC_VALUE::inv_id = rb_intern("~"); ID GC_VALUE::add_id = rb_intern("+"); ID GC_VALUE::sub_id = rb_intern("-"); ID GC_VALUE::mul_id = rb_intern("*"); ID GC_VALUE::div_id = rb_intern("/"); ID GC_VALUE::mod_id = rb_intern("%"); ID GC_VALUE::and_id = rb_intern("&"); ID GC_VALUE::or_id = rb_intern("|"); ID GC_VALUE::xor_id = rb_intern("^"); ID GC_VALUE::lshift_id = rb_intern("<<"); ID GC_VALUE::rshift_id = rb_intern(">>"); VALUE GC_VALUE::_hash = Qnil; typedef GC_VALUE LANGUAGE_OBJ; } // namespace swig %} %init { swig::GC_VALUE::initialize(); } // // Fragment that contains traits to properly deal with GC_VALUE. // These functions may be invoked as a need of the from(), asval(), // asptr() and as() template functors, usually used in %typemaps. // %fragment(SWIG_Traits_frag(swig::GC_VALUE),"header",fragment="StdTraits") { namespace swig { template <> struct traits<GC_VALUE > { typedef value_category category; static const char* type_name() { return "GC_VALUE"; } }; template <> struct traits_from<GC_VALUE> { typedef GC_VALUE value_type; static VALUE from(const value_type& val) { return static_cast<VALUE>(val); } }; template <> struct traits_check<GC_VALUE, value_category> { static bool check(GC_VALUE) { return true; } }; template <> struct traits_asval<GC_VALUE > { typedef GC_VALUE value_type; static int asval(VALUE obj, value_type *val) { if (val) *val = obj; return SWIG_OK; } }; } // swig } // %fragment(traits for swig::GC_VALUE) #endif // __cplusplus
Close