Computer Tricks

Get a list of all files on a drive

0 comments

Image

In this post I am going to teach you how to make a batch file to secretly list all the files and folders on a drive to a USB drive. The batch file even lists hidden files. All you have to do is put the batch file into the USB drive and make your victim open it. When you get back the USB drive the list would be waiting for you!

The listing of the files could take some time. So it is essential that the victim does not close the batch file until the listing is completed. You can achieve this in two ways. One way is to run the batch invisibly as a process using two extra short VBScript files. I will show you how to do this in a later post. The other way is to mask the listing of the files with some spoof like system configuration or something important. In this trick I am going to use the second method. This is easier than the first method.

Step 1: Paste the following code into notepad and save as a .bat file.

Step 2: After saving, copy the batch file into the root of your USB drive.

Step 3: Now the trap has been set. Give the USB drive to your friend and use some social engineering to make him/her open it. You can tell your friend that it is a software you made or some cool software. This depends on your social engineering skills. Just make him/her open it remember to tell not to format the USB drive.

When you get back the pendrive the data collected would be in a hidden text file. To reveal the text file follow the steps given below:

Step 1: Open command prompt window. To open a command window goto start menu and type cmd into the search bar and press enter.

Step 2: Assuming the USB drive letter is F Enter the command into the cmd window and execute it: attrib "F:\XBData.txt" -h -s

After you reveal the text file open it and you will see a list of files stored in his drives including the hidden ones. This trick greatly depends on your skills in social engineering. Enjoy the look of your friends face when you tell them where he stores certain files and what files he/she has hidden! Remember to rate this post and leave any questions.

No comments:

Tips Tricks And Tutorials
  • Calculator

    VBScript Calculator

    This is a very simple calculator made with HTML and coded with VBScript.

  • Hack windows password

    Hack windows 7/XP password

    Learn the easiest and most reliable method to hack logon password for any account on windows 7/XP. Even administrator accounts are not excluded!

  • Windows gadget

    Make windows gadgets

    Learn how to make gadgets for windows! It may be easier than you imagine.

  • Facebook

    Visit our facebook page

    Keep tuned to the posts via facebook. We continually update our facebook page.

  • Contactform

    Contact

    If you have any complaints, questions or suggestions, feel free to contact me via the easy contact form.