Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
ruby /
2.3.0 /
webrick /
Delete
Unzip
Name
Size
Permission
Date
Action
httpauth
[ DIR ]
drwxrwxrwx
2022-03-20 10:35
httpservlet
[ DIR ]
drwxrwxrwx
2022-03-20 10:35
accesslog.rb
4.34
KB
-rw-r--r--
2016-11-21 08:58
cgi.rb
7.96
KB
-rw-r--r--
2016-11-21 08:58
compat.rb
943
B
-rw-r--r--
2016-11-21 08:58
config.rb
5.59
KB
-rw-r--r--
2016-11-21 08:58
cookie.rb
3.91
KB
-rw-r--r--
2016-11-21 08:58
htmlutils.rb
711
B
-rw-r--r--
2016-11-21 08:58
httpauth.rb
3.36
KB
-rw-r--r--
2016-11-21 08:58
httpproxy.rb
9.62
KB
-rw-r--r--
2016-11-21 08:58
httprequest.rb
14.82
KB
-rw-r--r--
2021-12-06 00:55
httpresponse.rb
11.9
KB
-rw-r--r--
2021-12-06 00:55
https.rb
1.9
KB
-rw-r--r--
2016-11-21 08:58
httpserver.rb
7.75
KB
-rw-r--r--
2021-12-06 00:55
httpservlet.rb
700
B
-rw-r--r--
2016-11-21 08:58
httpstatus.rb
5.19
KB
-rw-r--r--
2021-12-06 00:55
httputils.rb
12.74
KB
-rw-r--r--
2016-11-21 08:58
httpversion.rb
1.6
KB
-rw-r--r--
2016-11-21 08:58
log.rb
3.99
KB
-rw-r--r--
2021-12-06 00:55
server.rb
9.78
KB
-rw-r--r--
2016-11-21 08:58
ssl.rb
6.67
KB
-rw-r--r--
2016-11-21 08:58
utils.rb
6.37
KB
-rw-r--r--
2016-11-21 08:58
version.rb
415
B
-rw-r--r--
2016-11-21 08:58
Save
Rename
# frozen_string_literal: false # # 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