Hello all,
Can I have DOS commands inside an image file, perhaps using C programming?
Whenever the image is opened the DOS commands are executed.
FYI: I know that I can use system function to call DOS commands.
Thanks
Hello all,
Can I have DOS commands inside an image file, perhaps using C programming?
Whenever the image is opened the DOS commands are executed.
FYI: I know that I can use system function to call DOS commands.
Thanks
No. That would require some way to exploit the image handling code, which, FYI, has actually been done, but that was patched.
Let me guess, you want to insert "format C:" into the image right?![]()
Well, I was looking for a way enabling me to execute .bat file when clicking on an image, i.e. appending .bat file underneath the image. I thought that I can do this using C programming, since I did not find any helpful tool
The reason for why you failed to find a 'helpful tool' to aid you in this task is simply that successfully doing what you're trying would break all laws of computing, granted that you were to do it without making something work in a way it wasn't intended to work.
(NB: Please note that the "laws of computing" reference was only to enunciate the point. Please don't list the laws of computing and point out how I was wrong, and why. I will murder you if you do so.)