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

Function Encode

2 - Encoding/2 - Custom Encoding/customEncoder.py:4–11  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

2import sys
3
4def Encode(data):
5 cipherText = ""
6 for i in range(len(data)):
7 if i % 2 == 0:
8 cipherText += chr(data[i]+1)
9 else:
10 cipherText += chr(data[i]+2)
11 return cipherText
12
13
14def printCiphertext(ciphertext):

Callers 1

customEncoder.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected