From d62143376dcb1fb6d7c08e47ce988e5714e631db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gheorghi=C8=9B=C4=83=20Mutu?= Date: Tue, 20 Aug 2024 19:45:02 +0300 Subject: [PATCH] [Unpacker] + add quoted printable decoding --- GenericPlugins/Unpacker/include/Unpacker.hpp | 1 + GenericPlugins/Unpacker/src/Unpacker.cpp | 41 +++++++++++++++++--- 2 files changed, 37 insertions(+), 5 deletions(-) diff --git a/GenericPlugins/Unpacker/include/Unpacker.hpp b/GenericPlugins/Unpacker/include/Unpacker.hpp index c02217d4..3822bddf 100644 --- a/GenericPlugins/Unpacker/include/Unpacker.hpp +++ b/GenericPlugins/Unpacker/include/Unpacker.hpp @@ -26,6 +26,7 @@ class Plugin : public Window, public Handlers::OnButtonPressedInterface bool SetAreaToDecode(Buffer& b, BufferView& bv, uint64& start, uint64& end); bool DecodeBase64(BufferView input, uint64 start, uint64 end); + bool DecodeQuotedPrintable(BufferView input, uint64 start, uint64 end); bool DecodeZLib(BufferView input, uint64 start, uint64 end); void OnButtonPressed(Reference