# pyJoiner - Beta Version # Open Source Exe Joiner # Coder: Daniel Henrique Negri Moreno (a.k.a W1ckerMan) # Tested with win10 + Python3.4 + cx_Freeze # Files that will be joined var1 = input('1st file: ') var2 = input('2nd file: ') # Stores the contents of binary files in the variables file1 and file2 file1 = open(var1, 'rb') file2 = open(var2, 'rb') # Creates the "py_file.py" file, # that will be used for join executable files (file1 and file2) with cx_Freeze py_file = open('py_file.py', 'w') py_file.write('from subprocess import Popen') py_file.write('\n') py_file.write('file1 =' + str(file1.read())) py_file.write(''' output_file1 = open('output_file1.exe', 'wb' ) output_file1.write(file1) output_file1.close() Popen('output_file1.exe') ''') py_file.write('file2 =' + str(file2.read())) py_file.write(''' output_file2 = open('output_file2.exe', 'wb' ) output_file2.write(file2) output_file2.close() Popen('output_file2.exe') ''') # Close all files file1.close() file2.close() py_file.close() # Compile py_file.py with cx_Freeze # Be Happy =) # That's all folks, # Daniel Moreno