Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
#!/usr/bin/env python3 | |
import os, sys | |
import argparse | |
import struct | |
from functools import reduce | |
""" | |
QNAP QTS firmware encryptor/decryptor. | |
Based on https://pastebin.com/KHbX85nG |