Skip to content

If you accidentally got Spora Ransomware and it encrypted all your files on Google Drive, you can use this code to roll all your files back one revision

Notifications You must be signed in to change notification settings

DSTOLF/spora_googledrive_cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

README

This is a simple Python script to remove the last revision of every file encrypted by Spora Ransomware and rename them to what they were before infection.

If you have just a few files, you're probably good rewinding them one revision manually on Google Drive webpage, but if you have hundreds of them, you'll want a procedure to rewind them all automagically.

This script will revert all files on your Google Drive back one revision, if they were altered after a certain date. Use at your own risk.

Setup

Install Python 3.x or greater and pip (package manager).

Import the required python libs :

pip install --upgrade google-api-python-client requests httplib2

Turn on the Drive API and generate a OAuth client ID (step 1 will guid through enabling the API Key and downloading client_secret.json) : https://developers.google.com/drive/v3/web/quickstart/python

Run the Script

Execute the following commands in a terminal

python cleanup.py

About

If you accidentally got Spora Ransomware and it encrypted all your files on Google Drive, you can use this code to roll all your files back one revision

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages