Skip to content

Instantly share code, notes, and snippets.

Avatar

Quickbreach quickbreach

View GitHub Profile
@quickbreach
quickbreach / mysqlToJson.py
Last active Jul 15, 2020
Convert mysqldump to JSON, optional upload to elastic
View mysqlToJson.py
import re
import csv
import json
import sys
import requests
from requests.auth import HTTPBasicAuth
import hashlib
'''
Usage: 'python3 mysqlToJson.py <targetFile.sql>
View keybase.md

Keybase proof

I hereby claim:

  • I am quickbreach on github.
  • I am quickbreach (https://keybase.io/quickbreach) on keybase.
  • I have a public key whose fingerprint is 235B A35D A63A A954 33A4 1180 9DE8 E1FA 9731 7006

To claim this, I am signing this object: