Hide files in a file or software


In this guide, you will learn how to hide files/viruses/scripts in a different file, so they will act as a trojan horse to your code.


Hide a file

you will do this on a Windows machine,

Open a CMD,

Let’s create a directory:

  1. C:\md Test Folder

  2. C:\>cd Test Folder

  3. C:\Test Folder> notepad <FileName.txt>:<SecondFileName.txt>

  4. C:\Test Folder> notepad file1.txt:hideingfromyou.txt