Hiding .exe file inside JPEG using python3
Hi
I would like to hide calc.exe inside the jpg and when I click to my JPEG I would like the calc.exe will execute.
My python script do this
1.hide calc.exe file inside jpeg.
2.run calc.exe when I open my jpeg.
I will be thankful if you have better way!
import os, sys
input_file = "python.jpeg"
program = "calc.exe"
output_filen = "snake.jpeg"
open( output_filen, "wb" ).write( open( input_filen, "rb" ).read() + open( payload, "rb" ).read())
Regards
Tony