Skip to content
This repository has been archived by the owner. It is now read-only.
Reversing Google Drive and other goodies ;)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.rst

README.rst

AntiDrive

Reversing Google Drive and other goodies ;)

Reversing Google Drive

  1. Download Google Drive and install it (or use 7-Zip to extract the resources from the .msi file).

  2. googledrivesync.exe file is "fat" and looks interesting, right?

  3. Download a special version of PyInstaller.

    $ git clone https://github.com/kholia/pyinstaller.git -b AntiDrive
    
    $ cd pyinstaller
    
  4. Extract stuff from googledrivesync.exe file.

    $ python utils/ArchiveExtractor.py googledrivesync.exe
    [+] magic found at 6125
    Extracting bytecode to output/osx.pyc
    ...
    Extracting bytecode to output/common/worker.pyc
    Extracting bytecode to output/wx/html2.pyc
    Extracting bytecode to output/encodings/punycode.pyc
    Extracting bytecode to output/common/cloud_snapshot_diff_helper.pyc
    Extracting bytecode to output/windows/cacheinvalidation.pyc
    Extracting bytecode to output/encodings/cp1258.pyc
    Extracting bytecode to output/common/snapshot_sqlite.pyc
    Extracting bytecode to output/win32com/client/CLSIDToClass.pyc
    Extracting bytecode to output/encodings/latin_1.pyc
    Extracting bytecode to output/tokenize.pyc
    ...
    Extracting source to output/_mountzlib.py
    Extracting source to output/useUnicode.py
    Extracting source to output/versioneddll.py
    Extracting source to output/win32comgenpy.py
    Extracting source to output/main.py
    
  5. De-compile the bytecode files using uncompyle2.

    $ uncompyle2 output/common/worker.pyc
    pass
    

    ;)

  1. Study the soure-code, find bugs and make Google Drive better!

Credits

TOD0

  • dump bytecode from memory (revive pyREtic).
You can’t perform that action at this time.