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.137.219.68
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 /
ruby33 /
share /
ruby /
uri /
[ HOME SHELL ]
Name
Size
Permission
Action
common.rb
25.25
KB
-rw-r--r--
file.rb
2.24
KB
-rw-r--r--
ftp.rb
7.03
KB
-rw-r--r--
generic.rb
37.05
KB
-rw-r--r--
http.rb
3.64
KB
-rw-r--r--
https.rb
558
B
-rw-r--r--
ldap.rb
5.78
KB
-rw-r--r--
ldaps.rb
511
B
-rw-r--r--
mailto.rb
7.83
KB
-rw-r--r--
rfc2396_parser.rb
17.04
KB
-rw-r--r--
rfc3986_parser.rb
4.9
KB
-rw-r--r--
version.rb
150
B
-rw-r--r--
ws.rb
2.24
KB
-rw-r--r--
wss.rb
531
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : rfc3986_parser.rb
# frozen_string_literal: true module URI class RFC3986_Parser # :nodoc: # URI defined in RFC3986 HOST = %r[ (?<IP-literal>\[(?: (?<IPv6address> (?:\h{1,4}:){6} (?<ls32>\h{1,4}:\h{1,4} | (?<IPv4address>(?<dec-octet>[1-9]\d|1\d{2}|2[0-4]\d|25[0-5]|\d) \.\g<dec-octet>\.\g<dec-octet>\.\g<dec-octet>) ) | ::(?:\h{1,4}:){5}\g<ls32> | \h{1,4}?::(?:\h{1,4}:){4}\g<ls32> | (?:(?:\h{1,4}:)?\h{1,4})?::(?:\h{1,4}:){3}\g<ls32> | (?:(?:\h{1,4}:){,2}\h{1,4})?::(?:\h{1,4}:){2}\g<ls32> | (?:(?:\h{1,4}:){,3}\h{1,4})?::\h{1,4}:\g<ls32> | (?:(?:\h{1,4}:){,4}\h{1,4})?::\g<ls32> | (?:(?:\h{1,4}:){,5}\h{1,4})?::\h{1,4} | (?:(?:\h{1,4}:){,6}\h{1,4})?:: ) | (?<IPvFuture>v\h++\.[!$&-.0-9:;=A-Z_a-z~]++) )\]) | \g<IPv4address> | (?<reg-name>(?:%\h\h|[!$&-.0-9;=A-Z_a-z~])*+) ]x USERINFO = /(?:%\h\h|[!$&-.0-9:;=A-Z_a-z~])*+/ SCHEME = %r[[A-Za-z][+\-.0-9A-Za-z]*+].source SEG = %r[(?:%\h\h|[!$&-.0-9:;=@A-Z_a-z~/])].source SEG_NC = %r[(?:%\h\h|[!$&-.0-9;=@A-Z_a-z~])].source FRAGMENT = %r[(?:%\h\h|[!$&-.0-9:;=@A-Z_a-z~/?])*+].source RFC3986_URI = %r[\A (?<seg>#{SEG}){0} (?<URI> (?<scheme>#{SCHEME}): (?<hier-part>// (?<authority> (?:(?<userinfo>#{USERINFO.source})@)? (?<host>#{HOST.source.delete(" \n")}) (?::(?<port>\d*+))? ) (?<path-abempty>(?:/\g<seg>*+)?) | (?<path-absolute>/((?!/)\g<seg>++)?) | (?<path-rootless>(?!/)\g<seg>++) | (?<path-empty>) ) (?:\?(?<query>[^\#]*+))? (?:\#(?<fragment>#{FRAGMENT}))? )\z]x RFC3986_relative_ref = %r[\A (?<seg>#{SEG}){0} (?<relative-ref> (?<relative-part>// (?<authority> (?:(?<userinfo>#{USERINFO.source})@)? (?<host>#{HOST.source.delete(" \n")}(?<!/))? (?::(?<port>\d*+))? ) (?<path-abempty>(?:/\g<seg>*+)?) | (?<path-absolute>/\g<seg>*+) | (?<path-noscheme>#{SEG_NC}++(?:/\g<seg>*+)?) | (?<path-empty>) ) (?:\?(?<query>[^#]*+))? (?:\#(?<fragment>#{FRAGMENT}))? )\z]x attr_reader :regexp def initialize @regexp = default_regexp.each_value(&:freeze).freeze end def split(uri) #:nodoc: begin uri = uri.to_str rescue NoMethodError raise InvalidURIError, "bad URI(is not URI?): #{uri.inspect}" end uri.ascii_only? or raise InvalidURIError, "URI must be ascii only #{uri.dump}" if m = RFC3986_URI.match(uri) query = m["query"] scheme = m["scheme"] opaque = m["path-rootless"] if opaque opaque << "?#{query}" if query [ scheme, nil, # userinfo nil, # host nil, # port nil, # registry nil, # path opaque, nil, # query m["fragment"] ] else # normal [ scheme, m["userinfo"], m["host"], m["port"], nil, # registry (m["path-abempty"] || m["path-absolute"] || m["path-empty"]), nil, # opaque query, m["fragment"] ] end elsif m = RFC3986_relative_ref.match(uri) [ nil, # scheme m["userinfo"], m["host"], m["port"], nil, # registry, (m["path-abempty"] || m["path-absolute"] || m["path-noscheme"] || m["path-empty"]), nil, # opaque m["query"], m["fragment"] ] else raise InvalidURIError, "bad URI(is not URI?): #{uri.inspect}" end end def parse(uri) # :nodoc: URI.for(*self.split(uri), self) end def join(*uris) # :nodoc: uris[0] = convert_to_uri(uris[0]) uris.inject :merge end @@to_s = Kernel.instance_method(:to_s) if @@to_s.respond_to?(:bind_call) def inspect @@to_s.bind_call(self) end else def inspect @@to_s.bind(self).call end end private def default_regexp # :nodoc: { SCHEME: %r[\A#{SCHEME}\z]o, USERINFO: %r[\A#{USERINFO}\z]o, HOST: %r[\A#{HOST}\z]o, ABS_PATH: %r[\A/#{SEG}*+\z]o, REL_PATH: %r[\A(?!/)#{SEG}++\z]o, QUERY: %r[\A(?:%\h\h|[!$&-.0-9:;=@A-Z_a-z~/?])*+\z], FRAGMENT: %r[\A#{FRAGMENT}\z]o, OPAQUE: %r[\A(?:[^/].*)?\z], PORT: /\A[\x09\x0a\x0c\x0d ]*+\d*[\x09\x0a\x0c\x0d ]*\z/, } end def convert_to_uri(uri) if uri.is_a?(URI::Generic) uri elsif uri = String.try_convert(uri) parse(uri) else raise ArgumentError, "bad argument (expected URI object or URI string)" end end end # class Parser end # module URI
Close