MCPcopy Create free account
hub / github.com/Bl4ckM1rror/FUD-UUID-Shellcode / _print_ciphertext

Method _print_ciphertext

xor_encryptor.py:24–32  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

22 i += 1
23
24 def _print_ciphertext(self) -> None:
25 from textwrap import TextWrapper
26
27 wrapper = TextWrapper(width=56, initial_indent="\n")
28 xor_array = ("{ 0x" +
29 ", 0x".join(hex(ord(x))[2:].zfill(2).upper()
30 for x in self._ciphertext) + " };")
31 wrapped_xor_array = wrapper.fill(xor_array)
32 print(wrapped_xor_array)
33
34 def run(self) -> None:
35 try:

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected