bkcrack: src/cli/VirtualTerminalSupport.hpp Source File

bkcrack 1.8.1 Crack legacy zip encryption with Biham and Kocher's known plaintext attack.

VirtualTerminalSupport.hpp
1#ifndef BKCRACK_VIRTUALTERMINALSUPPORT_HPP
2#define BKCRACK_VIRTUALTERMINALSUPPORT_HPP
3
4#include <memory>
5
9 class VirtualTerminalSupport
10{
11public:
13 VirtualTerminalSupport();
14
16 ~VirtualTerminalSupport();
17
18private:
19 class Impl; // platform-specific implementation
20
21 std::unique_ptr<Impl> m_impl;
22};
23
24#endif // BKCRACK_VIRTUALTERMINALSUPPORT_HPP
VirtualTerminalSupport::VirtualTerminalSupport
VirtualTerminalSupport()
Enable virtual terminal support.
VirtualTerminalSupport::~VirtualTerminalSupport
~VirtualTerminalSupport()
Restore console mode as it was before.