Linux premium155.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
: 162.0.235.200 | : 3.133.133.39
Cant Read [ /etc/named.conf ]
7.4.33
varifktc
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
/
opt /
alt /
ruby26 /
lib64 /
ruby /
2.6.0 /
shell /
[ HOME SHELL ]
Name
Size
Permission
Action
builtin-command.rb
2.43
KB
-rw-r--r--
command-processor.rb
18.71
KB
-rw-r--r--
error.rb
604
B
-rw-r--r--
filter.rb
2.59
KB
-rw-r--r--
process-controller.rb
7.51
KB
-rw-r--r--
system-command.rb
3.59
KB
-rw-r--r--
version.rb
306
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : filter.rb
# frozen_string_literal: false # # shell/filter.rb - # $Release Version: 0.7 $ # $Revision: 58212 $ # by Keiju ISHITSUKA(keiju@ruby-lang.org) # # -- # # # class Shell #:nodoc: # Any result of command execution is a Filter. # # This class includes Enumerable, therefore a Filter object can use all # Enumerable # facilities. # class Filter include Enumerable def initialize(sh) @shell = sh # parent shell @input = nil # input filter end attr_reader :input def input=(filter) @input = filter end # call-seq: # each(record_separator=nil) { block } # # Iterates a block for each line. def each(rs = nil) rs = @shell.record_separator unless rs if @input @input.each(rs){|l| yield l} end end # call-seq: # < source # # Inputs from +source+, which is either a string of a file name or an IO # object. def <(src) case src when String cat = Cat.new(@shell, src) cat | self when IO self.input = src self else Shell.Fail Error::CantApplyMethod, "<", src.class end end # call-seq: # > source # # Outputs from +source+, which is either a string of a file name or an IO # object. def >(to) case to when String dst = @shell.open(to, "w") begin each(){|l| dst << l} ensure dst.close end when IO each(){|l| to << l} else Shell.Fail Error::CantApplyMethod, ">", to.class end self end # call-seq: # >> source # # Appends the output to +source+, which is either a string of a file name # or an IO object. def >>(to) begin Shell.cd(@shell.pwd).append(to, self) rescue CantApplyMethod Shell.Fail Error::CantApplyMethod, ">>", to.class end end # call-seq: # | filter # # Processes a pipeline. def |(filter) filter.input = self if active? @shell.process_controller.start_job filter end filter end # call-seq: # filter1 + filter2 # # Outputs +filter1+, and then +filter2+ using Join.new def +(filter) Join.new(@shell, self, filter) end def to_a ary = [] each(){|l| ary.push l} ary end def to_s str = "" each(){|l| str.concat l} str end def inspect if @shell.debug.kind_of?(Integer) && @shell.debug > 2 super else to_s end end end end
Close