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

Function main

xor_encryptor.py:48–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46
47
48def main():
49 # xor key should be similar to the one in the C++ file(fud-uuid-shc.cpp). Please
50 # endeavour to change it!!
51 # Also the "file" opened by default is the file you supply at the command line
52
53 # NOTE: You can port this class( XorCipher ) to your own scripts neatly.
54 try:
55 xor_crypt = XorCipher(filename=sys.argv[1], xor_key=KEY)
56 except IndexError:
57 print("[-] File argument needed! \n\t%s <file_to_xor_encrypt>" %
58 sys.argv[0],
59 file=sys.stderr)
60 sys.exit(1)
61 else:
62 xor_crypt.run()
63
64
65if __name__ == "__main__":

Callers 1

xor_encryptor.pyFile · 0.70

Calls 2

runMethod · 0.95
XorCipherClass · 0.85

Tested by

no test coverage detected