mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Merge remote-tracking branch 'origin/pwnagotchi-torch-64' into pwnagotchi-torch-64
This commit is contained in:
@ -3,7 +3,7 @@ Before you enable the gdrivesync plugin follow these guidelines.
|
|||||||
# Authentication
|
# Authentication
|
||||||
Drive API requires OAuth2.0 for authentication. PyDrive2 makes your life much easier by handling complex authentication steps for you.
|
Drive API requires OAuth2.0 for authentication. PyDrive2 makes your life much easier by handling complex authentication steps for you.
|
||||||
|
|
||||||
Go to APIs Console and make your own project.
|
Go to [APIs Console](https://console.developers.google.com/iam-admin/projects) and make your own project.
|
||||||
|
|
||||||
Search for ‘Google Drive API’, select the entry, and click ‘Enable’.
|
Search for ‘Google Drive API’, select the entry, and click ‘Enable’.
|
||||||
|
|
||||||
@ -11,11 +11,11 @@ Select ‘Credentials’ from the left menu, click ‘Create Credentials’, sel
|
|||||||
|
|
||||||
Now, the product name and consent screen need to be set -> click ‘Configure consent screen’ and follow the instructions. Once finished:
|
Now, the product name and consent screen need to be set -> click ‘Configure consent screen’ and follow the instructions. Once finished:
|
||||||
|
|
||||||
Select ‘Application type’ to be Web application.
|
Select ‘Application type’ to be Desktop application.
|
||||||
|
|
||||||
Enter an appropriate name.
|
Enter an appropriate name.
|
||||||
|
|
||||||
Input http://localhost:8080/ for ‘Authorized redirect URIs’.
|
Input http://localhost/ for ‘Authorized redirect URIs’.
|
||||||
|
|
||||||
Select the correct oauth scope:
|
Select the correct oauth scope:
|
||||||
|
|
||||||
@ -35,3 +35,10 @@ When you have done this please run the following command in your ssh shell:
|
|||||||
`sudo pwnagotchi google login`
|
`sudo pwnagotchi google login`
|
||||||
|
|
||||||
And follow the steps, after which you can enable the plugin and let the magic begin.
|
And follow the steps, after which you can enable the plugin and let the magic begin.
|
||||||
|
|
||||||
|
# Functionality
|
||||||
|
Set a backup folder in config file
|
||||||
|
|
||||||
|
It will then upload a zip file there of all your backup files.
|
||||||
|
|
||||||
|
If you have a new device you only need to login with google and enable the plugin, it will then download the previously made backup and reboot.
|
||||||
|
Reference in New Issue
Block a user