From cb207d4d7014c2902cb60d4799d3476b631d48ed Mon Sep 17 00:00:00 2001 From: findingmoist <128169791+findingmoist@users.noreply.github.com> Date: Sat, 25 Jan 2025 20:06:15 -0500 Subject: [PATCH 1/4] Update gdrivesync.py Updated backup items Signed-off-by: findingmoist <128169791+findingmoist@users.noreply.github.com> --- pwnagotchi/plugins/default/gdrivesync.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pwnagotchi/plugins/default/gdrivesync.py b/pwnagotchi/plugins/default/gdrivesync.py index ac6ba55d..a8f48913 100644 --- a/pwnagotchi/plugins/default/gdrivesync.py +++ b/pwnagotchi/plugins/default/gdrivesync.py @@ -13,8 +13,8 @@ import zipfile class GdriveSync(plugins.Plugin): - __author__ = '@jayofelony' - __version__ = '1.2' + __author__ = '@jayofelony & Moist' + __version__ = '1.4' __license__ = 'GPL3' __description__ = 'A plugin to backup various pwnagotchi files and folders to Google Drive. Once every hour from loading plugin.' @@ -26,12 +26,15 @@ class GdriveSync(plugins.Plugin): self.status = StatusFile('/root/.gdrive-backup') self.backup = True self.backupfiles = [ - '/root/brain.nn', '/root/brain.json', '/root/.api-report.json', - '/root/handshakes', + '/home/pi/handshakes', '/root/peers', - '/etc/pwnagotchi' + '/etc/pwnagotchi', + '.etc/profile/', + '/usr/local/share/pwnagotchi/custom-plugins', + '/boot/firmware/config.txt', + '/boot/firmware/cmdline.txt' ] def on_loaded(self): From 02454597b26be13c63d7b08345aa0caeef3f0497 Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Mon, 27 Jan 2025 10:22:55 +0100 Subject: [PATCH 2/4] Version 2.9.5.3 Signed-off-by: Jeroen Oudshoorn --- pwnagotchi/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/_version.py b/pwnagotchi/_version.py index 039468b7..2f7fd932 100644 --- a/pwnagotchi/_version.py +++ b/pwnagotchi/_version.py @@ -1 +1 @@ -__version__ = '2.9.5.2' +__version__ = '2.9.5.3' From 4748b671bc1a7a461a46672791b73c3134982579 Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Mon, 27 Jan 2025 12:04:07 +0100 Subject: [PATCH 3/4] Bug report update Signed-off-by: Jeroen Oudshoorn --- .github/ISSUE_TEMPLATE.yml | 3 ++- .github/ISSUE_TEMPLATE/bug_report.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.yml b/.github/ISSUE_TEMPLATE.yml index 6eaba3d6..2ba02937 100644 --- a/.github/ISSUE_TEMPLATE.yml +++ b/.github/ISSUE_TEMPLATE.yml @@ -33,7 +33,8 @@ body: label: Version description: What version of our software are you running? options: - - 2.9.4-2 + - 2.9.5.2 + - 2.9.5.3 default: 0 validations: required: true diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 6eaba3d6..2ba02937 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -33,7 +33,8 @@ body: label: Version description: What version of our software are you running? options: - - 2.9.4-2 + - 2.9.5.2 + - 2.9.5.3 default: 0 validations: required: true From 10d387afcf251cd33327e17747a287839dfac560 Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Wed, 29 Jan 2025 12:50:02 +0100 Subject: [PATCH 4/4] Fix gdrivesync.py Signed-off-by: Jeroen Oudshoorn --- pwnagotchi/plugins/default/gdrivesync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/plugins/default/gdrivesync.py b/pwnagotchi/plugins/default/gdrivesync.py index a8f48913..3394e5fe 100644 --- a/pwnagotchi/plugins/default/gdrivesync.py +++ b/pwnagotchi/plugins/default/gdrivesync.py @@ -171,7 +171,7 @@ class GdriveSync(plugins.Plugin): """ self.internet = True - def on_handshake(self, agent): + def on_handshake(self, agent, filename, access_point, client_station): display = agent.view() if not self.ready and not self.internet: return