Skip to content

Simple python parser for 2021/04 facebook leaks csv files to sqlite3 databases

Notifications You must be signed in to change notification settings

synth3sis/leaks2db3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 

Repository files navigation

leaks2sqlite3

leaks2sqlite3 is a simple python3 parser to import 03/04/2021 published facebook leaks, from a csv to a SQLite3 DB.
The script automatically goes past the malformed csv lines and creates indexes for phone numbers, names, surnames, facebook_id.


REQUIREMENTS

  • python3
  • sqlite3
apt install -y python3
apt install -y sqlite3

RUN

Change the informations in the first 2 assignment and simply run

./leakrecord.py

IMPORTANT

Before you run leakrecord.py you must adjust the csv file because is full of "12:00:00" strings which are inteded to represent time, while the csv delimiter is the character ":".

Proved replace method:

sed -i 's^12:00:00^12.00.00^g' your_filelist.csv

PoC

With bash grep:

alt tag

With sqlite3 query:

alt tag

About

Simple python parser for 2021/04 facebook leaks csv files to sqlite3 databases

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages