Coder Social home page Coder Social logo

antidrive's Introduction

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).

antidrive's People

Contributors

kholia avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.