Vault7: CIA Hacking Tools Revealed
Navigation: » Latest version
NGINX proxy/redirector
For testing remote, it is helpful to have a redirector to mimic operational scenerios
In an ubuntu vm, install nginx (apt-get works on devlan)
def encode(self, s):
# TODO: stop the silliness. refactor
result = []
for c in s:
string_ascii_c = hex(ord(c))
hex_ascii_c = int(string_ascii_c, 16)
hex_xor_result = self._xorbyte ^ hex_ascii_c
string_hex_xor_result = format(hex_xor_result, "x")
result.append('0x' + string_hex_xor_result)
newString = ','.join(result)
return newString