From the course: Penetration Testing Essential Training
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Access SQLite databases - Linux Tutorial
From the course: Penetration Testing Essential Training
Access SQLite databases
- [Instructor] When doing pen testing, we'll often come across SQ light databases on everything from browsers to mobile devices. It's useful to have a way to automate access in order to build testing tools and to do manual testing. We can do this relatively easily with Python. Let's take a look at where we'll find the database Chrome users to store cookies. We're here in a rather deep folder of our homepage called app data local Google Chrome user data default network. Let's see what it contains. We can see the file called cookies, that's what we want. I've copied this to kali, so let's take a look at it using a Python script called Squeal one. Nano Squeal1.py. Here we open the SQ Light three library and connect to our cookies database. We then execute a query using select against the master SQL light configuration to get the names of tables in the database. So let's run that. Python squeal1.py. We can see the list of tables in this database, meta and cookies. And the cookies holds…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.