feature: 2-byte xor key

This commit is contained in:
Dobin
2024-05-20 09:21:44 +01:00
parent 87cb4bfe5b
commit 0e08fde15d
7 changed files with 22 additions and 5 deletions
+1
View File
@@ -34,6 +34,7 @@ def create_c_from_template(settings: Settings, payload_len: int):
plugin_decoder = Template(plugin_decoder).render({
'PAYLOAD_LEN': payload_len,
'XOR_KEY': config.xor_key,
'XOR_KEY2': ascii_to_hex_bytes(config.xor_key2),
})
# Choose correct template