Linux velvet.gennetworks.in 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
LiteSpeed
Server IP : 161.129.70.235 & Your IP : 216.73.216.5
Domains :
Cant Read [ /etc/named.conf ]
User : virtueex
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby18 /
lib64 /
ruby /
1.8 /
Delete
Unzip
Name
Size
Permission
Date
Action
bigdecimal
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
cgi
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
date
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
digest
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
dl
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
drb
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
io
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
irb
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
net
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
openssl
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
optparse
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
racc
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
rdoc
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
rexml
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
rinda
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
rss
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
runit
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
shell
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
soap
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
test
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
uri
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
webrick
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
wsdl
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
x86_64-linux
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
xmlrpc
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
xsd
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
yaml
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
English.rb
5.6
KB
-rw-r--r--
2007-02-13 04:31
Env.rb
274
B
-rw-r--r--
2007-02-13 04:31
abbrev.rb
2.5
KB
-rw-r--r--
2007-02-13 04:31
base64.rb
3.37
KB
-rw-r--r--
2007-07-16 21:17
benchmark.rb
17.73
KB
-rw-r--r--
2008-02-10 20:54
cgi-lib.rb
6.89
KB
-rw-r--r--
2007-02-13 04:31
cgi.rb
73.74
KB
-rw-r--r--
2009-12-14 08:10
complex.rb
12.84
KB
-rw-r--r--
2009-08-03 11:29
csv.rb
24.46
KB
-rw-r--r--
2007-02-13 04:31
date.rb
53.02
KB
-rw-r--r--
2010-06-08 10:15
date2.rb
128
B
-rw-r--r--
2007-02-13 04:31
debug.rb
20.61
KB
-rw-r--r--
2007-02-13 04:31
delegate.rb
8.81
KB
-rw-r--r--
2009-07-16 06:05
digest.rb
1.12
KB
-rw-r--r--
2007-07-28 06:10
drb.rb
19
B
-rw-r--r--
2007-02-13 04:31
e2mmap.rb
4.04
KB
-rw-r--r--
2007-02-13 04:31
erb.rb
21.38
KB
-rw-r--r--
2009-02-23 23:14
eregex.rb
487
B
-rw-r--r--
2007-02-13 04:31
expect.rb
633
B
-rw-r--r--
2008-02-18 06:47
fileutils.rb
42.23
KB
-rw-r--r--
2011-05-21 03:59
finalize.rb
5.38
KB
-rw-r--r--
2007-02-13 04:31
find.rb
1.84
KB
-rw-r--r--
2007-02-13 04:31
forwardable.rb
6.16
KB
-rw-r--r--
2008-06-06 13:35
ftools.rb
6.17
KB
-rw-r--r--
2007-02-13 04:31
generator.rb
8.1
KB
-rw-r--r--
2008-04-10 16:22
getoptlong.rb
14.88
KB
-rw-r--r--
2007-02-13 04:31
getopts.rb
2.25
KB
-rw-r--r--
2007-02-13 04:31
gserver.rb
6.43
KB
-rw-r--r--
2007-02-13 04:31
importenv.rb
590
B
-rw-r--r--
2007-02-13 04:31
ipaddr.rb
21.96
KB
-rw-r--r--
2008-07-12 20:38
irb.rb
7.43
KB
-rw-r--r--
2009-08-09 14:14
jcode.rb
4.3
KB
-rw-r--r--
2007-02-13 04:31
kconv.rb
8.12
KB
-rw-r--r--
2007-02-13 04:31
logger.rb
17.59
KB
-rw-r--r--
2011-05-30 07:38
mailread.rb
1.28
KB
-rw-r--r--
2007-02-13 04:31
mathn.rb
5.42
KB
-rw-r--r--
2007-02-13 04:31
matrix.rb
27.21
KB
-rw-r--r--
2009-01-24 20:32
md5.rb
411
B
-rw-r--r--
2007-03-06 15:39
mkmf.rb
50.65
KB
-rw-r--r--
2010-12-04 12:04
monitor.rb
7.93
KB
-rw-r--r--
2009-11-25 13:15
mutex_m.rb
2.07
KB
-rw-r--r--
2007-02-13 04:31
observer.rb
5.15
KB
-rw-r--r--
2007-02-13 04:31
open-uri.rb
20.49
KB
-rw-r--r--
2007-10-08 16:46
open3.rb
2.1
KB
-rw-r--r--
2009-12-14 09:58
openssl.rb
575
B
-rw-r--r--
2010-11-22 12:51
optparse.rb
47.12
KB
-rw-r--r--
2009-02-20 17:13
ostruct.rb
3.35
KB
-rw-r--r--
2009-05-26 17:36
parsearg.rb
1.55
KB
-rw-r--r--
2007-02-13 04:31
parsedate.rb
1.33
KB
-rw-r--r--
2007-02-13 04:31
pathname.rb
29.39
KB
-rw-r--r--
2010-11-23 13:51
ping.rb
1.48
KB
-rw-r--r--
2007-02-13 04:31
pp.rb
15.97
KB
-rw-r--r--
2007-06-07 15:36
prettyprint.rb
18.33
KB
-rw-r--r--
2007-02-17 01:23
profile.rb
90
B
-rw-r--r--
2007-02-13 04:31
profiler.rb
1.59
KB
-rw-r--r--
2007-02-13 04:31
pstore.rb
11.15
KB
-rw-r--r--
2008-06-06 13:35
rational.rb
12.05
KB
-rw-r--r--
2010-06-08 10:32
readbytes.rb
835
B
-rw-r--r--
2007-02-13 04:31
resolv-replace.rb
1.55
KB
-rw-r--r--
2008-08-08 07:28
resolv.rb
56.83
KB
-rw-r--r--
2010-12-23 08:52
rss.rb
504
B
-rw-r--r--
2007-10-21 17:49
rubyunit.rb
180
B
-rw-r--r--
2007-02-13 04:31
scanf.rb
20.63
KB
-rw-r--r--
2009-01-20 08:53
securerandom.rb
4.27
KB
-rw-r--r--
2011-12-10 17:47
set.rb
27.08
KB
-rw-r--r--
2008-06-09 14:50
sha1.rb
418
B
-rw-r--r--
2007-03-06 15:39
shell.rb
4.66
KB
-rw-r--r--
2007-02-13 04:31
shellwords.rb
3.99
KB
-rw-r--r--
2008-03-21 17:46
singleton.rb
8.08
KB
-rw-r--r--
2008-07-03 16:44
sync.rb
6.09
KB
-rw-r--r--
2009-02-19 22:11
tempfile.rb
4.86
KB
-rw-r--r--
2008-04-21 15:13
thread.rb
104
B
-rw-r--r--
2007-02-14 01:09
thwait.rb
4.32
KB
-rw-r--r--
2010-06-08 12:38
time.rb
31.58
KB
-rw-r--r--
2008-06-06 13:35
timeout.rb
3
KB
-rw-r--r--
2010-06-08 11:54
tmpdir.rb
3.69
KB
-rw-r--r--
2009-01-26 07:42
tracer.rb
2.73
KB
-rw-r--r--
2007-02-13 04:31
tsort.rb
7.99
KB
-rw-r--r--
2007-02-13 04:31
un.rb
4.54
KB
-rw-r--r--
2007-02-13 04:31
uri.rb
710
B
-rw-r--r--
2008-04-15 15:11
weakref.rb
2.68
KB
-rw-r--r--
2007-02-13 04:31
webrick.rb
811
B
-rw-r--r--
2007-02-13 04:31
yaml.rb
12.36
KB
-rw-r--r--
2008-04-19 17:15
Save
Rename
# # tempfile - manipulates temporary files # # $Id: tempfile.rb 16127 2008-04-21 09:43:44Z knu $ # require 'delegate' require 'tmpdir' # A class for managing temporary files. This library is written to be # thread safe. class Tempfile < DelegateClass(File) MAX_TRY = 10 @@cleanlist = [] # Creates a temporary file of mode 0600 in the temporary directory, # opens it with mode "w+", and returns a Tempfile object which # represents the created temporary file. A Tempfile object can be # treated just like a normal File object. # # The basename parameter is used to determine the name of a # temporary file. If an Array is given, the first element is used # as prefix string and the second as suffix string, respectively. # Otherwise it is treated as prefix string. # # If tmpdir is omitted, the temporary directory is determined by # Dir::tmpdir provided by 'tmpdir.rb'. # When $SAFE > 0 and the given tmpdir is tainted, it uses # /tmp. (Note that ENV values are tainted by default) def initialize(basename, tmpdir=Dir::tmpdir) if $SAFE > 0 and tmpdir.tainted? tmpdir = '/tmp' end lock = nil n = failure = 0 begin Thread.critical = true begin tmpname = File.join(tmpdir, make_tmpname(basename, n)) lock = tmpname + '.lock' n += 1 end while @@cleanlist.include?(tmpname) or File.exist?(lock) or File.exist?(tmpname) Dir.mkdir(lock) rescue failure += 1 retry if failure < MAX_TRY raise "cannot generate tempfile `%s'" % tmpname ensure Thread.critical = false end @data = [tmpname] @clean_proc = Tempfile.callback(@data) ObjectSpace.define_finalizer(self, @clean_proc) @tmpfile = File.open(tmpname, File::RDWR|File::CREAT|File::EXCL, 0600) @tmpname = tmpname @@cleanlist << @tmpname @data[1] = @tmpfile @data[2] = @@cleanlist super(@tmpfile) # Now we have all the File/IO methods defined, you must not # carelessly put bare puts(), etc. after this. Dir.rmdir(lock) end def make_tmpname(basename, n) case basename when Array prefix, suffix = *basename else prefix, suffix = basename, '' end t = Time.now.strftime("%Y%m%d") path = "#{prefix}#{t}-#{$$}-#{rand(0x100000000).to_s(36)}-#{n}#{suffix}" end private :make_tmpname # Opens or reopens the file with mode "r+". def open @tmpfile.close if @tmpfile @tmpfile = File.open(@tmpname, 'r+') @data[1] = @tmpfile __setobj__(@tmpfile) end def _close # :nodoc: @tmpfile.close if @tmpfile @tmpfile = nil @data[1] = nil if @data end protected :_close # Closes the file. If the optional flag is true, unlinks the file # after closing. # # If you don't explicitly unlink the temporary file, the removal # will be delayed until the object is finalized. def close(unlink_now=false) if unlink_now close! else _close end end # Closes and unlinks the file. def close! _close @clean_proc.call ObjectSpace.undefine_finalizer(self) @data = @tmpname = nil end # Unlinks the file. On UNIX-like systems, it is often a good idea # to unlink a temporary file immediately after creating and opening # it, because it leaves other programs zero chance to access the # file. def unlink # keep this order for thread safeness begin File.unlink(@tmpname) if File.exist?(@tmpname) @@cleanlist.delete(@tmpname) @data = @tmpname = nil ObjectSpace.undefine_finalizer(self) rescue Errno::EACCES # may not be able to unlink on Windows; just ignore end end alias delete unlink # Returns the full path name of the temporary file. def path @tmpname end # Returns the size of the temporary file. As a side effect, the IO # buffer is flushed before determining the size. def size if @tmpfile @tmpfile.flush @tmpfile.stat.size else 0 end end alias length size class << self def callback(data) # :nodoc: pid = $$ lambda{ if pid == $$ path, tmpfile, cleanlist = *data print "removing ", path, "..." if $DEBUG tmpfile.close if tmpfile # keep this order for thread safeness File.unlink(path) if File.exist?(path) cleanlist.delete(path) if cleanlist print "done\n" if $DEBUG end } end # If no block is given, this is a synonym for new(). # # If a block is given, it will be passed tempfile as an argument, # and the tempfile will automatically be closed when the block # terminates. In this case, open() returns nil. def open(*args) tempfile = new(*args) if block_given? begin yield(tempfile) ensure tempfile.close end nil else tempfile end end end end if __FILE__ == $0 # $DEBUG = true f = Tempfile.new("foo") f.print("foo\n") f.close f.open p f.gets # => "foo\n" f.close! end