MCPcopy Create free account
hub / github.com/SaadAhla/Shellcode-Hide / printResult

Function printResult

3 - Encrypting/1 - AES/AES_cryptor.py:16–18  ·  view source on GitHub ↗
(key, ciphertext)

Source from the content-addressed store, hash-verified

14
15
16def printResult(key, ciphertext):
17 print('char AESkey[] = { 0x' + ', 0x'.join(hex(x)[2:] for x in KEY) + ' };')
18 print('unsigned char AESshellcode[] = { 0x' + ', 0x'.join(hex(x)[2:] for x in ciphertext) + ' };')
19
20try:
21 file = open(sys.argv[1], "rb")

Callers 1

AES_cryptor.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected