OneDriveExplorer - A command line and GUI based application for reconstructing the folder structure of OneDrive from the UserCid.dat file

Overview

OneDriveExplorer Summary:

OneDriveExplorer is a command line and GUI based application for reconstructing the folder structure of OneDrive from the .\ .dat file.

Usage:

Command line

To use OneDriveExporer, simply provide the .\ .dat file to the -f argument

OneDriveExplorer.py -f business1\d1a7c039-6175-4ddb-bcdb-a8de45cf1678.dat

OneDriveExplorer will produce a JSON file called OneDrive.json containing the folder structure. The --pretty option can be used to output the JSON into a more human readable layout.

GUI

The GUI consists of two panes: the folder structure on the left and details on the right. By clicking on one of the entries in the left pane, the details pane will populate with various data such as name, whether it is a file or folder, UUIDs and the number of children, if any.

Todo

  • Add support for OneDrive personal
  • GUI not populating correctly when opening different dat file
You might also like...
This is a tool for managing file notes through the command line

This is a tool for managing file notes through the command line

inklayers is a command line program that exports layers from an SVG file.
inklayers is a command line program that exports layers from an SVG file.

inklayers is a command line program that exports layers from an SVG file. It can be used to create slide shows by editing a single SVG file.

A command-line utility that, given a markdown file, checks whether all its links work.

A command-line utility written in Python that checks validity of links in a markdown file.

Phishing-Detective is a command line application for Windows 10 built to detect a phishing site from two url's

Phishing-Detective Phishing-Detective is a command line application for Windows 10 built to detect a phishing site from two url's How it works A simpl

Rover is a command line interface application that allows through browse through mission data, images, metadata from the NASA Official Website

🤖 rover Rover is a command line interface application that allows through browse through mission data, images, metadata from the NASA Official Websit

A command line application, written in Python, for interacting with Spotify.
A command line application, written in Python, for interacting with Spotify.

spotify-py-cli A command line application, written in Python, for interacting with Spotify. The primary purpose behind developing this app was to gain

jrnl is a simple journal application for the command line.
jrnl is a simple journal application for the command line.

jrnl To get help, submit an issue on Github. jrnl is a simple journal application for the command line. You can use it to easily create, search, and v

A command line application to analyse reports from TBC Warcraft Logs.

README A command line application to analyse reports from TBC Warcraft Logs. The application was written and tested with Python 3.9. Features Dumps an

This is a simple Termo application in command line style
This is a simple Termo application in command line style

my-termo This is a simple Termo application in command line style. This app run a Linux crontab task every day to get a new word. Type termo in your t

Comments
  • OneDriveExplorer Exits with Error using -d option

    OneDriveExplorer Exits with Error using -d option

    Executing command (outside of KAPE) "C:\Utils\KAPE\Modules\bin>OneDriveExplorer.exe -d E:\D\Users\Stack --csv C:\Mod\FileKnowledge" generates an error and the program exits.

     _____                ___                           ___                 _
    (  _  )              (  _`\        _               (  _`\              (_ )
    | ( ) |  ___     __  | | ) | _ __ (_) _   _    __  | (_(_)       _ _    | |    _    _ __   __   _ __
    | | | |/' _ `\ /'__`\| | | )( '__)| |( ) ( ) /'__`\|  _)_ (`\/')( '_`\  | |  /'_`\ ( '__)/'__`\( '__)
    | (_) || ( ) |(  ___/| |_) || |   | || \_/ |(  ___/| (_( ) >  < | (_) ) | | ( (_) )| |  (  ___/| |
    (_____)(_) (_)`\____)(____/'(_)   (_)`\___/'`\____)(____/'(_/\_)| ,__/'(___)`\___/'(_)  `\____)(_) v2022.05.18
                                                                    | |        by @bmmaloney97
                                                                    (_)
    

    Parsing Stack OneDrive

    Traceback (most recent call last): File "OneDriveExplorer.py", line 448, in File "OneDriveExplorer.py", line 443, in main File "OneDriveExplorer.py", line 278, in parse_onedrive File "pandas\core\generic.py", line 5575, in getattr AttributeError: 'DataFrame' object has no attribute 'ParentId' [3648] Failed to execute script 'OneDriveExplorer' due to unhandled exception!

    I have tried the previous versions (all the ones where -d option is available) and all give the same error.

    opened by dsplice 6
  • Hangs after clicking

    Hangs after clicking "Remove OneDrive folder"

    Hello,

    I was relieved and excited to find this project. OneDrive has been making my life hell for so long and the other day I discovered it wasn't done yet. I've performed the registry edits suggested in other articles, disabled the service and renamed the folder but my system still thinks those files need a cloud provider and the associate exception is thrown when I try to access them.

    The {CIS}.DAT file was loaded successfully and whenI realised the utility isn't going to be able to copy the contents of the files, I right-clicked ont he top level of the tree-view and selected "Remove". The hourglass appeared and it's been like that ever since, the window fading in that familiar way when a program is not responding.

    I know that the files do have content - they were never cloud-only files. It's just 1D doing things without asking that has put that folder structure in an inconsistent state. Surely this utility doesn't require OneDrive to be running in order to remove the folder?

    Either way, if you can offer any help as to how I can bypass this interference so that my C# application attempting to move these files can work, it'd be very much appreciated, even if this issue cannot constructively be addressed.

    Cheers, .pd.

    opened by gigjacker 2
Releases(v2022.12.09)
Owner
Brian Maloney
Brian Maloney
Command line tool for monitoring changes of File entities scoped in a Synapse File View

Synapse Monitoring Provides tools for monitoring and keeping track of File entity changes in Synapse with the use of File Views. Learn more about File

Sage Bionetworks 3 May 28, 2022
Shazam is a Command Line Application that checks the integrity of the file by comparing it with a given hash.

SHAZAM - Check the file's integrity Shazam is a Command Line Application that checks the integrity of the file by comparing it with a given hash. Crea

AnaxĂ­meno Brito 1 Aug 21, 2022
A cd command that learns - easily navigate directories from the command line

NAME autojump - a faster way to navigate your filesystem DESCRIPTION autojump is a faster way to navigate your filesystem. It works by maintaining a d

William Ting 14.5k Jan 3, 2023
AML Command Transfer. A lightweight tool to transfer any command line to Azure Machine Learning Services

AML Command Transfer (ACT) ACT is a lightweight tool to transfer any command from the local machine to AML or ITP, both of which are Azure Machine Lea

Microsoft 11 Aug 10, 2022
Ros command - Unifying the ROS command line tools

Unifying the ROS command line tools One impairment to ROS 2 adoption is that all

null 37 Dec 15, 2022
Baseline is a cross-platform library and command-line utility that creates file-oriented baselines of your systems.

Baselining, on steroids! Baseline is a cross-platform library and command-line utility that creates file-oriented baselines of your systems. The proje

Nelson 4 Dec 9, 2022
Easily turn single threaded command line applications into a fast, multi-threaded application with CIDR and glob support.

Easily turn single threaded command line applications into a fast, multi-threaded application with CIDR and glob support.

Michael Skelton 1k Jan 7, 2023
Command Line (CLI) Application to automate creation of tasks in Redmine, issues on Github and the sync process of them.

Task Manager Automation Tool (TMAT) CLI Command Line (CLI) Application to automate creation of tasks in Redmine, issues on Github and the sync process

Tiamat 5 Apr 12, 2022
Python Command Line Application (CLI) using Typer, SQLModel, Async-PostgrSQL, and FastAPI

pyflycli is a command-line interface application built with Typer that allows you to view flights above your location.

Kevin Zehnder 14 Oct 1, 2022