MCPcopy Create free account
hub / github.com/SaadAhla/FilelessPELoader / dropFile

Function dropFile

aes.py:15–21  ·  view source on GitHub ↗
(key, ciphertext)

Source from the content-addressed store, hash-verified

13 return ciphertext,key
14
15def dropFile(key, ciphertext):
16 with open("cipher.bin", "wb") as fc:
17 fc.write(ciphertext)
18 with open("key.bin", "wb") as fk:
19 fk.write(key)
20 #print('char AESkey[] = { 0x' + ', 0x'.join(hex(x)[2:] for x in KEY) + ' };')
21 #print('unsigned char AESshellcode[] = { 0x' + ', 0x'.join(hex(x)[2:] for x in ciphertext) + ' };')
22
23
24try:

Callers 1

aes.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected