Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby23 /
lib64 /
ruby /
2.3.0 /
Delete
Unzip
Name
Size
Permission
Date
Action
cgi
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
digest
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
drb
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
fiddle
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
io
[ DIR ]
drwxr-xr-x
2023-07-26 10:28
irb
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
json
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
matrix
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
net
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
openssl
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
optparse
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
psych
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
racc
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
rbconfig
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
rdoc
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
rexml
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
rinda
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
ripper
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
rss
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
rubygems
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
shell
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
syslog
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
unicode_normalize
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
uri
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
webrick
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
x86_64-linux
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
xmlrpc
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
yaml
[ DIR ]
drwxr-xr-x
2023-08-27 00:26
English.rb
6.45
KB
-rw-r--r--
2015-12-16 00:07
abbrev.rb
3.49
KB
-rw-r--r--
2015-12-16 00:07
base64.rb
3.31
KB
-rw-r--r--
2015-12-16 00:07
benchmark.rb
17.9
KB
-rw-r--r--
2015-12-22 22:43
cgi.rb
9.8
KB
-rw-r--r--
2015-12-16 00:07
cmath.rb
9.48
KB
-rw-r--r--
2015-12-16 00:07
csv.rb
82.15
KB
-rw-r--r--
2015-12-19 00:23
date.rb
1011
B
-rw-r--r--
2023-07-26 10:28
debug.rb
29.97
KB
-rw-r--r--
2015-12-16 00:07
delegate.rb
10.29
KB
-rw-r--r--
2015-12-16 00:07
digest.rb
2.82
KB
-rw-r--r--
2023-07-26 10:28
drb.rb
50
B
-rw-r--r--
2015-12-16 00:07
e2mmap.rb
3.8
KB
-rw-r--r--
2015-12-16 00:07
erb.rb
26.45
KB
-rw-r--r--
2017-06-30 07:24
expect.rb
2.17
KB
-rw-r--r--
2023-07-26 10:28
fiddle.rb
1.68
KB
-rw-r--r--
2023-07-26 10:28
fileutils.rb
47.47
KB
-rw-r--r--
2017-03-27 12:57
find.rb
2.51
KB
-rw-r--r--
2015-12-16 00:07
forwardable.rb
7.97
KB
-rw-r--r--
2018-03-18 11:04
getoptlong.rb
15.41
KB
-rw-r--r--
2015-12-22 22:43
ipaddr.rb
17.08
KB
-rw-r--r--
2015-12-16 00:07
irb.rb
20.06
KB
-rw-r--r--
2016-03-29 02:10
json.rb
1.77
KB
-rw-r--r--
2023-07-26 10:28
kconv.rb
5.77
KB
-rw-r--r--
2023-07-26 10:28
logger.rb
21.93
KB
-rw-r--r--
2016-10-17 13:38
mathn.rb
3.87
KB
-rw-r--r--
2015-12-16 00:07
matrix.rb
53.37
KB
-rw-r--r--
2015-12-16 00:07
mkmf.rb
83.79
KB
-rw-r--r--
2023-07-26 10:26
monitor.rb
7.01
KB
-rw-r--r--
2015-12-16 00:07
mutex_m.rb
2.03
KB
-rw-r--r--
2015-12-16 00:07
observer.rb
5.83
KB
-rw-r--r--
2015-12-16 00:07
open-uri.rb
24.61
KB
-rw-r--r--
2015-11-10 22:48
open3.rb
20.67
KB
-rw-r--r--
2015-11-14 02:43
openssl.rb
445
B
-rw-r--r--
2023-07-26 10:28
optionparser.rb
59
B
-rw-r--r--
2015-12-16 00:07
optparse.rb
56.91
KB
-rw-r--r--
2017-08-09 03:56
ostruct.rb
9.95
KB
-rw-r--r--
2018-01-31 06:05
pathname.rb
16.08
KB
-rw-r--r--
2023-07-26 10:28
pp.rb
14.2
KB
-rw-r--r--
2015-11-10 06:48
prettyprint.rb
15.89
KB
-rw-r--r--
2015-11-10 06:48
prime.rb
12.35
KB
-rw-r--r--
2015-12-16 00:07
profile.rb
236
B
-rw-r--r--
2015-12-16 00:07
profiler.rb
4.54
KB
-rw-r--r--
2015-12-16 00:07
pstore.rb
14.58
KB
-rw-r--r--
2015-12-22 22:43
psych.rb
15.29
KB
-rw-r--r--
2023-07-26 10:28
psych_jars.rb
175
B
-rw-r--r--
2023-07-26 10:28
rdoc.rb
5.07
KB
-rw-r--r--
2015-12-22 07:08
resolv-replace.rb
1.76
KB
-rw-r--r--
2015-11-14 03:25
resolv.rb
73.52
KB
-rw-r--r--
2018-03-28 02:03
ripper.rb
2.56
KB
-rw-r--r--
2023-07-26 10:28
rss.rb
2.87
KB
-rw-r--r--
2015-12-16 00:07
rubygems.rb
32.24
KB
-rw-r--r--
2018-02-16 11:21
scanf.rb
23.56
KB
-rw-r--r--
2015-12-16 00:07
securerandom.rb
7.49
KB
-rw-r--r--
2016-04-22 11:30
set.rb
19.67
KB
-rw-r--r--
2015-11-16 02:41
shell.rb
11.33
KB
-rw-r--r--
2015-12-16 00:07
shellwords.rb
6.28
KB
-rw-r--r--
2015-12-16 04:25
singleton.rb
4.05
KB
-rw-r--r--
2015-12-16 00:07
socket.rb
43.49
KB
-rw-r--r--
2023-07-26 10:28
sync.rb
7.29
KB
-rw-r--r--
2015-12-16 00:07
tempfile.rb
10.87
KB
-rw-r--r--
2017-03-27 10:47
thwait.rb
3.34
KB
-rw-r--r--
2015-12-16 00:07
time.rb
22.28
KB
-rw-r--r--
2015-11-14 07:45
timeout.rb
3.68
KB
-rw-r--r--
2015-12-18 10:46
tmpdir.rb
4.17
KB
-rw-r--r--
2018-03-28 06:29
tracer.rb
6.43
KB
-rw-r--r--
2015-12-16 00:07
tsort.rb
14.3
KB
-rw-r--r--
2015-11-14 03:46
ubygems.rb
299
B
-rw-r--r--
2015-12-16 00:07
un.rb
8.87
KB
-rw-r--r--
2015-12-16 00:07
unicode_normalize.rb
3.19
KB
-rw-r--r--
2015-12-16 00:07
uri.rb
3.1
KB
-rw-r--r--
2015-12-16 00:07
weakref.rb
2.95
KB
-rw-r--r--
2015-12-16 00:07
webrick.rb
6.72
KB
-rw-r--r--
2015-12-22 22:43
xmlrpc.rb
8.93
KB
-rw-r--r--
2015-12-22 22:43
yaml.rb
1.73
KB
-rw-r--r--
2015-12-16 00:07
Save
Rename
# frozen_string_literal: false require 'thread' # The Singleton module implements the Singleton pattern. # # == Usage # # To use Singleton, include the module in your class. # # class Klass # include Singleton # # ... # end # # This ensures that only one instance of Klass can be created. # # a,b = Klass.instance, Klass.instance # # a == b # # => true # # Klass.new # # => NoMethodError - new is private ... # # The instance is created at upon the first call of Klass.instance(). # # class OtherKlass # include Singleton # # ... # end # # ObjectSpace.each_object(OtherKlass){} # # => 0 # # OtherKlass.instance # ObjectSpace.each_object(OtherKlass){} # # => 1 # # # This behavior is preserved under inheritance and cloning. # # == Implementation # # This above is achieved by: # # * Making Klass.new and Klass.allocate private. # # * Overriding Klass.inherited(sub_klass) and Klass.clone() to ensure that the # Singleton properties are kept when inherited and cloned. # # * Providing the Klass.instance() method that returns the same object each # time it is called. # # * Overriding Klass._load(str) to call Klass.instance(). # # * Overriding Klass#clone and Klass#dup to raise TypeErrors to prevent # cloning or duping. # # == Singleton and Marshal # # By default Singleton's #_dump(depth) returns the empty string. Marshalling by # default will strip state information, e.g. instance variables and taint # state, from the instance. Classes using Singleton can provide custom # _load(str) and _dump(depth) methods to retain some of the previous state of # the instance. # # require 'singleton' # # class Example # include Singleton # attr_accessor :keep, :strip # def _dump(depth) # # this strips the @strip information from the instance # Marshal.dump(@keep, depth) # end # # def self._load(str) # instance.keep = Marshal.load(str) # instance # end # end # # a = Example.instance # a.keep = "keep this" # a.strip = "get rid of this" # a.taint # # stored_state = Marshal.dump(a) # # a.keep = nil # a.strip = nil # b = Marshal.load(stored_state) # p a == b # => true # p a.keep # => "keep this" # p a.strip # => nil # module Singleton # Raises a TypeError to prevent cloning. def clone raise TypeError, "can't clone instance of singleton #{self.class}" end # Raises a TypeError to prevent duping. def dup raise TypeError, "can't dup instance of singleton #{self.class}" end # By default, do not retain any state when marshalling. def _dump(depth = -1) '' end module SingletonClassMethods # :nodoc: def clone # :nodoc: Singleton.__init__(super) end # By default calls instance(). Override to retain singleton state. def _load(str) instance end private def inherited(sub_klass) super Singleton.__init__(sub_klass) end end class << Singleton # :nodoc: def __init__(klass) # :nodoc: klass.instance_eval { @singleton__instance__ = nil @singleton__mutex__ = Mutex.new } def klass.instance # :nodoc: return @singleton__instance__ if @singleton__instance__ @singleton__mutex__.synchronize { return @singleton__instance__ if @singleton__instance__ @singleton__instance__ = new() } @singleton__instance__ end klass end private # extending an object with Singleton is a bad idea undef_method :extend_object def append_features(mod) # help out people counting on transitive mixins unless mod.instance_of?(Class) raise TypeError, "Inclusion of the OO-Singleton module in module #{mod}" end super end def included(klass) super klass.private_class_method :new, :allocate klass.extend SingletonClassMethods Singleton.__init__(klass) end end ## # :singleton-method: _load # By default calls instance(). Override to retain singleton state. end