Skip to content

Instantly share code, notes, and snippets.

View guss77's full-sized avatar

Oded Arbel guss77

View GitHub Profile
@guss77
guss77 / keybase.md
Created April 24, 2017 06:39
keybase proof

Keybase proof

I hereby claim:

  • I am guss77 on github.
  • I am guss77 (https://keybase.io/guss77) on keybase.
  • I have a public key whose fingerprint is 3A14 B9B7 07DF DC0E 70B1 BFB5 F04E ECD3 2769 C738

To claim this, I am signing this object:

@guss77
guss77 / mongo_db_recover_delete_record-2.4.py
Last active June 28, 2024 04:32
Try to recover deleted documents from a mongodb 2.4 data file. Based on https://gist.github.com/egguy/2788955 with help from https://yazadk.wordpress.com/2015/07/15/a-forensic-perspective-on-recovering-deleted-data-from-big-data-systems/#MongoDB . Make sure to change `decode_chunk` so it properly detects the objects you are trying to recover - i…
#!/usr/bin/python
"""A little script to recover deleted recording of a mongoDB db file
There's no optimization but it work and has saved me
"""
import struct
import bson
import pymongo