Linux premium71.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
Server IP : 198.187.29.8 & Your IP : 3.22.63.154
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby22 /
lib64 /
ruby /
2.2.0 /
webrick /
Delete
Unzip
Name
Size
Permission
Date
Action
httpauth
[ DIR ]
drwxr-xr-x
2024-03-03 22:43
httpservlet
[ DIR ]
drwxr-xr-x
2024-03-03 22:43
accesslog.rb
4.31
KB
-rw-r--r--
2013-12-11 03:58
cgi.rb
7.97
KB
-rw-r--r--
2013-01-26 01:12
compat.rb
912
B
-rw-r--r--
2013-12-06 02:10
config.rb
5.56
KB
-rw-r--r--
2013-01-26 01:12
cookie.rb
3.88
KB
-rw-r--r--
2013-01-26 02:31
htmlutils.rb
680
B
-rw-r--r--
2013-05-20 01:40
httpauth.rb
3.33
KB
-rw-r--r--
2011-05-10 23:37
httpproxy.rb
9.59
KB
-rw-r--r--
2014-08-08 05:34
httprequest.rb
14.78
KB
-rw-r--r--
2018-03-28 14:47
httpresponse.rb
11.83
KB
-rw-r--r--
2018-03-28 14:50
https.rb
1.87
KB
-rw-r--r--
2013-01-26 01:12
httpserver.rb
7.71
KB
-rw-r--r--
2014-05-08 01:17
httpservlet.rb
669
B
-rw-r--r--
2009-10-02 10:45
httpstatus.rb
5.16
KB
-rw-r--r--
2017-09-14 11:37
httputils.rb
12.71
KB
-rw-r--r--
2013-05-20 01:40
httpversion.rb
1.57
KB
-rw-r--r--
2013-01-26 01:12
log.rb
3.96
KB
-rw-r--r--
2017-09-14 11:37
server.rb
9.39
KB
-rw-r--r--
2014-11-10 11:05
ssl.rb
6.69
KB
-rw-r--r--
2014-11-10 11:05
utils.rb
5.86
KB
-rw-r--r--
2014-07-02 06:26
version.rb
384
B
-rw-r--r--
2013-01-26 01:12
Save
Rename
# # https.rb -- SSL/TLS enhancement for HTTPServer # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2001 GOTOU Yuuzou # Copyright (c) 2002 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: https.rb,v 1.15 2003/07/22 19:20:42 gotoyuzo Exp $ require 'webrick/ssl' module WEBrick module Config HTTP.update(SSL) end ## #-- # Adds SSL functionality to WEBrick::HTTPRequest class HTTPRequest ## # HTTP request SSL cipher attr_reader :cipher ## # HTTP request server certificate attr_reader :server_cert ## # HTTP request client certificate attr_reader :client_cert # :stopdoc: alias orig_parse parse def parse(socket=nil) if socket.respond_to?(:cert) @server_cert = socket.cert || @config[:SSLCertificate] @client_cert = socket.peer_cert @client_cert_chain = socket.peer_cert_chain @cipher = socket.cipher end orig_parse(socket) end alias orig_parse_uri parse_uri def parse_uri(str, scheme="https") if server_cert return orig_parse_uri(str, scheme) end return orig_parse_uri(str) end private :parse_uri alias orig_meta_vars meta_vars def meta_vars meta = orig_meta_vars if server_cert meta["HTTPS"] = "on" meta["SSL_SERVER_CERT"] = @server_cert.to_pem meta["SSL_CLIENT_CERT"] = @client_cert ? @client_cert.to_pem : "" if @client_cert_chain @client_cert_chain.each_with_index{|cert, i| meta["SSL_CLIENT_CERT_CHAIN_#{i}"] = cert.to_pem } end meta["SSL_CIPHER"] = @cipher[0] meta["SSL_PROTOCOL"] = @cipher[1] meta["SSL_CIPHER_USEKEYSIZE"] = @cipher[2].to_s meta["SSL_CIPHER_ALGKEYSIZE"] = @cipher[3].to_s end meta end # :startdoc: end end