Compare commits

...

718 Commits

Author SHA1 Message Date
9fc737a590 Version: 1.10.0
Upgraded Go from 1.21.5 to 1.24.1

minor other changes
2025-03-20 21:25:53 +00:00
be8809e62b Version: 1.9.0
Upgraded Packer from 1.8.3 To 1.8.5

changed task Upgrade pip and install rpi-hardware-pwm

changed task Install pwnagotchi from source archive

changed task Install bettercap (update build script for releasing )

Removed a redundant task install bettercap caplets

Added retries and until to all 4 git clone related tasks

Reran pip-compile which upgraded Python packages in the requirements.txt
2025-03-20 20:20:13 +00:00
3155a36fd9 updated .gitignore and CreateRelease.yml
added *.sha256 to the .gitignore

updated CreateRelease.yml
2024-05-23 13:22:01 -05:00
eb77f29135 Updated and coverted
Updated and coverted my fork from evilsocket/pwnagotchi master branch to aluminum-ice/pwnagotchi master branch

removed hannadiamond repository

changed pwnagotchi community plugin repository to my pwnagotchi community plugin repository

removed mastodon plugin

removed screenrc configuration

cloned pwnagotchi community plugin repository only once

removed configure pwnagotchi for the custom plugin directory from builder/pwnagotchi.yml

reconfigured auto-update to point to the scifijunkie repo

edited main.custom_plugins to point to /usr/local/share/pwnagotchi/custom-plugins in pwnagotchi/defaults.toml

removed mastodon configuration from defaults.toml

removed ntfy configuration from defaults.toml

removed handshakes-m.py from default plugin

removed mastodon.py from default plugin

removed ntfy.py from default plugin

addressed [ERROR] [update] 'tag_name'

addressed rate limit exceeded

addressed TypeError: Descriptors cannot not be created directly.

Reran pip-compile
2024-05-23 12:37:59 -05:00
“scifijunkie”
c34aed94c0 changed it to use my pwnagotchi-plugins-contrib repo
I forgot to changed it to use my repo for the contributed Pwnagotchi plugins
2024-03-22 15:36:13 -05:00
eb5e2f77c8 changed it to update using my repo
I changed to to look at my pwnagotchi repo unstead of evilsocket's pwnagotchi repo when it comes to updates
2024-03-09 11:19:05 -06:00
d2b22b2ff3 Fix pwnagotchi crash when updating hostname
-Incorporated changes from llamasoft/pwnagotchi on Github
2022-12-30 23:25:43 -06:00
40cdfa3fdd Possible fix for APT signing key
This is a Possible fix for APT signing key of re4son-kernel.
2022-10-03 15:34:45 -05:00
29aa46a468 Enabled wigle to use .geo.json and .paw-gps.json files
-Incorporated changes from dbukovac/pwnagotchi on Github
2022-07-18 18:33:50 -05:00
fe0b23625b Better ui elements for Waveshare 128x64px OLED . -Incorporated changes from slabua/pwnagotchi on Github. 2022-07-18 16:56:37 -05:00
e73fe60023 flask updated and Werkzeug and jinja2 added 2022-05-25 20:25:21 -05:00
c35a707201 Merge branch 'master' of https://git.chadwaltercummings.me/scifijunkie/pwnagotchi 2022-04-26 22:35:54 -05:00
f82ac001b0 Add support for Waveshare 2.13inch V3 Rev2.1 .
-Incorporated changes from ikornaselur/pwnagotchi on Github.
2022-04-26 22:32:07 -05:00
1097238319 Add support for Waveshare 2.13inch V3 Rev2.1 . Incorporated changes from ikornaselur/pwnagotchi on Github. 2022-04-26 10:15:22 -05:00
ef717734af plugins/gps: add some logging around the gps off exception . Incorporated changes from reynico/pwnagotchi on Github. 2022-04-26 09:46:19 -05:00
1976c8a850 Add Display support for Waveshare 3,5" (and clones) framebuffer lcd. . Incorporated from changes from maeky1986/pwnagotchi 2022-04-26 09:28:37 -05:00
5147d0f351 Switched it to my Gitea
Switched it to my Gitea until the Pull Request on Github goes through. When it does start mirroring my Gitea of pwnagotchi to Github.
2022-02-14 21:31:05 +00:00
Chad Walter Cummings
a6edbedbc8
Change options
I forgot to change this when I made changes in system.
2022-01-14 16:27:17 -06:00
Chad Walter Cummings
4ad4796de7
Update pwnagotchi.yml
to make it fit
2022-01-09 18:28:11 -06:00
Chad Walter Cummings
584d8d30e0
turn off onboard wifi and limits cpu on pi4
This turns off the onboard wifi because the 5.4.83-Re4son-7vl kernel seems to have disabled its ability to be used in some way on the pi4 when it comes to Pwnagotchi. This also brings down the CPU speed to 800 as suggested on https://pwnagotchi.ai/installation/#installing-on-raspberry-pi3.
2022-01-01 16:50:48 -06:00
Chad Walter Cummings
9c6834f216
rt73 drivers
This includes rt73 drivers to get injection to work for Ralink RT2501USB/RT2571W (RT73) devices.
2021-12-30 21:24:47 -06:00
Chad Walter Cummings
d5501d89ca
Changed it back to me
I changed it back to me so I can build off of it instead of Main repo
2021-12-24 01:27:29 -06:00
Chad Walter Cummings
47aee29806
changed it back
I changed it back to where papirus and pwnagotchi well come from their respective repositories.
2021-12-23 18:16:03 -06:00
Chad Walter Cummings
9b95af1e52
Testing changes
Testing changes I made to my fork of papirus
2021-12-23 13:17:30 -06:00
Chad Walter Cummings
c26f92d9dc
Update pwnagotchi.yml 2021-12-23 00:44:03 -06:00
Chad Walter Cummings
fdef3bae97
Update pwnagotchi.yml 2021-12-22 23:59:38 -06:00
Chad Walter Cummings
bcb01ce046
Update pwnagotchi.json 2021-12-13 13:04:33 -06:00
Chad Walter Cummings
8c5e84e1c7
Update pwnagotchi.yml 2021-12-13 12:59:31 -06:00
Chad Walter Cummings
7db5c10cd0
Update pwnagotchi.yml 2021-12-12 11:34:11 -06:00
Chad Walter Cummings
f0c2a39e2d
Update pwnagotchi.yml 2021-12-12 10:01:53 -06:00
Chad Walter Cummings
6fb42fc8e8
Update README.md 2021-12-12 02:10:58 -06:00
Chad Walter Cummings
66c4aea7ca
Update README.md 2021-12-12 02:10:10 -06:00
Chad Walter Cummings
ad1cac4755
Update pwnagotchi.yml 2021-12-12 01:49:27 -06:00
Chad Walter Cummings
77362bc530
Update pwnagotchi.yml 2021-12-12 00:50:49 -06:00
Chad Walter Cummings
3e0f3dcb8a
Update pwnagotchi.yml 2021-12-11 23:26:35 -06:00
Chad Walter Cummings
71e248a8af
Update pwnagotchi.yml 2021-12-11 20:04:11 -06:00
Chad Walter Cummings
366db3e095
Update pwnagotchi.json 2021-12-11 19:12:19 -06:00
Chad Walter Cummings
001c1942c4
Update Makefile 2021-12-11 19:10:07 -06:00
Chad Walter Cummings
d8a4d930ea
Update Makefile 2021-12-11 14:53:25 -06:00
Chad Walter Cummings
81699d3e35
Update pwnagotchi.yml 2021-12-11 10:08:07 -06:00
Chad Walter Cummings
578b15647f
Update pwnagotchi.yml 2021-12-11 10:06:45 -06:00
Chad Walter Cummings
4350fa1204
Update pwnagotchi.yml 2021-12-11 09:56:18 -06:00
scifijunk
c3093bc9aa
Update pwnagotchi.yml 2021-12-09 00:45:58 -06:00
scifijunk
3026ec9aa3
PACKER_VERSION updated 2021-12-08 22:54:48 -06:00
scifijunk
188cb6c62b
Update pwnagotchi.yml 2021-12-08 22:53:27 -06:00
scifijunk
21f4e35f73
Update requirements.txt 2021-12-08 22:47:00 -06:00
scifijunk
7142e2bfd5
incorporated from dadav / pwnagotchi 2021-12-08 12:11:29 -06:00
scifijunk
38e7eaae73
Update requirements.txt 2021-12-07 21:02:25 -06:00
scifijunk
2ff553cbc6
Update requirements.txt 2021-12-07 12:06:10 -06:00
scifijunk
3cdcd41fa2
Update requirements.txt 2021-12-07 01:48:16 -06:00
scifijunk
88e8efa4df
Update pwnagotchi.yml 2021-12-07 01:47:32 -06:00
scifijunk
50a88efe15
Update requirements.txt 2021-12-07 01:18:59 -06:00
scifijunk
b09eab24d8
Update requirements.txt 2021-12-07 01:16:14 -06:00
scifijunk
ed6d59ab26
Update requirements.txt 2021-12-06 22:44:57 -06:00
scifijunk
b04fba4bd2
Update requirements.txt 2021-12-06 20:47:54 -06:00
scifijunk
95e96cc42b
Update requirements.txt 2021-12-06 20:40:24 -06:00
scifijunk
bb31085a73
Update pwnagotchi.yml 2021-12-06 20:30:21 -06:00
scifijunk
be6c55a8cf
Update requirements.txt 2021-12-06 20:28:04 -06:00
scifijunk
5c5562f98f
Update requirements.txt 2021-12-06 20:27:16 -06:00
scifijunk
1842f88239
Update requirements.txt 2021-12-06 20:12:43 -06:00
scifijunk
ba8f3bc4be
Update pwnagotchi.yml 2021-12-06 14:52:44 -06:00
scifijunk
7769f249f9
Update requirements.txt 2021-12-06 14:51:31 -06:00
scifijunk
759c5832b4
Update requirements.txt 2021-12-06 14:50:50 -06:00
scifijunk
3cf574bfc7
Update pwnagotchi.yml 2021-12-06 11:54:21 -06:00
scifijunk
42e4a776ae
Update pwnagotchi.yml 2021-12-06 00:44:53 -06:00
scifijunk
bbbe086007
Update pwnagotchi.yml 2021-12-05 22:38:16 -06:00
scifijunk
c9fe15005d
Update pwnagotchi.yml
Testing armv7l of OpenCV-python and TensorFlow
2021-12-05 21:03:20 -06:00
scifijunk
334f2a4a5c
Merge branch 'evilsocket:master' into master 2021-12-05 15:57:55 -06:00
scifijunk
c14019535f
Update pwnagotchi.yml
missing package
2021-12-05 12:38:03 -06:00
scifijunk
cd668f4dd4
Update requirements.txt
missing python package
2021-12-05 11:54:13 -06:00
Simone Margaritelli
cd50cf7418
Merge pull request from justin-p/wpa_supplicant_to_syslog
Ensure wpa_supplicant logs to syslog
2021-12-05 10:51:00 +01:00
Simone Margaritelli
bddb630b90
Merge pull request from akhepcat/master
resolve issue 
2021-12-05 10:50:41 +01:00
scifijunk
e862b24382
Update pwnagotchi.json 2021-12-05 01:40:24 -06:00
scifijunk
4c2d2196c4
Update pwnagotchi.json 2021-12-04 17:17:35 -06:00
scifijunk
b731f5808b
Update requirements.txt 2021-12-04 15:34:23 -06:00
scifijunk
4499e419f1
Update pwnagotchi.yml 2021-12-04 13:57:02 -06:00
scifijunk
c3b0c9a032
Update pwnagotchi.yml 2021-12-04 13:54:51 -06:00
scifijunk
5d93ad18c4
Update Makefile 2021-12-04 12:43:28 -06:00
scifijunk
5738a532ec
Update pwnagotchi.json 2021-12-04 12:33:49 -06:00
Leif Sawyer
7998a84ea7 create the kali.pref to prefer bootloader/kernel/libraspberrypi0 from kali instead of debian 2021-11-17 18:48:46 -09:00
Justin Perdok
cde5396e85
Ensure wpa_supplicant logs to syslog 2021-11-14 00:57:15 +01:00
Simone Margaritelli
a5d5533acf
Merge pull request from troystauffer/master
catches wifi down exception and cycles epoch
2021-06-04 10:26:20 +02:00
Troy Stauffer
3c678104ef catches wifi down exception and cycles epoch
Signed-off-by: Troy Stauffer <troystauffer@gmail.com>
2021-06-01 23:00:40 -04:00
Simone Margaritelli
5ec621c5d7 misc: small fix or general refactoring i did not bother commenting 2021-04-24 16:00:20 +02:00
Simone Margaritelli
9ec2646347 fix: backing up plugins status files (fixes ) 2021-04-24 15:59:45 +02:00
Simone Margaritelli
713fe6878b Merge branch 'master' of github.com:evilsocket/pwnagotchi 2021-04-24 15:55:44 +02:00
Simone Margaritelli
20d80bfb35 fix: upgraded numpy version (fixes ) 2021-04-24 15:55:36 +02:00
Simone Margaritelli
b2ecebc24a
Update .DEREK.yml
leech
2021-04-24 14:36:03 +02:00
Simone Margaritelli
298ed24008 fix: fixes (thanks @dadav for not bothering to contribute to the main repo) 2021-04-24 14:33:43 +02:00
Simone Margaritelli
a9f07e9f8d fix: version bumped inky to 1.2.0 (fixes ) 2021-04-23 11:57:14 +02:00
Simone Margaritelli
ff91f9b2f8 releasing v1.5.5 2021-04-18 19:05:49 +02:00
Simone Margaritelli
07b70dd0ee fix: updated travis credentials 2021-04-18 19:04:34 +02:00
Simone Margaritelli
c12b319287 releasing v1.5.4 2021-04-18 18:23:15 +02:00
Simone Margaritelli
712d0142a1
Merge pull request from crahan/gps_config
Add configuration options to gps.py (position, vertical line spacing)
2021-04-18 17:43:15 +02:00
Thomas Bouve
9ba55b7f77 Merge updated 'master' into gps_config 2021-04-18 17:22:00 +02:00
Simone Margaritelli
abc16ce973 misc: updated bettercap and pwngrid versions in builder script 2021-04-18 17:17:31 +02:00
Simone Margaritelli
1318275b36 fix: using better symbols for ups charging status 2021-04-18 17:11:04 +02:00
Simone Margaritelli
297d9cd3b9
Merge pull request from samuelkf/ups-lite-charging-status
Display UPS-Lite charging status
2021-04-18 17:08:37 +02:00
Simone Margaritelli
f164b8bb26 new: added new faces for uploading status 2021-04-18 17:03:21 +02:00
Simone Margaritelli
5c3b21f537 fix: recompiled localization files 2021-04-18 16:22:29 +02:00
Simone Margaritelli
6325428218
Merge pull request from serginator/task/improve-es-lang
Improved Spanish translation
2021-04-18 16:00:44 +02:00
Simone Margaritelli
7d35f5cdc0
Merge branch 'master' into task/improve-es-lang 2021-04-18 16:00:37 +02:00
Simone Margaritelli
3fd3ac3c01
Merge pull request from MannyLama/master
Improved Dutch translation
2021-04-18 15:59:13 +02:00
Simone Margaritelli
c1d3528ff7
Merge pull request from ShaqKSmith/patch-1
Create voice.po
2021-04-18 15:58:59 +02:00
Simone Margaritelli
37fc65f834
Merge pull request from theusu5k/patch-1
Update voice.po
2021-04-18 15:58:43 +02:00
Simone Margaritelli
80095edf4b
Merge pull request from MatthewNunu/master
Added Afrikaans translation
2021-04-18 15:56:45 +02:00
Simone Margaritelli
7e3e74635a
Merge pull request from xhrzg2017/patch-1
Update voice.po
2021-04-18 15:53:48 +02:00
Simone Margaritelli
6b3d9042fd Merge branch 'master' of github.com:evilsocket/pwnagotchi 2021-04-18 15:43:26 +02:00
Simone Margaritelli
4441ae852c misc: using stork for releases 2021-04-18 15:43:15 +02:00
Simone Margaritelli
edc0551e0a
Merge pull request from ajaswa/902/stop-using-uart-gpio-for-waveshare
swap out header file for one that doesn't tie up gpio pins 14 and 15 for waveshare_2
2021-04-18 15:16:23 +02:00
Simone Margaritelli
b6cf510f8e
Merge pull request from grokbeer/watchdog-reboot
Have watchdog plugin reboot system rather than restart application
2021-04-18 15:14:59 +02:00
Simone Margaritelli
7fb6be861a
Merge pull request from Tuinslak/patch-1
Make sure IPv4 works when eth0 is connected
2021-04-18 15:14:32 +02:00
Simone Margaritelli
f795598950
Merge pull request from crahan/memtemp_gps_fixes
Add configuration options to memtemp.py (fields, position, vertical line spacing)
2021-04-18 15:13:23 +02:00
Simone Margaritelli
b0efd52961
Merge pull request from HeroCC/master
Add donate option to Wigle plugin
2021-04-18 15:11:51 +02:00
Simone Margaritelli
38dfccb7c2
Merge pull request from centraliota/master
Update wpa-sec.py logging
2021-04-18 15:11:10 +02:00
Simone Margaritelli
f912883f6e
Merge pull request from Xeyler/gps-bugfix
Fix display bug in gps module
2021-04-18 15:10:59 +02:00
Simone Margaritelli
661f26dedf
Merge pull request from Gadgetoid/patch-inky-ssd1608
Add support for SSD1608 variant 250x122 pixel Inky pHATs
2021-04-18 15:10:05 +02:00
Simone Margaritelli
d6c7a73f39 fix: fixed whl file urls 2021-04-18 15:07:16 +02:00
Simone Margaritelli
10f274dab7 fix: updated build scripts with latest packer version 2021-04-18 14:48:39 +02:00
Simone Margaritelli
decbeaccb1
Merge pull request from jonspraggins/patch-1
Add Uploading 'Faces'
2021-04-18 13:18:43 +02:00
Philip Howard
34c2c8a06e Add support for SSD1608 variant 250x122 pixel Inky pHATs
Running `python3 -m inky.eeprom` should show display variant. Variants 10, 11 and 12 are SSD1608 based.

This patch adds support for auto-detecting and using them when "ui.display.color" is set to "auto".

Fixes  and 

Signed-off-by: Philip Howard <phil@gadgetoid.com>
2021-04-09 10:23:59 +01:00
xhrzg2017
88a15528d6
Update voice.po 2021-04-09 10:06:58 +08:00
Jon Spraggins
0fd09878db
Update faces.py
Added upload faces.
2021-03-18 11:47:25 -04:00
Brigham Campbell
c472e60615 Fix bug in gps module
Fix a bug caused by using a function in a conditional instead of the
return value of the function itself.

Signed-off-by: Brigham Campbell <me@brighamcampbell.com>
2021-03-14 11:46:04 -06:00
Simone Margaritelli
0704541dd1
Merge pull request from FoxFromDarkness66/patch-1
Fix broken link in README
2021-03-14 16:29:03 +01:00
FoxFromDarkness66
ea061d473b
Fix broken link in README
Default file is .toml now, not .yml
2021-01-25 20:00:21 +03:00
centraliota
6430a40847
Update wpa-sec.py logging
Added logging.info message for plugin loading, to keep consistent with behaviour of other plugins.
2020-11-17 18:01:52 -07:00
MatthewNunu
ba13b12593 added afrikaans lang 2020-11-12 12:05:29 +02:00
theusu5k
819be761ed
Update voice.po
Some words were translated too literal.
Some menor corrections
2020-11-09 20:25:22 +01:00
ShaqKSmith
f701390d5a
Create voice.po 2020-11-02 15:01:12 +08:00
Andrew Jaswa
2ddf040fac swap out header file for one that doesn't tie up gpio pins 14 and 15 for waveshare_2
Signed-off-by: Andrew Jaswa <andrew.jaswa@bonus.ly>
2020-10-09 21:13:31 -06:00
HeroCC
3bd9cd4f18 Tweak Wigle plugin
Adds a new 'donate' option to allow Wigle to include data for commercial use.

Also changes data header to reflect this is a pwnagotchi plugin.

Signed-off-by: HeroCC <herocc@herocc.com>
2020-10-03 17:06:29 +02:00
Thomas Bouve
5c6d8dc807
Adjust x coordinate for longer long field. 2020-09-20 22:12:54 +02:00
Thomas Bouve
c535ffd40e
Fix version bump. 2020-09-20 21:24:33 +02:00
Thomas Bouve
fb7217b0fa
Add configuration options and cleanup
- added support for configuring the plugin position and vertical line spacing
- fix default values for some displays which appeared to be incorrect
- change `ui.is_dfrobot_v2` to a function (to match other display entries)
- version bump to 1.0.2
2020-09-20 21:10:10 +02:00
Thomas Bouve
7da3cc5565
Revert. Changes are handled in a separate branch 2020-09-20 20:25:25 +02:00
Thomas Bouve
e72e2292a8
Update guessed coordinates based on other values. 2020-09-20 20:22:39 +02:00
Thomas Bouve
0f8643258e gps config updates 2020-09-20 11:14:00 +02:00
Thomas Bouve
1a0083eb38
Fix correct x positioning
Align fields right when less than 3 fields are shown in horizontal mode, using a 5-pixel character width with a 5-character width for each field (i.e. 25 pixels per field).
2020-09-20 01:43:52 +02:00
Thomas Bouve
72878454f9
Removed debug line. 2020-09-20 00:29:33 +02:00
Thomas Bouve
1c4df7a1c4
Additional comments 2020-09-20 00:27:26 +02:00
Thomas Bouve
c124a97514
Changelog update. 2020-09-20 00:25:52 +02:00
Thomas Bouve
b886b4e673 Added more configurable fields 2020-09-19 23:43:24 +02:00
Thomas Bouve
6d0e295276 Version bumps 2020-09-18 02:12:36 +02:00
Thomas Bouve
1aea0b95b1 Small gps fixes + memtemp rework 2020-09-18 02:11:37 +02:00
MannyLama
fddee8708e
Updated dutch & fixed typos 2020-09-11 15:43:44 +02:00
MannyLama
ef4fbd96cc
Updated dutch & fixed typos 2020-09-11 15:42:47 +02:00
Yeri Tiete
552df65422
Make sure IPv4 works when eth0 is connected
Resolves an issue where IPv4 traffic would not work when eth0 is connected (i.e. usb-ethernet adapter over OTG). The static route for usb0 precedes the DHCP route for eth0. Only IPv6 traffic would work, but not IPv4 until the metric for usb0 is increase and thus lowered in priority. If no eth0 is plugged in, internet works fine over usb0.
2020-09-04 17:49:41 +08:00
Sam Keating-Fry
2db8f143eb
Display UPS-Lite charging status
Replace the '%' in the battery indicator with '' when the UPS-Lite is connected to an external power source.
Suggestions welcome for a different character as '' is a little hard to read on e-ink displays.
2020-08-29 14:40:44 +01:00
Sergio Ruiz
6111ee9d9d Improved Spanish translation
Signed-off-by: Sergio Ruiz <serginator@gmail.com>
2020-08-25 23:07:34 +02:00
Simone Margaritelli
713a14c504
Merge pull request from MikeDawg/fixscripts
Fixing scripts - Make all scripts usage/help similar
2020-06-26 14:14:48 +02:00
Simone Margaritelli
2708fd032c
Merge pull request from grokbeer/shutdown-sync
Delaying fs sync to ensure shutdown message is logged to disk
2020-06-26 14:14:32 +02:00
Simone Margaritelli
f7cf4b3947
Merge pull request from grokbeer/reboot-sync
Ensure fs is synced before reboot so logs aren't lost
2020-06-26 14:14:03 +02:00
Simone Margaritelli
1d312a727b
Merge pull request from grokbeer/fs-typo
Fix minor typo
2020-06-26 14:12:38 +02:00
Simone Margaritelli
dd3dbbe400
Merge pull request from jacopotediosi/patch-1
Set maxZoom to max value
2020-06-26 14:12:15 +02:00
Simone Margaritelli
cfa034b555
Merge pull request from elipsius/885/fix-2.7inch-waveshare-gps-display
Updated gps.py to include positioning for the waveshare 2.7 inch scre…
2020-06-26 14:11:17 +02:00
Simone Margaritelli
a0cd0d4936
Merge pull request from voodoologic/master
If a step fails, abort script.
2020-06-26 14:10:52 +02:00
Simone Margaritelli
3e3fff298c
Merge pull request from BlackFrog1/laptop
Ignore python virtual environments
2020-06-26 14:10:33 +02:00
Doug
0b1c51dcc7 If a step fails, abort script. 2020-06-09 20:03:28 -07:00
BlackFrog1
8dd9a85615
quick ignore of python environments 2020-06-08 11:46:16 -04:00
Eric M Lipsius
929eac7bba Updated gps.py to include positioning for the waveshare 2.7 inch screen, tested on my hardware:
Raspberry Pi 3 /w waveshare 2.7 inch epaper hat, and USB GPS/GLONASS U-blox7

Signed-off-by: Eric M Lipsius <eric.lipsius@gmail.com>
2020-05-27 00:54:15 -04:00
Jacopo Tediosi
0f7870f770
Set maxZoom to max value
Why to limit zoom? As a user, I used sometimes to zoom so much.
2020-05-21 23:50:03 +02:00
grokbeer
37342c0685 Have watchdog plugin reboot system rather than restart application
Signed-off-by: grokbeer <1428380+grokbeer@users.noreply.github.com>
2020-05-08 23:17:12 +12:00
grokbeer
71514a97fa Delaying fs sync to ensure shutdown message is logged to disk
Signed-off-by: grokbeer <1428380+grokbeer@users.noreply.github.com>
2020-05-08 23:17:04 +12:00
grokbeer
03488819af Ensure fs is synced before reboot so logs aren't lost
Signed-off-by: grokbeer <1428380+grokbeer@users.noreply.github.com>
2020-05-08 23:16:54 +12:00
grokbeer
633b726bcd Fix minor typo
Signed-off-by: grokbeer <1428380+grokbeer@users.noreply.github.com>
2020-05-08 23:16:32 +12:00
Simone Margaritelli
05b235c38b
Merge pull request from misterf13/master
Display coordinates for dfrobotv2
2020-05-06 12:04:36 +02:00
Ferny G
840054f549 Display coordinates for dfrobotv2
Signed-off-by: misterf13 <fgarcia1337@gmail.com>
2020-04-20 22:40:39 -05:00
Simone Margaritelli
a3cf49244e
Merge pull request from dadav/develop
Bug fixes
2020-04-20 11:13:25 +02:00
dadav
e92751164f typo 2020-04-19 18:49:42 +02:00
dadav
c2f9860bc5 same as in the py file 2020-04-19 16:48:11 +02:00
dadav
f616871068 fix syntax 2020-04-19 16:46:34 +02:00
dadav
c726779f6e only go back 5 mins 2020-04-19 16:36:26 +02:00
dadav
a2e29d64d2 dont overwrite zips 2020-04-19 11:39:49 +02:00
dadav
bc84f22f7a fix ident 2020-04-19 11:37:48 +02:00
dadav
40d8d994d1 version++ 2020-04-19 11:34:39 +02:00
dadav
7ca5eee247 add custom repos 2020-04-19 11:26:18 +02:00
dadav
56c291d302 change treshhold to 5 2020-04-18 18:19:16 +02:00
dadav
1013e7dc19 make less verbose 2020-04-18 17:09:39 +02:00
dadav
ff4f5c672a move code out of ui update hook 2020-04-18 16:46:29 +02:00
dadav
d9d268ea81 fix bug 2020-04-18 13:53:42 +02:00
dadav
de62214970 add missing option 2020-04-18 13:30:43 +02:00
dadav
52cc413152 add check 2020-04-18 13:23:12 +02:00
dadav
716d5cd312 typo 2020-04-18 13:17:18 +02:00
dadav
e436dc8b8e fix 2020-04-18 13:02:42 +02:00
dadav
81db495f33 redirect to dashboard 2020-04-18 12:47:09 +02:00
dadav
7f8380c38a switch to static 2020-04-18 12:26:21 +02:00
Ferny G
8c2b4e2075 DFRobot V2 screen 2020-04-18 11:40:43 +02:00
dadav
2b17e5322b only kill if present 2020-04-18 11:29:54 +02:00
dadav
1be17b1f99 reboot if reload fails 2020-04-18 11:17:46 +02:00
dadav
2dee3987d4 add bash completion 2020-04-18 10:59:08 +02:00
dadav
eb76cc7023 fix location 2020-04-18 10:22:18 +02:00
dadav
35ea36ef33 auto redirect when decrypted 2020-04-18 10:09:20 +02:00
dadav
44e1e79245 scorp fix 2020-04-18 09:50:40 +02:00
dadav
6038f555fa fix 2020-04-18 00:02:25 +02:00
dadav
0b5a63a3d8 add missing var 2020-04-17 22:31:30 +02:00
dadav
430172e3dd remove button 2020-04-17 20:55:11 +02:00
dadav
fa87e03222 add max-lines 2020-04-17 20:18:12 +02:00
dadav
d1411ffa96 sort plugins 2020-04-17 16:45:04 +02:00
dadav
67b4747afa adjust cmd 2020-04-17 16:39:31 +02:00
dadav
311931c81d added watchdog 2020-04-17 16:32:24 +02:00
Simone Margaritelli
1f7bc60de6
Merge pull request from Czechball/master
added Czech translation
2020-04-16 13:01:17 +02:00
Simone Margaritelli
57034d9fc6
Merge pull request from dadav/develop
Various fixes
2020-04-16 13:01:08 +02:00
dadav
74fbf4da32 version++ 2020-04-16 10:31:59 +02:00
dadav
7ec20caf23 fix filter bug 2020-04-15 17:49:57 +02:00
dadav
568c5b020d aaaannnd even better 2020-04-15 17:19:41 +02:00
dadav
3965bdb554 performs better without it 2020-04-15 17:02:50 +02:00
dadav
585b208e9e support multiple passwords 2020-04-15 16:51:43 +02:00
dadav
e53bdc46a4 there is no logging to journald anymore 2020-04-15 13:19:01 +02:00
dadav
6805df858e basename should be dirname 2020-04-15 08:20:47 +02:00
dadav
8a07e822e6 breaks if never used 2020-04-14 22:20:42 +02:00
MikeDawg
5f7dd56ead Fixing scripts
Signed-off-by: MikeDawg <MikeDawg@gmail.com>
2020-04-14 14:08:16 -06:00
dadav
a808fd33c7 another toml fix in paradise 2020-04-14 21:53:17 +02:00
Simone Margaritelli
cedcc17391 releasing v1.5.1 2020-04-14 11:16:40 +02:00
Simone Margaritelli
6478b3827d
Merge pull request from dadav/develop
fix build problems
2020-04-14 11:12:59 +02:00
Czechball
68065d548a added Czech translation 2020-04-14 06:17:57 +02:00
dadav
463f4b50e4 fix build problems 2020-04-13 19:39:15 +02:00
Simone Margaritelli
793cde7147 misc: updated builder with newer bettercap version 2020-04-13 17:46:15 +02:00
Simone Margaritelli
518b9e665d
Merge pull request from dadav/develop
add dnsmasq
2020-04-13 17:37:35 +02:00
dadav
91ea7bdb9b add dnsmasq 2020-04-13 17:30:52 +02:00
Simone Margaritelli
3ce88f1d80
Merge pull request from dadav/develop
ready to merge
2020-04-13 17:29:56 +02:00
dadav
6d45d01baf update version 2020-04-13 17:19:06 +02:00
dadav
1f2dd73976 Big update 2020-04-13 17:16:24 +02:00
Simone Margaritelli
5d8d86204a
Merge pull request from jacopotediosi/patch-2
Add single_files option to onlinehashcrack config
2020-04-03 15:39:28 +02:00
Jacopo Tediosi
7017e39c6d
Add single_files option to onlinehashcrack config
See merged PR 
2020-04-03 15:29:24 +02:00
Simone Margaritelli
1360c734ff
Merge pull request from dadav/develop
Some fixes
2020-04-03 14:49:17 +02:00
Simone Margaritelli
7c90050b17
Merge pull request from Skeleton022/master
Corrected hungarian translation
2020-04-03 14:49:06 +02:00
Simone Margaritelli
9ca8aacdf6
Merge pull request from jacopotediosi/patch-1
Onlinehashcrack should create .pcap.cracked files
2020-04-03 14:48:54 +02:00
dadav
d39c849daf github? you ok? 2020-04-02 23:06:39 +02:00
dadav
58bbae89c2 fix some bugs 2020-04-02 22:59:51 +02:00
dadav
0dedd0974f update 2020-04-02 20:10:07 +02:00
dadav
5bac678771 typo 2020-04-02 19:30:22 +02:00
dadav
3b9aacdd16 faces use dejavu 2020-04-02 19:24:52 +02:00
dadav
305f837486 more fonts 2020-04-02 19:06:28 +02:00
dadav
54ffbbcb0b used @k0uj1k's translation 2020-04-02 18:08:30 +02:00
dadav
60167fb8fe use latest version 2020-04-01 18:21:44 +02:00
dadav
9a1565813c cant import 2020-04-01 18:21:12 +02:00
dadav
03c014f414 fix webcfg 2020-04-01 18:20:12 +02:00
dadav
d10bf6bf1d we dont want this in the repo 2020-04-01 09:40:22 +02:00
dadav
9a22321799 save in dotted format 2020-04-01 09:39:32 +02:00
dadav
76b71f5c3f fixes import error 2020-03-31 18:56:15 +02:00
dadav
4aa05bb834 /proc/stat contains the cpu ticks since boot 2020-03-31 18:56:15 +02:00
dadav
71c4458858 not needed 2020-03-31 18:56:15 +02:00
Simone Margaritelli
8260b41bab
Merge pull request from silsha/fix-gps
Prevent saving gps file without coordinates
2020-03-31 16:02:44 +02:00
Simone Margaritelli
86530d4b97
Merge pull request from xBelladonna/bugfix/ui
Fix hardware display startup sequence
2020-03-31 16:02:26 +02:00
Simone Margaritelli
c7d9a757f6
Merge pull request from xBelladonna/bugfix/journal-logging
Fix typo in systemd service to disable journal logging
2020-03-31 16:02:10 +02:00
Skeleton022
b6a0ae9d3a
Added proper hungarian language support
Corrected python's bad magic number error.
2020-03-23 15:18:10 +01:00
Skeleton022
34f52b0d3a
Delete voice.po 2020-03-23 15:16:11 +01:00
Skeleton022
c68cefe80d
Delete voice.mo 2020-03-23 15:16:03 +01:00
Skeleton022
052c99b858
replace existing 2020-03-23 01:45:59 +01:00
Simone Margaritelli
ccea7cbeef
Merge pull request from davenicoll/master
Fix for gps labels on inkyphat displays
2020-03-06 13:48:23 +01:00
Simone Margaritelli
a16a5f7bcb
Merge pull request from Skeleton022/master
Add support for hungarian language
2020-03-06 13:48:11 +01:00
Skeleton022
a5df77d737 Add support for hungarian language 2020-03-06 07:53:47 +01:00
David Nicoll
489bce0c01 Fix for gps labels on inkyphat displays
Positioned the gps labels correctly on inkyphat displays
2020-02-26 08:53:04 +00:00
xBelladonna
da4319f81b Fix typo in systemd service
Disable journal logging

Signed-off-by: xBelladonna <isabelladonnamoore@users.noreply.github.com>
2020-02-18 05:21:40 +09:30
Jacopo Tediosi
0e1a1f4c79
Changed filename generation to a regex 2020-02-17 12:15:26 +01:00
Jacopo Tediosi
b3bdb34e3f
Onlinehashcrack should create .pcap.cracked files 2020-02-17 10:55:35 +01:00
xBelladonna
c791c86bee Fix display startup sequence
Signed-off-by: xBelladonna <isabelladonnamoore@users.noreply.github.com>
2020-01-22 22:44:17 +09:30
Silsha Fux
61e5872229
Prevent saving gps file without coordinates
Signed-off-by: Silsha Fux <hallo@silsha.me>
2020-01-21 17:50:02 +01:00
Simone Margaritelli
23616095ba
Merge pull request from dadav/fix/disable_journal_logging
Disable logging to journald
2020-01-20 11:14:00 +01:00
Simone Margaritelli
3c8e7fbea4
Merge pull request from dadav/fix/remove_test_snippet
remove accidentally commited snippet
2020-01-20 11:13:51 +01:00
Simone Margaritelli
4a5d2d36cc
Merge pull request from dadav/fix/ohc_typo
Fix bug in ohc plugin
2020-01-20 11:13:41 +01:00
dadav
52d432e5b6 Psssst, Lennart 2020-01-19 17:46:12 +01:00
dadav
93bdf2e3a1 remove accidentally commited snippet 2020-01-19 16:48:35 +01:00
dadav
fe97315b0f bytes... 2020-01-19 15:47:58 +01:00
Simone Margaritelli
7e80a7b9ca
Merge pull request from dadav/feature/ohc_download
add password download from onlinehashcrack
2020-01-19 14:46:24 +01:00
Simone Margaritelli
64385f43ed
Merge pull request from dadav/feature/log2ram
add log2mem functionality and refracture
2020-01-19 14:46:17 +01:00
dadav
6a4d7a895e add log2mem functionality and refracture 2020-01-19 14:44:36 +01:00
Simone Margaritelli
5606ad7281
Merge pull request from xenDE/patch-9
net-pos: make api_url configurable
2020-01-19 14:18:50 +01:00
Simone Margaritelli
23f09bc4b6
Merge pull request from xenDE/patch-7
webgpsmap: load extern resources over https, show current position on…
2020-01-19 14:18:43 +01:00
Simone Margaritelli
238b90d988
Merge pull request from xenDE/patch-8
webgpsmap: better logging informations for easy user debugging
2020-01-19 14:18:33 +01:00
Simone Margaritelli
138316d55a
Merge pull request from signout/master
Trained pwnagotchi in the skill of writing danish
2020-01-19 14:17:55 +01:00
Simone Margaritelli
67bbcfef9b
Merge pull request from dadav/feature/session_log
add session functionality to session-stats
2020-01-19 14:17:28 +01:00
Simone Margaritelli
1a0e0c46d2
Merge pull request from dadav/fix/missing_import
fix import
2020-01-19 14:16:38 +01:00
Simone Margaritelli
4cd0f46ad7
Merge pull request from xBelladonna/patch-1
Small fixes: correct typos and clarify plugin log entries/default configuration
2020-01-19 14:16:19 +01:00
Simone Margaritelli
155ea54d08
Merge pull request from hectorm/allow-disable-installer
Allow installer deactivation
2020-01-19 14:15:58 +01:00
Simone Margaritelli
461e53ed79
Merge pull request from dadav/fix/toml_converter
Convert keys to str
2020-01-19 14:15:43 +01:00
Simone Margaritelli
6d40388002
Merge pull request from dadav/fix/version_import
Fix version import
2020-01-19 14:15:35 +01:00
dadav
37b25a142f add password download 2020-01-19 11:51:11 +01:00
dadav
665ad938b4 add save_directory variable 2020-01-19 11:14:05 +01:00
dadav
301a3d99cf add session logs 2020-01-19 11:11:13 +01:00
Dennis K Jensen
c4e0acad17 Add support for danish language 2020-01-18 22:53:35 +01:00
xenDE
9339ecb2fd
net-pos: make api_url configurable
now its possible tzo set an own api_url in config:

[main.plugins.net-pos]
enabled = true
api_key = "test"
api_url = "https://location.services.my-own.com/v1/geolocate?key={api}"
2020-01-18 17:35:54 +01:00
xenDE
a28c9a1176
webgpsmap: better logging informations for easy user debugging 2020-01-18 16:52:52 +01:00
xenDE
c5d6f6d362
webgpsmap: load extern resources over https, show current position on https context (for self hosted/offlinemap) 2020-01-18 16:46:35 +01:00
dadav
ff843f0367 fix import 2020-01-18 09:30:44 +01:00
xBelladonna
717cb02743 Fix English typos
Fixed a typo in English translation, needing to regenerate locales because of changed msgid
Fixed typo in onlinehashcrack plugin logging

Signed-off-by: xBelladonna <isabelladonnamoore@users.noreply.github.com>
2020-01-18 14:31:15 +09:30
xBelladonna
8be643b2e0 Announce OnlineHashCrack plugin loaded in logs
Signed-off-by: xBelladonna <isabelladonnamoore@users.noreply.github.com>
2020-01-18 14:30:27 +09:30
xBelladonna
814392daa5 Add port onto paw-gps IP in logs for clarity
We show ip:port instead of just ip in logs to avoid confusion

Signed-off-by: xBelladonna <isabelladonnamoore@users.noreply.github.com>
2020-01-18 14:30:27 +09:30
dadav
4cc1c2ac1f more compact 2020-01-17 19:15:01 +01:00
dadav
fae6a0942b Convert keys to str 2020-01-17 19:12:15 +01:00
dadav
53ab63cf8a fix import 2020-01-17 18:10:33 +01:00
Simone Margaritelli
0764304be9
Merge pull request from dadav/fix/version_parsing
Fix/version parsing
2020-01-17 11:37:46 +01:00
dadav
cdc0e0fa3e adjust release script 2020-01-16 19:25:58 +01:00
dadav
5ccd65e46e fix typo 2020-01-16 19:19:58 +01:00
dadav
afc3636939 fix version parsing 2020-01-16 18:52:40 +01:00
Simone Margaritelli
f154b97ab9
Merge pull request from gerard780/patch-1
added support for timezones with - offset
2020-01-16 12:02:47 +01:00
Simone Margaritelli
66acecb387
Merge pull request from hectorm/add-dbus-python
Add dbus-python to requirements.txt
2020-01-16 12:02:07 +01:00
Simone Margaritelli
a31d0a5e19
Merge pull request from mbgroot/master
Updating the Russian translation: mo and po files.
2020-01-16 12:01:51 +01:00
Simone Margaritelli
026b9fc513
Merge pull request from dadav/fix/bt-tether-params
Bt-Tether fix
2020-01-16 12:01:40 +01:00
Simone Margaritelli
1cdc1641fc
Merge pull request from dadav/fix/preview_toml_adjustment
Adjust preview.py (toml)
2020-01-16 12:01:17 +01:00
Simone Margaritelli
71de5925ee
Merge pull request from hectorm/use-sys-exit
Use "sys.exit" instead of "exit" builtin
2020-01-16 12:00:59 +01:00
Simone Margaritelli
4733e90e77
Merge pull request from hectorm/bad-values-toml
Converted back to integer some values from "defaults.toml"
2020-01-16 12:00:48 +01:00
Héctor Molinero Fernández
7cf0a2ef4b Allow installer deactivation
Signed-off-by: Héctor Molinero Fernández <hector@molinero.dev>
2020-01-15 23:36:29 +01:00
Héctor Molinero Fernández
97e03843bd Converted back to integer some values from "defaults.toml"
Signed-off-by: Héctor Molinero Fernández <hector@molinero.dev>
2020-01-14 23:11:30 +01:00
Héctor Molinero Fernández
8b078383c2 Use "sys.exit" instead of "exit" builtin
Signed-off-by: Héctor Molinero Fernández <hector@molinero.dev>
2020-01-14 22:23:01 +01:00
gerard780
3e5bece3cf Merge remote-tracking branch 'upstream/master' into patch-1 2020-01-14 16:10:30 -05:00
Héctor Molinero Fernández
7645be6f3e Merge branch 'master' of https://github.com/evilsocket/pwnagotchi into add-dbus-python 2020-01-14 19:37:05 +01:00
dadav
779da95f78 related to toml migration 2020-01-14 18:37:39 +01:00
dadav
51e13aa1ad related to toml migration 2020-01-14 18:20:00 +01:00
Evgeny Zelenin
e489678cf5
Updating the Russian translation
Updating the Russian translation - po and mo files. Locally tested.
2020-01-14 16:02:20 +05:00
Simone Margaritelli
52015014b4
Merge pull request from foreign-sub/packer_version
Add PACKER_VERSION to Makefile, bump packer to 1.4.5
2020-01-14 11:39:26 +01:00
Simone Margaritelli
f691f737ab
Merge pull request from dadav/feature/migrate_to_toml
Switch to toml
2020-01-14 11:39:13 +01:00
Héctor Molinero Fernández
2617a6edea Add dbus-python to requirements.txt
Signed-off-by: Héctor Molinero Fernández <hector@molinero.dev>
2020-01-13 23:54:07 +01:00
gerard780
6001b7630b
Merge pull request from dadav/fix/date_parsing
dateutil is easier than regex
2020-01-13 15:26:38 -05:00
dadav
78fba1f74b dateutil is easier than regex 2020-01-13 20:10:43 +01:00
dadav
6075296884 Switch to toml 2020-01-13 19:20:40 +01:00
Simone Margaritelli
9457622713
Merge pull request from soebbing/add-easymaxis-fixes
Small german language fixes
2020-01-13 11:42:22 +01:00
Simone Margaritelli
7ef1c1f2f0
Merge pull request from dadav/fix/a2c_files
Prevents permanent tfevent files
2020-01-13 11:41:54 +01:00
Simone Margaritelli
8e0488e16f
Merge pull request from espinielli/patch-1
typo (maybe)
2020-01-13 11:41:40 +01:00
Simone Margaritelli
5934ac4a55
Merge pull request from WheresAlice/feature/749-pycryptodome-dependency
fix incorrect dependency for Crypto
2020-01-13 11:40:37 +01:00
Simone Margaritelli
15bae093fb
Merge pull request from xenDE/patch-6
webgpsmap: add function for download the map as one html file and show current position on map
2020-01-13 11:40:26 +01:00
Simone Margaritelli
0c76cd7ea7
Merge pull request from dadav/feature/switcher
Add switcher plugin
2020-01-13 11:40:07 +01:00
Simone Margaritelli
5834b27ed8
Merge pull request from TechAdvancedCyborg/master
Updated French Translations
2020-01-13 11:39:41 +01:00
Simone Margaritelli
a8ed9bcc1c
Merge pull request from benallard/ups_shutdown
ups_lite: Add auto-shutdown
2020-01-13 11:39:27 +01:00
Simone Margaritelli
0e88c3aa6a
Merge pull request from moheshmohan/master
Added support for waveshare 2.13 B display
2020-01-13 11:39:13 +01:00
Hendrik Söbbing
b1d61d95e6 Small german language fixes
Signed-off-by: Hendrik Söbbing <h.soebbing@shopware.com>
2020-01-03 09:12:26 +01:00
dadav
215af0fc88 Prevents permanent tfevent files 2020-01-02 14:07:27 +01:00
Enrico Spinielli
c09b72ff7e
typo (maybe) 2019-12-31 14:54:38 +01:00
gerard780
2f1b35b3fa
added support for timezones with - offset
introduced new regexp to better handle timestamps with a negative timezone offset like '2019-21-30T14:01:46.79231-05:00'
2019-12-30 14:01:59 -05:00
foreign-sub
d435ef2ba9 Add PACKER_VERSION to Makefile, bump packer to 1.4.5
Signed-off-by: foreign-sub <51928805+foreign-sub@users.noreply.github.com>
2019-12-29 22:10:22 +01:00
xenDE
4164e7c067
webgpsmap: get current position and set marker on map in interval (30s)
used the browsers geolocation function to get the current location, show a marker and center the map there.
on success (user allows usage of get-current-position) it gets position every 30s and reposition the marker without center the map to the marker.
2019-12-29 14:57:17 +01:00
WheresAlice
bb7737762c fix incorrect dependency for Crypto
Signed-off-by: WheresAlice <WheresAlice@users.noreply.github.com>
2019-12-27 18:03:50 +00:00
xenDE
c300e73726
webgpsmap: add function for download the map as one html file with json-positions inside
now it's possible to download the map as one Html file for local use on your pc or host somewhere for mobile use without your pownagotchi. uri: /plugins/webgpsmap/offlinemap
2019-12-26 18:51:00 +01:00
dadav
0587c4b09a Add switcher plugin 2019-12-26 09:43:07 +01:00
Simone Margaritelli
63dc672b11 releasing v1.4.3 2019-12-23 11:21:28 +01:00
evilsocket
0dac137df0
Merge pull request from dadav/fix/scipy_version
Add scipy to requirements.txt
2019-12-23 11:16:53 +01:00
dadav
3db9ccb47e Add scipy to requirements.txt 2019-12-21 17:20:05 +01:00
T.A.C.T.I.C.A.L
f375e4905f Recompiled voice.mo
Recompiled voice.mo
2019-12-20 17:46:42 +01:00
T.A.C.T.I.C.A.L
8d17cf0bd2 Updated French Translations
Updated French translations to fix typos and translation issues...
2019-12-20 17:44:40 +01:00
Benoît Allard
d981b26842 ups_lite: Add auto-shutdown
Signed-off-by: Benoît Allard <benoit.allard@gmx.de>
2019-12-19 20:11:39 +01:00
Simone Margaritelli
a7164ea742 releasing v1.4.2 2019-12-19 17:36:09 +01:00
evilsocket
cae2a18016
Merge pull request from dadav/fix/add_unload
add unload method
2019-12-17 16:48:23 +01:00
dadav
9d63eba232 add unload method 2019-12-16 18:50:40 +01:00
evilsocket
f141e15ba3
Merge pull request from ArnCo/master
Set correct position for memtemp plugin so that it does not overlap with regular messages for waveshare27inch.
2019-12-16 12:00:46 +02:00
evilsocket
e68165ce06
Merge pull request from xenDE/patch-5
webgpsmap: fix parsing new timezone format "Z" in gps data
2019-12-16 12:00:17 +02:00
evilsocket
3758806919
Merge pull request from dadav/fix/remove_sysd_process_limits
remove process limits
2019-12-16 11:59:59 +02:00
evilsocket
1f91c6f09e
Merge pull request from dadav/feature/ensure_write
add ensure_write
2019-12-16 11:59:40 +02:00
evilsocket
3e8b6eafbd
Merge pull request from dadav/fix/no_comment
no comment
2019-12-16 11:59:12 +02:00
xenDE
44138ba463
webgpsmap: fix parsing new timezone format "Z" in gps data
fix timezone "Z": "2019-11-28T04:44:46.79231Z" >> "2019-11-28T04:44:46.79231+00:00"
issue: https://github.com/evilsocket/pwnagotchi/issues/708
2019-12-15 23:37:48 +01:00
ACO
4b71fea404 Set correct position for memtemp plugin so that it does not overlap with regular messages for waveshare27inch.
Signed-off-by: ArnCo <arnaud@cordier.work>
2019-12-14 11:49:21 +01:00
dadav
6babad0d02 remove process limits 2019-12-14 09:00:54 +01:00
dadav
e8513240ea add ensure_write 2019-12-13 19:42:04 +01:00
dadav
00101ccd07 no comment 2019-12-13 19:29:44 +01:00
mohesh.mohan
a0bc911c0e Display freeze recover enhancements - delay between poweron and off 2019-12-13 21:32:52 +04:00
mohesh.mohan
6d71bcd965 Display freeze recover enhancements 2019-12-13 21:08:56 +04:00
mohesh.mohan
91447a2a31 Waveshare213bc hung issues workaround - optimizations 2019-12-13 11:01:40 +04:00
mohesh.mohan
e06480e474 Waveshare213bc hung issues workaround 2019-12-13 10:33:41 +04:00
mohesh.mohan
819146f83a waveshare213b and waveshare213c support bug fixes 2019-12-12 01:56:52 +04:00
mohesh.mohan
cdd4c13336 waveshare213b and waveshare213c support bug fixes 2019-12-12 01:09:03 +04:00
mohesh.mohan
704d7ceaa1 waveshare213b and waveshare213c support bug fixes 2019-12-12 00:46:14 +04:00
mohesh.mohan
a4daf4af61 waveshare213b and waveshare213c support bug fixes 2019-12-12 00:37:24 +04:00
mohesh.mohan
eddcf32b62 213bc support additions 2019-12-11 23:47:14 +04:00
mohesh.mohan
6117235c52 added 213bc support 2019-12-11 23:08:29 +04:00
Simone Margaritelli
e0a66f5c99
misc: small fix or general refactoring i did not bother commenting 2019-12-10 21:22:44 +02:00
Simone Margaritelli
81061cea24 fix: fixed locked callback call on plugins 2019-12-10 21:17:46 +02:00
evilsocket
93bb633010
Merge pull request from alanyee/patch-1
Replace string formatting with logging laziness in __init__.py
2019-12-10 21:06:57 +02:00
evilsocket
dbb64e0fab
Merge pull request from dadav/fix/bugs
Unknown variable; Logic error
2019-12-10 19:40:57 +02:00
Alan Yee
fa8751017d
Update __init__.py 2019-12-09 15:36:26 -08:00
dadav
9d56c97aa5 Unknown variable; Logic error 2019-12-09 20:12:34 +01:00
Evgeny Zelenin
10f7161240
voice.mo update 2019-12-09 21:52:23 +05:00
Evgeny Zelenin
9b02548176
del old voice.mo 2019-12-09 21:52:06 +05:00
Evgeny Zelenin
f5f47c4f88
voice.mo update 2019-12-09 21:50:50 +05:00
evilsocket
1523dfc1ef
Merge pull request from alanyee/patch-1
Update automata.py
2019-12-09 18:10:15 +02:00
evilsocket
a02960b56d
Merge pull request from hmax42/master
UI adjustments for waveshare1
2019-12-09 18:09:19 +02:00
evilsocket
b6f59f99d4
Merge pull request from AliceGrey/master
Added text overflow checking for over 999 associations
2019-12-09 18:08:33 +02:00
Simone Margaritelli
09a00adab9 fix: added a plugin::callback level mutex to avoid calling a callback while a previous call is still running 2019-12-09 17:46:44 +02:00
AliceGrey
7fa30c2868 Added text overflow checking for over 999 associations 2019-12-08 17:16:05 -08:00
hmax42
774d9c693c Update defaults.yml 2019-12-08 16:26:14 +01:00
hmax42
87b6cf7d40 Merge branch 'master' of https://github.com/hmax42/pwnagotchi 2019-12-08 16:25:23 +01:00
hmax42
88928eec82 remove buttonshim 2019-12-08 16:25:07 +01:00
hmax42
60f7849838 Merge branch 'master' into pr/3 2019-12-08 08:46:24 +01:00
hmax42
3cf041617c Update memtemp.py 2019-12-08 08:44:20 +01:00
evilsocket
ee6c06f306
Merge pull request from dadav/fix/auto-update-lock
Add Lock
2019-12-07 16:28:57 +02:00
dadav
2e22a17610 Add Lock 2019-12-07 15:27:41 +01:00
Simone Margaritelli
1615fc8817 releasing v1.4.1 2019-12-07 15:45:15 +02:00
Simone Margaritelli
714cb00610
misc: small fix or general refactoring i did not bother commenting 2019-12-07 15:44:03 +02:00
Simone Margaritelli
a0a790635a fix: fuck me for trusting people's PR without checking 10000 times 2019-12-07 15:43:10 +02:00
Simone Margaritelli
9d17be959d releasing v1.4.0 2019-12-07 15:08:17 +02:00
evilsocket
4b651cd17b
Merge pull request from Evg33/fr_waveshare144lcd
waveshare 1.44inch lcd hat
2019-12-07 14:11:25 +02:00
evilsocket
2f70512076
Merge pull request from Nels885/improve-plugins-web-page
improvement of the plugins web page
2019-12-07 14:10:37 +02:00
evilsocket
b79c59c639
Merge pull request from dadav/feature/usr1_handler
Add signal handler
2019-12-07 14:09:36 +02:00
evilsocket
56f7b67699
Merge pull request from dadav/fix/add-lock-to-ohc
Add lock to onlinehashcrack plugin
2019-12-07 14:09:05 +02:00
dadav
1a8472268e Add signal handler 2019-12-07 09:36:56 +01:00
dadav
4fb7205281 Add lock 2019-12-07 09:30:05 +01:00
Alan Yee
f8ffab426b
Update automata.py
Replace string formatting with logging laziness in automata.py
2019-12-06 12:20:54 -08:00
Evg33
b4daf19401 layout redesign 2019-12-06 20:11:37 +03:00
evilsocket
e04e053cee
Merge pull request from alanyee/patch-1
Replace string formatting with logging laziness in agent.py
2019-12-06 15:04:45 +02:00
evilsocket
4f153e3899
Merge pull request from dadav/fix/bt-tether-lock
Add lock to bt-tether
2019-12-06 15:01:29 +02:00
Evg33
04720ecc42 memtemp plugin for waveshare.com/1.44inch-lcd-hat 2019-12-06 03:24:44 +03:00
Evg33
a12e2aafa5 gps plugin for waveshare.com/1.44inch-lcd-hat 2019-12-06 03:24:24 +03:00
Evg33
1721f67ec3 fr waveshare.com/1.44inch-lcd-hat 2019-12-06 03:24:01 +03:00
Nels885
7693e42aa1 Change the name of the CSS class 'element' to 'plugins-box' and centering the text 2019-12-05 11:49:34 +01:00
Nels885
2ae48a2ef2 Changing the display style of the plugins page 2019-12-05 11:15:29 +01:00
Alan Yee
663bca41cd
Update agent.py
Leverage logging laziness rather than string formatting
2019-12-03 11:34:40 -08:00
dadav
ede01e50cd Add lock 2019-12-03 18:15:35 +01:00
evilsocket
19973574e7
Merge pull request from dadav/fix/plugins_setup_ui
Fix/plugins setup ui
2019-12-03 11:44:57 +01:00
evilsocket
a019b4c778
Merge pull request from dadav/fix/net-pos-bug
Add lock; make less verbose
2019-12-03 11:44:12 +01:00
evilsocket
526c5bed87
Merge pull request from Nels885/update-french-translation
Update french translation
2019-12-03 11:42:47 +01:00
evilsocket
4d6136633a
Merge pull request from jakubmilkowski/master
fix: Prevent duplicate entries for uploaded pcaps
2019-12-03 11:42:22 +01:00
evilsocket
6d90b75d10
Merge pull request from dadav/feature/session_stats_plugin
Add session-stats plugin
2019-12-03 11:41:20 +01:00
evilsocket
03695be807
Merge pull request from alanyee/patch-1
Use list comprehension in setup.py
2019-12-03 11:40:34 +01:00
Alan Yee
6a97476732
Update setup.py
Use list comprehension
2019-12-02 13:32:36 -08:00
dadav
b5e620684b this is apparently needed 2019-12-02 19:22:36 +01:00
dadav
95557ab37d Axes information will be lost otherwise 2019-12-02 19:20:47 +01:00
dadav
988d093e36 Add session-stats plugin 2019-12-01 21:49:27 +01:00
hmax42
f563d71477
Update gps.py 2019-12-01 14:27:13 +01:00
hmax42
7b219fd139
Update memtemp.py 2019-12-01 14:27:10 +01:00
hmax42
42ed698583
Update memtemp.py 2019-12-01 08:06:14 +01:00
hmax42
6df7bcd885
add ws1 2019-12-01 07:56:09 +01:00
hmax42
1c299832ae
add ws1 2019-12-01 07:56:03 +01:00
hmax42
11476433ca
Merge pull request from evilsocket/master
update
2019-12-01 07:49:23 +01:00
jakubmilkowski
6e57e131b3 fix: Prevent duplicate entries for uploaded pcaps
For the same reasons like described here https://github.com/evilsocket/pwnagotchi/issues/657 duplicated entries could be created in /root/.ohc_uploads

Signed-off-by: jakubmilkowski <jakub.milkowsky@gmail.com>
2019-11-30 22:44:03 +01:00
dadav
548b42ef20 Lock ui on change 2019-11-30 14:20:37 +01:00
dadav
99614c8cd4 Call on_ready 2019-11-30 14:01:35 +01:00
VOIRIN Lionel
e19ea999e2 Correction of some French translations 2019-11-30 12:51:53 +01:00
VOIRIN Lionel
2207a1eacf Updating the French translation 2019-11-30 10:54:38 +01:00
dadav
9509dd0aa5 Add lock; make less verbose 2019-11-30 10:05:43 +01:00
dadav
608904daf8 Call unload with ui arg 2019-11-30 09:43:39 +01:00
dadav
f973997cdb Call on_ui_setup when plugin reloads 2019-11-30 09:35:19 +01:00
evilsocket
9b594f7fb2
Merge pull request from cdiemel/master
added on_unfiltered_wifi_list
2019-11-29 15:45:43 +01:00
evilsocket
b8eed4f52a
Merge pull request from Evg33/reboot
feature/plugin/web/reboot
2019-11-29 15:45:26 +01:00
evilsocket
ad510429fe
Merge pull request from dadav/feature/plugins_urls
Add urls to plugins
2019-11-29 15:44:58 +01:00
dadav
f5a94fde96 Add url to plugin 2019-11-28 21:55:20 +01:00
Evg33
855bda9104 feature/plugin/web/reboot 2019-11-28 23:02:22 +03:00
Casey Diemel
e72fd08fb4 added on_unfiltered_wifi_list
Signed-off-by: Casey Diemel <diemelcw@gmail.com>
2019-11-28 14:39:15 -05:00
evilsocket
e44ebac43f
Merge pull request from soebbing/improve-german-translations
Improve German translations slightly
2019-11-28 11:29:30 +01:00
evilsocket
b5ddb716e2
Merge pull request from mbgroot/master
Updating the Russian translation
2019-11-28 11:28:54 +01:00
evilsocket
82e7e09fa1
Merge pull request from dadav/feature/wpa-sec-download
Add wpa-sec password download
2019-11-28 11:28:36 +01:00
evilsocket
8b40e94ca8
Merge pull request from dadav/feature/plugins_web_page
Add plugins page
2019-11-28 11:28:15 +01:00
dadav
cc5c46906f Add plugins page 2019-11-27 21:22:40 +01:00
dadav
7cb52ba33a Add wpa-sec password download 2019-11-27 18:51:37 +01:00
Evgeny Zelenin
07f8e7bd4a
Update voice.po 2019-11-27 22:01:43 +05:00
Evgeny Zelenin
48dc751d13
Update voice.po 2019-11-27 12:09:24 +05:00
Evgeny Zelenin
3c154ffe0c
Update voice.po 2019-11-27 02:58:16 +05:00
Evgeny Zelenin
167f559d73
Update voice.po 2019-11-27 02:54:48 +05:00
evilsocket
19775b7d27
Merge pull request from dadav/fix/webcfg_check_for_error
Fix/webcfg check for error
2019-11-26 12:32:10 +01:00
evilsocket
48e3a372cc
Merge pull request from sayak-brm/master
[BUGFIX] Prevent duplicate entries for reported networks
2019-11-26 12:04:00 +01:00
Sayak Brahmachari
d2c44797e5
Prevent duplicate entries for reported networks
Due to duplicate entries in `/root/.api-report.json`, [this code](https://github.com/evilsocket/pwnagotchi/blob/master/pwnagotchi/plugins/default/grid.py#L90) incorrectly reports the number of pwned networks, resulting in incorrect stats on the [pwnagotchi.ai website](https://pwnagotchi.ai/).
2019-11-26 14:05:10 +05:30
dadav
a03443986b Parse to str 2019-11-25 20:08:20 +01:00
dadav
a7ea499fac Should fail before write 2019-11-25 19:47:23 +01:00
evilsocket
722a91655a
Merge pull request from xenDE/patch-4
webgpsmap: add filter for: SSID, MAC, isCracked, Password
2019-11-25 12:03:49 +01:00
xenDE
93e06d7f59
add filter for: SSID, MAC, isCracked, Password 2019-11-24 18:49:32 +01:00
evilsocket
7de5121033
Merge pull request from xenDE/patch-3
fix gpio_buttons plugin: gpio needs to be a number
2019-11-23 11:30:28 +01:00
xenDE
83f741bbb0
fix: gpio needs to be a number
fixes gpio id as string in config
https://github.com/evilsocket/pwnagotchi/issues/643
2019-11-23 02:05:01 +01:00
evilsocket
a779fb9b0b
Merge pull request from xenDE/patch-2
cleanup, fixes and add handling of .paw-gps.json
2019-11-21 17:03:08 +01:00
xenDE
c4a007e72a
cleanup, fixes and add handling of .paw-gps.json
cleanup logging, increase cache item count from 1024 to 2048, add handling of corrupt long/lat position null, added handling of .paw-gps.json files - tested with master
2019-11-20 15:45:16 +01:00
evilsocket
1a71615fa8
Merge pull request from Arttumiro/patch-3
Update to using .paw-gps.json files
2019-11-20 10:11:16 +01:00
evilsocket
7a9f84f495
Merge pull request from xslendix/master
Added romanian language
2019-11-20 10:11:06 +01:00
evilsocket
6e3f5a1181
Merge pull request from daniel156161/master
fix backup.sh (find with type f for no zero byte files into archive)
2019-11-20 10:10:33 +01:00
root
d045ed5afa Added romanian language 2019-11-19 22:58:49 +00:00
Arttumiro
0ee0aaff37
Update to using .paw-gps.json files
Remove old link due to it not being too good, update file extension to .paw-gps.json for better support on problems with webgpsmap.
2019-11-19 15:38:11 +02:00
evilsocket
0fb81a11c4
Merge pull request from xenDE/patch-1
fix gps iso-datetime parsing
2019-11-19 11:30:15 +01:00
daniel156161
cfc0ad1b48
fix backup.sh (find with type f for no zero byte files into archive) 2019-11-19 05:03:21 +01:00
xenDE
3351c251ef
fix gps timestamp parsing
problem on timestamp parsing if microseconds are more then 6 numbers.

will fix bug reported in this pr: https://github.com/evilsocket/pwnagotchi/pull/619

tested with testdata from https://github.com/xenDE/pwnagotchi-plugin-webgpsmap/tree/master/handshakes.gps-map-test

before:

[2019-11-19 00:37:51,946] [INFO] webgpsmap: scanning /root/handshakes.gps-map-test
[2019-11-19 00:37:52,022] [INFO] webgpsmap: Found 4 .(geo|gps).json files from 5 handshakes. Fetching positions ...
[2019-11-19 00:37:52,144] [ERROR] Lng is 0
[2019-11-19 00:37:52,241] [ERROR] Invalid isoformat string: '2019-11-14T12:30:41.097414739+01:00'
[2019-11-19 00:37:52,280] [ERROR] Lng is 0
[2019-11-19 00:37:52,329] [INFO] webgpsmap loaded 2 positions

after:

[2019-11-19 00:48:04,652] [INFO] webgpsmap: scanning /root/handshakes.gps-map-test
[2019-11-19 00:48:04,693] [INFO] webgpsmap: Found 5 .(geo|gps).json files from 6 handshakes. Fetching positions ...
[2019-11-19 00:48:04,760] [ERROR] Lng is 0
[2019-11-19 00:48:04,822] [ERROR] Lng is 0
[2019-11-19 00:48:04,850] [INFO] webgpsmap loaded 3 positions
2019-11-19 00:56:59 +01:00
Hendrik Söbbing
d9d399429c Improve German translations slightly
Signed-off-by: Hendrik Söbbing <h.soebbing@shopware.com>
2019-11-18 18:31:11 +01:00
hmax42
b1ad247e11
Merge pull request from evilsocket/master
pull
2019-11-18 17:19:52 +01:00
evilsocket
b5a148f287
Merge pull request from neutralinsomniac/invert_led_blink
fix: apparently for the led, 0 is ON and 1 is OFF
2019-11-18 15:56:50 +01:00
Jeremy O'Brien
7138f6469b fix: apparently for the led, 0 is ON and 1 is OFF
Signed-off-by: Jeremy O'Brien <neutral@fastmail.com>
2019-11-18 08:57:10 -05:00
Simone Margaritelli
785d678e30 releasing v1.3.0 2019-11-18 14:12:13 +01:00
Simone Margaritelli
9c8784e533 fix: reload inbox every 15 seconds 2019-11-18 13:24:58 +01:00
Simone Margaritelli
fd288b4acd
misc: small fix or general refactoring i did not bother commenting 2019-11-18 13:21:44 +01:00
evilsocket
b704614254
Merge pull request from Arttumiro/patch-2
Add link to better guide to paw-gps.py
2019-11-18 12:29:44 +01:00
Arttumiro
2dc36651df
Add link to better guide to paw-gps.py
Got permission from LeonT for this
2019-11-18 13:27:30 +02:00
evilsocket
d8d6d52eda
Merge pull request from andrewbeard/master
Fix for issue 
2019-11-16 10:09:49 +01:00
Andrew Beard
43c5ab7ecf
- Fix the temperature symbol when using something other than celsius
- Add defaults so we don't throw an exception if an invalid scale is
selected. Bad things happen if you spell fahrenheit wrong.
2019-11-16 01:29:02 -05:00
evilsocket
de62424dbc
Merge pull request from neutralinsomniac/fix_backup_script_default_username
fix: don't use $USERNAME as default username for backup/restore scripts, as this is usually defined on linux hosts as the current logged in user
2019-11-15 14:59:53 +01:00
Jeremy O'Brien
8c51936c13 fix: don't use $USERNAME as default username for backup/restore scripts, as this is usually defined on linux hosts as the current logged in user
Signed-off-by: Jeremy O'Brien <neutral@fastmail.com>
2019-11-15 07:59:32 -05:00
Simone Margaritelli
87e46610f9 fix: --clear does not start the agent anymore 2019-11-15 12:27:53 +01:00
evilsocket
a96dead519
Merge pull request from Arttumiro/master
Fixed Paw-Gps config, added a - mark
2019-11-15 12:06:06 +01:00
evilsocket
8ed2950eb5
Merge pull request from Arttumiro/patch-1
Fixes to paw-gps.py
2019-11-15 12:05:58 +01:00
evilsocket
6f8133b2b8
Merge pull request from benleb/add-spacing-to-gps
decrease spacing in gps ui
2019-11-15 12:05:07 +01:00
evilsocket
16afa87112
Merge branch 'master' into add-spacing-to-gps 2019-11-15 12:05:00 +01:00
evilsocket
ed22343877
Merge pull request from budd3993/fix-webgpsmap-negatives
webgpsmap plugin - fixed check for nonzero lat/long
2019-11-15 12:04:00 +01:00
evilsocket
c70f2c30e9
Merge pull request from wystans/master
Added signal strength to logging messages
2019-11-15 12:03:39 +01:00
Wystan Schmidt
5111490c70 Added rssi info to logging messages
Signed-off-by: Wystan Schmidt <wystans@gmail.com>
2019-11-14 20:13:50 -07:00
Josh Bauer
59ae35372e
fixed check for nonzero lat/long 2019-11-14 21:15:12 -05:00
evilsocket
5f593a4231
Merge pull request from benleb/more-pythonic
f-strings and double quotes in gps plugin
2019-11-14 23:05:43 +01:00
Arttumiro
56cc872daa
Update paw-gps.py 2019-11-14 22:29:58 +02:00
Arttumiro
6e1490da78
Fix on_handshake, whole plugin should work now
Add the else: so if the ip is set in the options the plugin actually works.
2019-11-14 22:29:43 +02:00
Ben Lebherz
69597103b5 use f-strings and double quotes in gps plugin 2019-11-14 15:57:43 +01:00
Ben Lebherz
96ca5dd8e3 decrease spacing in gps ui 2019-11-14 15:46:12 +01:00
evilsocket
3efa3a935a
Merge pull request from benleb/add-gateway-option
add gateway option to bt-tether
2019-11-14 11:04:30 +01:00
evilsocket
39ccd141eb
Merge pull request from benleb/add-gps-coords-to-ui
show gps coords of last handshake in ui
2019-11-14 11:04:12 +01:00
evilsocket
1a30b52a90
Merge pull request from benleb/make-label-spacing-dynamic
make label to value space configurable to better fit small fonts
2019-11-14 11:03:28 +01:00
Arttumiro
8965ad9272
change default ip of paw-gps, it needs port too.
Change default ip from 192.168.44.1 (which is the ip address of an android on bt tether) to 192.168.44.1:8080 so it has the default port paw-gps opens on, which is 8080.
2019-11-14 11:45:39 +02:00
Arttumiro
5dae0ce982
Fixed Paw-Gps, added a - mark to the config.
Before, paw-gps was set as pawgps in the config, this was different than the filename (paw-gps.py) so it didnt work, this request should fix that. (if this is the place that sets /etc/pwnagotchi/default.yml, this is my first PR so sorry im dumb)
2019-11-14 11:26:32 +02:00
Ben Lebherz
92266a783a make label to value space configurable to better fit small fonts 2019-11-13 21:11:21 +01:00
Ben Lebherz
9e656d4ea6 show gps coords of last handshake in ui 2019-11-13 15:38:21 +01:00
Ben Lebherz
1d255b577d add gateway option to bt-tether 2019-11-13 15:37:20 +01:00
Simone Margaritelli
1ff14c05a9
misc: small fix or general refactoring i did not bother commenting 2019-11-13 15:05:21 +01:00
Simone Margaritelli
ab63ecccd7 new: macos connection share script now autodetects the usb interface and uses en0 as default upstream (closes ) 2019-11-13 14:54:49 +01:00
Simone Margaritelli
a7e37115d9
misc: small fix or general refactoring i did not bother commenting 2019-11-13 14:38:39 +01:00
Simone Margaritelli
b1d8aa3ba1 misc: several improvements on the web ui 2019-11-13 14:37:13 +01:00
evilsocket
6e26463278
Merge pull request from ahsec/add_spanish_support
Adding support for Spanish language
2019-11-13 11:39:06 +01:00
evilsocket
7261073073
Merge pull request from lexusburn/patch-1
small typo fix
2019-11-13 11:38:54 +01:00
lexusburn
a02c1d6d92
small typo fix 2019-11-13 09:17:18 +01:00
Angel
40caf3f51a Adding support for Spanish language
Signed-off-by: Angel <ahsec>
2019-11-12 22:58:02 -08:00
Simone Margaritelli
21f1273bd8 Merge branch 'master' of github.com:evilsocket/pwnagotchi 2019-11-13 01:32:14 +01:00
Simone Margaritelli
a8c07ba997 fix: supporting channels greater than 140 for 5g (closes ) 2019-11-13 01:32:05 +01:00
evilsocket
6bd09c7f43
Merge pull request from qbit/macos_and_posix_fix
Remove '-w' as macOS doesn't have it. Fix var expansion in dash.
2019-11-13 01:17:58 +01:00
Aaron Bieber
1830a19b37
Remove '-w' as macOS doesn't have it. Fix var expansion in dash.
Signed-off-by: Aaron Bieber <aaron@bolddaemon.com>
2019-11-12 16:44:46 -07:00
Simone Margaritelli
9dcc647656 Merge branch 'master' of github.com:evilsocket/pwnagotchi 2019-11-13 00:11:59 +01:00
Simone Margaritelli
8fcfd4cafd fix: plugin events dispatch is now asynchronous (fixes ) 2019-11-13 00:11:50 +01:00
evilsocket
369d7a65a8
Merge pull request from michelep/master
Add support for SpotPear 2,4inch LCD display via framebuffer
2019-11-12 23:58:30 +01:00
evilsocket
d7ad8ee0d7
Merge pull request from dipsylala/additional_agent_properties
Providing APs/APs per channel and current channel as R/O from Agent
2019-11-12 23:57:46 +01:00
Simone Margaritelli
a5f9b9b2ee new: encountered units 2019-11-12 23:56:59 +01:00
Dispsylala
b266671864 Providing APs/APs per channel and current channel as R/O from Agent 2019-11-12 22:51:10 +00:00
Simone Margaritelli
c47b8f2d11
misc: small fix or general refactoring i did not bother commenting 2019-11-12 23:25:56 +01:00
Simone Margaritelli
8129fb7dd2
misc: small fix or general refactoring i did not bother commenting 2019-11-12 23:13:32 +01:00
Simone Margaritelli
c16cabc852 new: searchbox in the pwnmail 2019-11-12 23:08:39 +01:00
Simone Margaritelli
9a7de86057 new: fingerprint qrcode 2019-11-12 23:04:54 +01:00
Simone Margaritelli
440f2a470a new: added basic authentication to the web ui 2019-11-12 21:49:23 +01:00
Simone Margaritelli
81a89d43e0 misc: refactored ui.display.video as ui.web 2019-11-12 21:19:31 +01:00
Simone Margaritelli
91b409053b fix: using static assets 2019-11-12 21:03:21 +01:00
Simone Margaritelli
df01a03a4b new: pwngrid web client 2019-11-12 20:18:02 +01:00
evilsocket
e2be21004d
Merge pull request from luclu7/patch-1
Fixed a small typo in bt-tether
2019-11-12 13:18:42 +01:00
Luclu7
0f3d9db01d
Fixed a small typo in bt-tether 2019-11-12 11:46:04 +01:00
evilsocket
19abc17816
Merge pull request from dwi/patch-1
Small UPS Lite typo fix
2019-11-12 11:39:59 +01:00
evilsocket
4b9ebc2512
Merge pull request from benleb/patch-2
shift word
2019-11-12 11:39:16 +01:00
evilsocket
41a3fad43e
Merge pull request from benleb/patch-3
fix baudrate option name in gps plugin
2019-11-12 11:39:00 +01:00
Ben Lebherz
f4b886cf7b
fix baudrate option name 2019-11-12 08:37:36 +01:00
Ben Lebherz
0eb8e1829e
shift word 2019-11-12 07:40:48 +01:00
hmax42
30b1874a0a
New defaults for buttonshim 2019-11-11 19:08:12 +01:00
hmax42
b903f636d2
Blinking works now freely 2019-11-11 19:04:56 +01:00
dwi
52b40f049e
Small UPS Lite typo fix
Fixing dfd534ac41 that fixes 
2019-11-11 17:43:20 +01:00
evilsocket
3df35ef03b
Merge pull request from qbit/bkp_rstr_compat
Make backup / restore use POSIX shell for portability.
2019-11-11 17:37:11 +01:00
evilsocket
e87bcc4744
Merge pull request from benleb/patch-1
fix completely broken gps plugin
2019-11-11 17:36:12 +01:00
Simone Margaritelli
dfd534ac41 fix: fixed ups_lite plugin layout (closes ) 2019-11-11 17:35:45 +01:00
Aaron Bieber
0b2c156d29
Make backup / restore use POSIX shell for portability.
backup.sh:
  - Add use getopts for a more friendly user interface.
  - Add timeout to ping check.
  - Add unix epoch to backup file names.
  - Backup ssh information (/etc/ssh, $USER/.ssh).

restore.sh:
  - Add use getopts for a more friendly user interface.
  - Add timeout to ping check.
  - If user doesn't specify a backup file to restore, attempt to
    find the latest for the host name passed in.

Signed-off-by: Aaron Bieber <aaron@bolddaemon.com>
2019-11-11 07:49:24 -07:00
O-Zone
14064c3b5b Add support for SpotPear 2,4inch LCD display via framebuffer 2019-11-11 14:15:48 +01:00
Ben Lebherz
313fd66634
fix completely broken gps plugin :D 2019-11-11 14:12:38 +01:00
evilsocket
c939af4248
Merge pull request from xenDE/master
added webgpsmap plugin
2019-11-11 11:00:57 +01:00
xenDE
e934181606
webgpsmap default disabled
was enabled default by mistake (copy&paste)
2019-11-11 10:59:54 +01:00
evilsocket
2505cbf14c
Merge pull request from DaniloNC/master
Add support to whitelist by MAC and MAC vendor
2019-11-11 10:51:57 +01:00
evilsocket
b2c6de72cd
Merge pull request from budd3993/fix-memtemp-inky
fixed memtemp location for inky display
2019-11-11 10:51:22 +01:00
evilsocket
307b3890f1
Merge pull request from LaurentFough/master
Create .editorconfig
2019-11-11 10:50:26 +01:00
xenDE
b9a909de2b add handling for empty position data 2019-11-10 21:56:36 +00:00
Łaurent ʘ❢Ŧ Ŧough
b180f16aa6
Update .editorconfig
Removed; defaults that may not be used by everyone
2019-11-10 12:56:52 -08:00
Łaurent ʘ❢Ŧ Ŧough
2d517e3de5
Update .editorconfig
Removed *.py section
2019-11-10 12:55:28 -08:00
xenDE
a1746da7f1 comment default gpio button command examples 2019-11-10 19:45:43 +00:00
xenDE
1a1a70d6e8 added webgpsmap plugin 2019-11-10 19:34:49 +00:00
Josh Bauer
229e2671e8 fixed memtemp location for inky display
Signed-off-by: Josh Bauer <joshbauer3@gmail.com>
2019-11-10 14:08:33 -05:00
hmax42
92c1b6b005
blinking with static colors 2019-11-10 13:44:35 +01:00
Simone Margaritelli
a2ac679499 new: pwnfile link in the web ui (closes ) 2019-11-10 13:24:56 +01:00
evilsocket
d7e1c59709
Merge pull request from danielhoherd/improve-backup
Ignore backup archives. Use 'find | xargs' to handle missing files.
2019-11-10 13:11:30 +01:00
evilsocket
a5ed09cd08
Merge pull request from xenDE/master
prevent double execution on gpio buttons
2019-11-10 13:10:49 +01:00
Simone Margaritelli
8c83f8129c fix: added memtemp defaults (fixes for PR ) 2019-11-10 13:10:16 +01:00
hmax42
eddfdb3ebc
Plugin for the Pimoroni Button Shim
this plugin enabled support for the 5 buttons of the shim. the rgb led is not supported yet. an example for config.yml lloks like this

      buttonshim:
        enabled: true
        buttons:
          - "date >> /home/pi/buttonA.txt"
          - "date >> /home/pi/buttonB.txt"
          - "date >> /home/pi/buttonC.txt"
          - "date >> /home/pi/buttonD.txt"
          - "date >> /home/pi/buttonE.txt"
2019-11-10 08:54:04 +01:00
Daniel Hoherd
7ca1168fed Ignore backup archives. Use 'find | xargs' to handle missing files. Correct file type in comments.
Signed-off-by: Daniel Hoherd <daniel.hoherd@gmail.com>
2019-11-09 17:20:42 -08:00
Łaurent ʘ❢Ŧ Ŧough
d41e5c1152
Create .editorconfig
Reasonably tame .editorconfig for help with editting the .py & especially the YAML files
2019-11-09 14:18:03 -08:00
xenDE
25eee18e7b
verhindern von doppelten ausführungen
i had with the old value 250 many double executions, despite short push switches. The new value 600 prevents this. Tested with volume buttons.
2019-11-09 19:50:47 +01:00
evilsocket
38144a7abb
Merge pull request from mil1200/master
Added Slovak language
2019-11-09 10:30:49 +01:00
evilsocket
1f17d3cbbe
Merge pull request from bensmith83/patch-1
Add Fahrenheit and Kelvin temperature scales to memtemp.py
2019-11-09 10:30:26 +01:00
bensmith83
1da59b50b4
Add Fahrenheit and Kelvin temperature scales to memtemp.py 2019-11-08 19:50:33 -05:00
danilonc
1130c72098 Add support to whitelist by MAC and MAC vendor 2019-11-08 16:18:42 -06:00
Milan Kyselica
6b99deb7bd
Update voice.po 2019-11-08 20:13:05 +01:00
Milan Kyselica
c3ed3509e9
+ SK voice.mo 2019-11-08 20:12:23 +01:00
Milan Kyselica
e3a2e8c811
Delete voice.po 2019-11-08 20:12:04 +01:00
Milan Kyselica
89046bf0c5
+ SK voice.po 2019-11-08 20:11:51 +01:00
Milan Kyselica
4cc61322de
+ SK voice.po 2019-11-08 20:09:53 +01:00
evilsocket
94521f2174
Merge pull request from dadav/feature/webcfg-plugin
Add webcfg
2019-11-08 18:43:48 +01:00
dadav
b50acd364c Add webcfg 2019-11-08 17:55:48 +01:00
Simone Margaritelli
9bc7fcccb3 new: the grid plugin now triggers an on_unread_inbox event that other plugins can intercept (see led plugin) 2019-11-08 15:49:49 +01:00
Simone Margaritelli
bd61196c3c new: the auto-update plugin now triggers an on_updating event that other plugins can intercept (see led plugin) 2019-11-08 15:47:12 +01:00
Simone Margaritelli
186042aa20
misc: small fix or general refactoring i did not bother commenting 2019-11-08 15:43:57 +01:00
Simone Margaritelli
78bf801273
misc: small fix or general refactoring i did not bother commenting 2019-11-08 15:40:54 +01:00
Simone Margaritelli
89450ec1bd new: implemented led plugin (closes ) 2019-11-08 15:31:40 +01:00
Simone Margaritelli
09f80cc842 fix: fixed typo in the example plugin 2019-11-08 14:08:43 +01:00
Simone Margaritelli
fcb5c87ef0 fix: enabling fstrim.timer from setup.py for updating users 2019-11-08 13:36:27 +01:00
Simone Margaritelli
bf0e480266 Merge branch 'master' of github.com:evilsocket/pwnagotchi 2019-11-08 13:28:53 +01:00
Simone Margaritelli
fce57ad8eb
misc: small fix or general refactoring i did not bother commenting 2019-11-08 13:28:37 +01:00
evilsocket
425fe7e55a
Merge pull request from Spindel/devel
Enable fstrim.timer to increase SDCard lifetime
2019-11-08 13:26:49 +01:00
Simone Margaritelli
5760864495
misc: small fix or general refactoring i did not bother commenting 2019-11-08 13:25:55 +01:00
Simone Margaritelli
3d9c559cdb
misc: small fix or general refactoring i did not bother commenting 2019-11-08 13:20:14 +01:00
Simone Margaritelli
97a019fe25 new: implemented log rotation (closes ) 2019-11-08 13:01:50 +01:00
Simone Margaritelli
8d5834232b fix: fixed exit after --version 2019-11-08 12:07:14 +01:00
evilsocket
ebc161e82f
Merge pull request from uzerai/master
Add  norwegian locale.
2019-11-08 10:58:30 +01:00
Edvard Botten
9485e53484 Add norwegian translation files.
Signed-off-by: Edvard Botten <edvbot@gmail.com>
2019-11-07 22:02:28 +00:00
D.S. Ljungmark
0d66f93ef3 Enable fstrim.timer to increase SDCard lifetime
fstrim timer triggers weekly to issue TRIM/DISCARD on devices that support it,
which includes SD and MMC devices.

This marks all unused diskspace as available for internal garbage collection
and wear levelling on the card.  It's preferrable to use the timer to the
discard option, as it involves a one-off cost of latency over a global slowing
down of all write or erase requests that the `discard` mount option does.
2019-11-07 17:41:17 +01:00
evilsocket
ad80fab554
Merge pull request from dadav/fix/webhook_arguments
Changed webhook arguments, added exception handling, added logrotation
2019-11-07 11:06:14 +01:00
dadav
b7380018f1 Changed webhook arguments and add exception handling 2019-11-07 11:03:37 +01:00
Simone Margaritelli
2ea8e7fe6b misc: moved non-core and problematic plugins to separate repository (closes ) 2019-11-07 10:59:40 +01:00
evilsocket
e23e1affae
Merge pull request from neutralinsomniac/normalize_waveshare29inch_config
normalize the waveshare29inch config string
2019-11-07 10:39:43 +01:00
evilsocket
8d8333b586
Merge pull request from dadav/fix/gpio-plugin
Fix options of gpio-plugin
2019-11-07 10:38:16 +01:00
dadav
5712f5cd51 Fix arguments 2019-11-07 07:37:41 +01:00
Jeremy O'Brien
9cc15403c3 normalize the waveshare29inch config string
Signed-off-by: Jeremy O'Brien <neutral@fastmail.com>
2019-11-06 09:07:27 -05:00
evilsocket
15fa7039e8
Merge pull request from deveth0/deveth0-523-webui
: Add some styling to webui
2019-11-06 11:31:40 +01:00
Alex Muthmann
f83c820b38
Fix missing js 2019-11-06 11:28:23 +01:00
evilsocket
323c9a74cc
Merge pull request from deveth0/deveth0-netpos-logging
Additional Logging for net-pos plugin
2019-11-06 11:24:14 +01:00
evilsocket
8a2d6eac9d
Merge pull request from FrixosTh/patch-3
Bug Fix on AircrackOnly Plugin preventing it to load
2019-11-06 11:23:36 +01:00
FrixosTh
61d8e28aad
Bug Fix on AircrackOnly Plugin preventing it to load
Unnecessary/Wrong call to the super init method prevents AircrackOnly to load during startup
2019-11-06 01:46:48 +02:00
Alex Muthmann
337ebd6f9f
Add some style 2019-11-06 00:06:19 +01:00
amuthmann
399dbf2b41 Fixes : Add some style 2019-11-06 00:03:29 +01:00
amuthmann
f952bcd298 Fixes : Add some style 2019-11-06 00:03:17 +01:00
Alex Muthmann
9dc7c92c86
Additional Logging for net-pos plugin to simplify search for broken files
I currently have some broken net-pos files on my device and the logging does not provide enough information to find the invalid files. I'd suggest to log the path.
2019-11-05 21:54:37 +01:00
Simone Margaritelli
9e92201d82 releasing v1.2.1 2019-11-05 19:11:37 +01:00
Simone Margaritelli
4e592df6d8 fix: fixed a bug which prevented rebooting 2019-11-05 19:07:16 +01:00
Simone Margaritelli
403ee242a6 releasing v1.2.0 2019-11-05 18:54:42 +01:00
Simone Margaritelli
106d72c4a2 reverted 5ddc2d7080ec96e24326c5c144bd87ebe9acd8d3 2019-11-05 18:51:01 +01:00
Simone Margaritelli
5ddc2d7080 fix: fixed issue with webui in landcape (fixes ) 2019-11-05 18:30:09 +01:00
evilsocket
52f1111a5b
Merge pull request from dadav/fix/backup-loop
Add max_tries param
2019-11-05 18:25:44 +01:00
dadav
346773f790 Add max_tries param 2019-11-05 18:02:36 +01:00
Simone Margaritelli
9264b837c8
misc: small fix or general refactoring i did not bother commenting 2019-11-05 15:56:30 +01:00
Simone Margaritelli
81032fe5e3 misc: refactored webui into separate files instead of strings 2019-11-05 15:51:26 +01:00
Simone Margaritelli
2aa73d1a7e
misc: small fix or general refactoring i did not bother commenting 2019-11-05 15:11:38 +01:00
Simone Margaritelli
b796384345 new: webui status pages reload /ui after a given interval 2019-11-05 15:04:58 +01:00
Simone Margaritelli
a6ca99c693
misc: small fix or general refactoring i did not bother commenting 2019-11-05 15:01:58 +01:00
Simone Margaritelli
60d9fd46ae
misc: small fix or general refactoring i did not bother commenting 2019-11-05 14:57:22 +01:00
Simone Margaritelli
de71d18a72
misc: small fix or general refactoring i did not bother commenting 2019-11-05 14:52:54 +01:00
Simone Margaritelli
aba5b938bc
misc: small fix or general refactoring i did not bother commenting 2019-11-05 14:48:26 +01:00
Simone Margaritelli
0830e0c74b
misc: small fix or general refactoring i did not bother commenting 2019-11-05 14:37:42 +01:00
Simone Margaritelli
cf8a4da9e7
misc: small fix or general refactoring i did not bother commenting 2019-11-05 14:33:16 +01:00
Simone Margaritelli
80e2cdcd8d refact: using flask templating 2019-11-05 14:26:35 +01:00
Simone Margaritelli
a5cfb9aa8b
misc: small fix or general refactoring i did not bother commenting 2019-11-05 14:03:56 +01:00
Simone Margaritelli
62a0cc6276 fix: suppress flask logging 2019-11-05 14:03:15 +01:00
Simone Margaritelli
f8523eb382 fix: added flask requirements 2019-11-05 13:55:35 +01:00
Simone Margaritelli
58b0b0fea0 fix: using try/finally to return the html and then call the action 2019-11-05 11:03:41 +01:00
evilsocket
bdf585afe5
Merge pull request from dadav/fix/bt-tet-loaded-msg
More bt-tether fixes
2019-11-05 10:48:19 +01:00
evilsocket
b7d1c82788
Merge pull request from dadav/feature/flask_migration
Migrate to flask
2019-11-05 10:47:51 +01:00
evilsocket
74838d6b96
Merge pull request from gkrs/master
Updated polish language pack. New messages translated.
2019-11-05 10:47:08 +01:00
dadav
7fc46ddcf6 Add restart route 2019-11-04 18:43:33 +01:00
dadav
4503e71bfb Rebased 2019-11-04 18:38:12 +01:00
dadav
11fb95d299 Add CSRF support 2019-11-04 18:31:58 +01:00
dadav
0aaeeb8011 First step 2019-11-04 18:29:26 +01:00
dadav
3e1f3d5eec Add deps 2019-11-04 18:28:42 +01:00
dadav
86a3443b8d Handle exception if no Interface found 2019-11-04 17:55:16 +01:00
dadav
806efa1fc2 More consistency 2019-11-04 17:45:53 +01:00
dadav
537519dea6 Fix typo 2019-11-04 17:44:53 +01:00
Simone Margaritelli
0c1d98f2ab
misc: small fix or general refactoring i did not bother commenting 2019-11-04 17:44:35 +01:00
dadav
4852b3f59e Make bt-tet lil bit more verbose 2019-11-04 17:41:27 +01:00
Simone Margaritelli
364af70ad5 new: button to restart in auto or manu mode 2019-11-04 17:35:06 +01:00
Simone Margaritelli
e336fca0de fix: fixed race condition (again) on override files 2019-11-04 17:33:35 +01:00
Simone Margaritelli
00e7c04980
misc: small fix or general refactoring i did not bother commenting 2019-11-04 14:30:22 +01:00
evilsocket
2549433e34
Merge pull request from neutralinsomniac/fix_pixelated_css
fix: use a css class for the pixelated property, since apparently this still isn't standardized among different browsers
2019-11-04 14:24:55 +01:00
Jeremy O'Brien
9f9fca02e5 fix: use a css class for the pixelated property, since apparently this still isn't standardized among different browsers
Signed-off-by: Jeremy O'Brien <neutral@fastmail.com>
2019-11-04 08:19:13 -05:00
gkrs
6945e260bd Updated polish language pack. New messages translated.
Signed-off-by: gkrs <457603+gkrs@users.noreply.github.com>
2019-11-04 13:07:43 +01:00
evilsocket
c21986488d
Merge pull request from xenDE/master
add timestamp to net-pos plugin, https://github.com/evilsocket/pwnago…
2019-11-04 12:49:41 +01:00
Simone Margaritelli
b52ceae2ee
misc: small fix or general refactoring i did not bother commenting 2019-11-04 11:44:24 +01:00
Simone Margaritelli
19fc25d508 new: reporting version on startup (closes ) 2019-11-04 11:32:09 +01:00
Simone Margaritelli
ba22b7d5d7 misc: basic refactoring of 2019-11-04 11:13:51 +01:00
evilsocket
59019efad0
Merge pull request from edmael/web_reboot
Added "Reboot into AUTO mode" button in web ui
2019-11-04 11:07:22 +01:00
evilsocket
20aa0d1909
Merge pull request from dwi/patch-1
Unblurred image rendering in browsers
2019-11-04 11:07:10 +01:00
evilsocket
c56c6bb8f5
Merge pull request from dadav/fix/bt-tet-silence
Make bt-tet less verbose
2019-11-04 11:05:18 +01:00
xenDE
1e426f7411
add timestamp to net-pos plugin, https://github.com/evilsocket/pwnagotchi/issues/308
added timestam as "ts" var in both .json files.
tested with old plugin format.
2019-11-04 00:16:50 +01:00
dadav
aeb6002e10 Make bt-tet less verbose 2019-11-03 23:25:55 +01:00
Edoardo Maria Elidoro
dc2362c371 Added "Reboot into AUTO mode" button in web ui
As requested in issue 
2019-11-03 22:57:32 +01:00
dwi
d6c0ec0dfd
Unblurred image rendering in browsers
Unblurred image rendering in browsers. Affects both desktop and mobile image rendering.

![Before and after](https://i.imgur.com/pffQREV.png)
2019-11-03 22:14:43 +01:00
evilsocket
04e551600d
Merge pull request from neutralinsomniac/ohc_whitelist
Add whitelist support to onlinehashcrack plugin
2019-11-03 16:54:44 +01:00
evilsocket
62983dfea5
Merge pull request from opteeks/master
Adding 2.9inch Display support
2019-11-03 16:48:55 +01:00
evilsocket
b2c812d05d
Merge pull request from damoklov/master
Added Ukrainian language
2019-11-03 15:57:54 +01:00
evilsocket
7ba9b35d06
Merge pull request from FrixosTh/patch-2
Bug Fix on AircrackOnly.py plugin
2019-11-03 15:57:38 +01:00
FrixosTh
b4b14ba9fd
Bug Fix on AircrackOnly.py plugin
The code will always delete the pcap file unless there is a PMKID due to the structure of the if statements. Added a new variable handshakeFound that will allow the file not to be deleted if there is a handshake and also it will scan for PMKID only if no handshake is found... If no handshake is found and no PMKID, only then the file is marked as to be deleted
2019-11-03 02:31:13 +02:00
opteeks
1ba3a69651
Merge branch 'master' into master 2019-11-02 13:48:11 -07:00
damoklov
0aef199131 Added Ukrainian language
Signed-off-by: damoklov <mishanya@protonmail.com>
2019-11-02 16:47:13 +02:00
evilsocket
ace61836e5
Merge pull request from dadav/fix/bt-tet-defaults
Fix bt-tether config
2019-11-02 12:13:08 +01:00
evilsocket
d04f124add
Merge pull request from LuckyFishGeek/ch
Add Chinese translation version 0.0.1
2019-11-02 12:12:50 +01:00
LuckyFish
bc1db7ceea
Add files via upload 2019-11-02 09:42:54 +08:00
dadav
fd506b1533 Fix bt-tether config 2019-11-01 21:42:02 +01:00
evilsocket
6c44a687b1
Merge pull request from dadav/feature/multi-device-tether
Add multi bt-tether support
2019-11-01 20:19:22 +01:00
dadav
a2bb66ad57 Fix case 2019-11-01 20:12:04 +01:00
Jeremy O'Brien
61af8b4762 Add whitelist support to onlinehashcrack plugin
Signed-off-by: Jeremy O'Brien <neutral@fastmail.com>
2019-11-01 15:08:05 -04:00
dadav
9b58fed862 Typo 2019-11-01 18:23:55 +01:00
dadav
53ae8ea1cf Add check if connected but no interface created 2019-11-01 18:13:38 +01:00
dadav
5b66d687c4 Add multi bt-tether support 2019-11-01 18:00:07 +01:00
Simone Margaritelli
4b74de48bf
misc: small fix or general refactoring i did not bother commenting 2019-11-01 17:49:50 +01:00
Simone Margaritelli
22e76f956c fix: fixed memtemp for waveshare v2 2019-11-01 17:45:53 +01:00
Simone Margaritelli
4418492637 Merge branch 'master' of github.com:evilsocket/pwnagotchi 2019-11-01 15:53:39 +01:00
Simone Margaritelli
31a89cbe4b new: added new angry state (closes ) 2019-11-01 15:53:31 +01:00
evilsocket
d91f49d596
Merge pull request from dadav/fix/grid
Fix debug msg to fit new plugin class
2019-11-01 14:57:31 +01:00
dadav
66dc03ec05 Fix debug msg to fit new plugin class 2019-11-01 14:25:20 +01:00
Simone Margaritelli
2f948306eb misc: refactored plugin system to use classes 2019-11-01 13:51:45 +01:00
Simone Margaritelli
ae330dc0b5 fix: don't reset network interfaces configuration if not needed (closes ) 2019-11-01 12:12:37 +01:00
evilsocket
e06f2a32e8
Merge pull request from dadav/fix/fix-bt-disconnect-bug
Add reference to network object (bt-tether fix)
2019-11-01 10:45:33 +01:00
evilsocket
e184176ae4
Merge pull request from dadav/feature/version-option
Add version option
2019-11-01 10:45:15 +01:00
dadav
1827ee564c Add version option 2019-11-01 10:04:36 +01:00
dadav
bfdaffa14b Add reference to network object 2019-11-01 09:20:06 +01:00
evilsocket
53f99f4c28
Merge pull request from neutralinsomniac/backup_script_enhancements
enhancement: Improve the backup script
2019-10-31 19:06:32 +01:00
Jeremy O'Brien
3efa96b292 enhancement: Improve the backup script
- Significantly decrease time it takes to save a backup
- Remove host dependency on 'zip' binary
- Preserve file attributes on backed-up files
- Avoid copying files on the pi itself to /tmp

Signed-off-by: Jeremy O'Brien <neutral@fastmail.com>
2019-10-31 14:02:07 -04:00
Simone Margaritelli
8118a10a6a new: auto-update is now enabled by default 2019-10-31 18:24:43 +01:00
Simone Margaritelli
bd63f71a1d fix: +x to /usr/bin/* while creating the .img 2019-10-31 17:25:21 +01:00
Simone Margaritelli
31d401e03b fix: increased delay before shutting down to allow slower displays to update (closes ) 2019-10-31 15:39:59 +01:00
Simone Margaritelli
3c32bbb582 releasing v1.1.1 2019-10-31 14:50:03 +01:00
Simone Margaritelli
03067da005
misc: small fix or general refactoring i did not bother commenting 2019-10-31 14:49:44 +01:00
Simone Margaritelli
64aad56fba releasing v[3~1.1.1 2019-10-31 14:47:51 +01:00
Simone Margaritelli
4240d05872
misc: small fix or general refactoring i did not bother commenting 2019-10-31 14:20:35 +01:00
evilsocket
f03e07f0cf
Merge pull request from neutralinsomniac/grid_handle_malformed_filenames
fix: don't attempt to parse/upload pcaps with malformed filenames
2019-10-31 14:17:00 +01:00
Simone Margaritelli
13064879e0 fix: fixed, refactored and centralized launchers logic (closes ) 2019-10-31 14:14:13 +01:00
Simone Margaritelli
96c617e152
misc: small fix or general refactoring i did not bother commenting 2019-10-31 12:56:27 +01:00
Simone Margaritelli
783ac61594 fix: the auto-update plugin now also installs launchers and service files via setup.py (closes ) 2019-10-31 12:48:15 +01:00
evilsocket
279d885ec6
Merge pull request from deveth0/patch-2
Change memory splitting to have more memory available
2019-10-31 10:52:59 +01:00
evilsocket
a8705c1d3c
Merge pull request from dadav/fix/provisioning
Change the ordering of the provisioners of packer
2019-10-31 10:50:30 +01:00
Alex Muthmann
90386c7a64
Change memory splitting to have more memory available
As most users won't use a big GUI, it should be sufficient to have 16MB assigned to the GPU and have some more for the system.
2019-10-31 08:49:58 +01:00
opteeks
205480bc38
Merge pull request from opteeks/waveshare29inch
Added 2.9inch display libraries
2019-10-30 22:57:10 -07:00
opteeks
d2726c1a14
Added 2.9inch display libraries 2019-10-30 22:56:02 -07:00
opteeks
1c9a25d22a
Merge pull request from opteeks/opteeks-waveshare29inch
Add support for Waveshare 2.9inch display
2019-10-30 22:50:12 -07:00
opteeks
e9494992fc
Add support for Waveshare 2.9inch display 2019-10-30 22:49:06 -07:00
dadav
c7931450c3 change ordering 2019-10-30 22:28:12 +01:00
opteeks
cc7299153c
Merge pull request from opteeks/opteeks-waveshare29inch
Added waveshare29inch.py
2019-10-30 13:22:23 -07:00
opteeks
a27f09871f
Added waveshare29inch.py
Added the Waveshare e-ink 2.9 inch display definition and layout.
2019-10-30 13:09:32 -07:00
Jeremy O'Brien
3714899e95 fix: don't attempt to parse/upload pcaps with malformed filenames
Signed-off-by: Jeremy O'Brien <neutral@fastmail.com>
2019-10-30 15:33:09 -04:00
Simone Margaritelli
be414e57b3 fix: builder now uses files provisioners and auto-update installs project data (ref ) 2019-10-30 19:24:12 +01:00
Simone Margaritelli
1600d8cbd1 fix: skipping open access points (fixes ) 2019-10-30 17:50:56 +01:00
Simone Margaritelli
965416483d fix: more robust version parsing in auto-update (fixes ) 2019-10-30 17:37:17 +01:00
Simone Margaritelli
78a036ed1a fix: fixed Slack invite link (fixes ) 2019-10-30 16:49:20 +01:00
opteeks
ddc264bbb9
Deleted epd2in9.py
Wrong format
2019-10-23 00:25:08 -07:00
opteeks
f0092ff154
Waveshare 2.9 inch e-ink display 2019-10-23 00:17:28 -07:00
opteeks
ed0df18f68
Added 2.9 inch Waveshare E-Ink display 2019-10-23 00:11:25 -07:00
498 changed files with 87150 additions and 2848 deletions

@ -1,7 +1,6 @@
maintainers:
- evilsocket
- caquino
- dadav
- justin-p
features:

31
.editorconfig Normal file

@ -0,0 +1,31 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[Makefile]
indent_style = tab
[*.py]
indent_style = space
indent_size = 4
[*.json]
insert_final_newline = ignore
[*.js]
indent_style = ignore
insert_final_newline = ignore
[*.{md,txt}]
indent_size = 4
trim_trailing_whitespace = false

96
.github/workflows/CreateRelease.yml vendored Normal file

@ -0,0 +1,96 @@
name: Release
on:
workflow_dispatch:
inputs:
release_version:
description: 'Release version'
required: true
type: string
pishrink:
description: 'pishrink Script'
default: 'https://raw.githubusercontent.com/Drewsif/PiShrink/master/pishrink.sh'
type: string
z_compress_args:
description: '7z compress args'
default: '7z a -t7z -mx=9'
type: string
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
# - name: Set VERSION variable
# run: |
# VERSION=$(awk '/__version__ /{print $NF}' ./pwnagotchi/_version.py | tr -d "'")
# env:
# VERSION: ${{ steps.set-version.outputs.version }} # Use the extracted version
- name: Show Version
run: |
# Use the $VERSION variable in your build or deployment steps
echo "Using VERSION: ${{ inputs.release_version }}"
- name: Set _version.py correctly using the env variable
run: |
sed -i "s#.*__version__.*#__version__='$PWN_VERSION'#" pwnagotchi/_version.py
env:
PWN_VERSION: ${{ inputs.release_version }}
- name: Install language dependencies
run: sudo apt-get install -y gettext
- name: Languages
run: make langs
- name: Image
run: make image
env:
PWN_VERSION: ${{ inputs.release_version }}
- name: Shrink Image
run: |
ls -a -s -h
wget ${{ inputs.pishrink }}
chmod +x pishrink.sh
sudo mv pishrink.sh /usr/local/bin
sudo pishrink.sh ./pwnagotchi-${{ inputs.release_version }}.img
- uses: edgarrc/action-7z@v1
with:
args: ${{ inputs.z_compress_args }} pwnagotchi-${{ inputs.release_version }}.7z ./pwnagotchi-${{ inputs.release_version }}.img
- name: sha256sum 7z
run: |
sudo sha256sum ./pwnagotchi-${{ inputs.release_version }}.7z > ./pwnagotchi-${{ inputs.release_version }}.sha256
- name: Create GitHub Release
id: create_new_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ inputs.release_version }}
release_name: Release ${{ inputs.release_version }}
- name: Upload GitHub Release sha
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_new_release.outputs.upload_url }}
asset_path: ./pwnagotchi-${{ inputs.release_version }}.sha256
asset_name: pwnagotchi-v${{ inputs.release_version }}.sha256
asset_content_type: appliction/text
- name: Upload GitHub Release Zip
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_new_release.outputs.upload_url }}
asset_path: ./pwnagotchi-${{ inputs.release_version }}.7z
asset_name: pwnagotchi-v${{ inputs.release_version }}.7z
asset_content_type: appliction/zip

13
.gitignore vendored

@ -2,6 +2,7 @@
*.img.bmap
*.pcap
*.po~
*.sha256
preview.png
__pycache__
_backups
@ -15,3 +16,15 @@ output-pwnagotchi
build
dist
pwnagotchi.egg-info
*backup*.tgz
*backup*.gz
.vscode
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

@ -9,7 +9,7 @@ env:
deploy:
provider: releases
api_key:
secure: vBUokTv94n8s65STUgTiD6I0Iy8KXbBRvQUrAof8XG+U4ZMsH5PmDTpS+wz+SaxI6o0PRkfyOiPVdARhiKAFnfatG3q9EHllMQwqRR2YIju51A3aCxgEJ5uWDoybwQdipERUMMYwUO/8XZaRRpwFD2bdQBFWkBtQyMcAkrEL8BXckwQQ531oDN2hK5gAiTllqsOswV2idwUlBRU9jOtStzff+UgUYsp/ZebsRodyOYkEB2Ev15yARo2HTXbyZ2icwHPtMbx5zmNUSRtxs9a4hfzaK3m6ctK8qLYYUdQvXub/ruuACapdw4Ez88LY1agTecbZhFYmJzv8oANH1e4VUI4owuHnZCpU6LRutS4wOhglrkOrGo6lSUlJeA+RtQjyjBugjej9DDtDyyIlRU1ZaBF3qWR9N5EXKuquf0olOfmUR67ap1NykE9VUpzkYjkoVRTiPs/e2onM/nRNOvAQcIt75FD13u+Y/DcYQ8r7KpMIu1HNdtbVx8gMeq76bRhP1YdDg2jm+DdJ21KWjf5QHsbyoXDfJzdKlCloLIlAU3EPJhMoXsnNzre0/FXeUl6dfteR1axNS6U7e/vKsQ9rlUFZWIQaeVPjfXmFKblNNVQ5uFrrsB/EGHcJl7IUx5fvcRT5hMMNwC660YxVkBXDbRb5fxMW5/+K0BOi9cP6en8=
secure: "Rj0QnEDv02UzjKaxHHxJ/Sdj50EOFIrsKShr27GtVNSwHmNKxQuwlh31T0DQdif4wzcDtUZ5XWxr85vLkKJt1L8anb7Tb63qlu7Da69C+upSUow1uJkjsiScbMPqwHpwDIkkcUIbPsdbowI7qiNhRBD7nF8yyLPC5YLiU0cXKuGh4+Q5xdIlL3P7p8jm0919Y+olglzAZj0iNR/QxGOb+laNH8xi0oUsIPi5V0ZFfO/W/sm+nks9ki5nolfd1ML1gcbOD7uKuxIMTUrpDLl4p2Jx9IVQW+G2/tkmNLbP5Ga65NxQcfABQDYY3tCD8PsmFK9PEwa4cMbGJjqlo3yR7P21J5Aj3rK+L4KDntOvwem3Z3Y/v2JlQZn+gelhNFCxuPBi3ZihSf7POMHtpAYmi13N2ruzOg1ayjeYph0iN3vXIPs67DpAPaxK+8L2yoo6Nr/Cago9pGTkZoqS+J0fnWT31NXoYREPgg//L2+m42twQirFXttbhlGTBgNMLXpwcm8bZ2DW3pu3AEgVUxSoNAOjudoeyC0VzA6nUqe6STmfk06OYqcwM8q8NEyD62iAvUYU3Q7FnauZqcBqcP+ZYx82NPZybrQRX6YlJck5UomHbbEfjgpDFT+WvjrrfICmXH29YBOL1LWR4cKMT6RY58Cv8hT2PYxomB2I+DRrbqU="
skip_cleanup: true
file_glob: true
file:

@ -1,8 +1,10 @@
exclude *.pyc .DS_Store .gitignore MANIFEST.in
include requirements.txt
include setup.py
include distribute_setup.py
include README.md
include LICENSE
recursive-include bin *
recursive-include builder/data *
recursive-include pwnagotchi *.py
recursive-include pwnagotchi *.yml
recursive-include pwnagotchi *.*

@ -1,23 +1,79 @@
PWN_HOSTNAME=pwnagotchi
PWN_VERSION=master
PACKER_VERSION := 1.8.5
PWN_HOSTNAME := pwnagotchi
# PWN_VERSION := $(shell cut -d"'" -f2 < pwnagotchi/_version.py)
PWN_VERSION := $(or ${PWN_VERSION},$(shell cut -d"'" -f2 < pwnagotchi/_version.py))
PWN_RELEASE := pwnagotchi-$(PWN_VERSION)
MACHINE_TYPE := $(shell uname -m)
ifneq (,$(filter x86_64,$(MACHINE_TYPE)))
GOARCH := amd64
else ifneq (,$(filter i686,$(MACHINE_TYPE)))
GOARCH := 386
else ifneq (,$(filter arm64% aarch64%,$(MACHINE_TYPE)))
GOARCH := arm64
else ifneq (,$(filter arm%,$(MACHINE_TYPE)))
GOARCH := arm
else
GOARCH := amd64
$(warning Unable to detect CPU arch from machine type $(MACHINE_TYPE), assuming $(GOARCH))
endif
# The Ansible part of the build can inadvertently change the active hostname of
# the build machine while updating the permanent hostname of the build image.
# If the unshare command is available, use it to create a separate namespace
# so hostname changes won't affect the build machine.
UNSHARE := $(shell command -v unshare)
ifneq (,$(UNSHARE))
UNSHARE := $(UNSHARE) --uts
endif
all: clean install image
install:
curl https://releases.hashicorp.com/packer/1.3.5/packer_1.3.5_linux_amd64.zip -o /tmp/packer.zip
unzip /tmp/packer.zip -d /tmp
sudo mv /tmp/packer /usr/bin/packer
git clone https://github.com/solo-io/packer-builder-arm-image /tmp/packer-builder-arm-image
cd /tmp/packer-builder-arm-image && go get -d ./... && go build
sudo cp /tmp/packer-builder-arm-image/packer-builder-arm-image /usr/bin
langs:
@for lang in pwnagotchi/locale/*/; do\
echo "compiling language: $$lang ..."; \
./scripts/language.sh compile $$(basename $$lang); \
done
image:
cd builder && sudo /usr/bin/packer build -var "pwn_hostname=$(PWN_HOSTNAME)" -var "pwn_version=$(PWN_VERSION)" pwnagotchi.json
sudo mv builder/output-pwnagotchi/image pwnagotchi-raspbian-lite-$(PWN_VERSION).img
sudo sha256sum pwnagotchi-raspbian-lite-$(PWN_VERSION).img > pwnagotchi-raspbian-lite-$(PWN_VERSION).sha256
sudo zip pwnagotchi-raspbian-lite-$(PWN_VERSION).zip pwnagotchi-raspbian-lite-$(PWN_VERSION).sha256 pwnagotchi-raspbian-lite-$(PWN_VERSION).img
install:
PACKER := /tmp/pwnagotchi/packer
PACKER_URL := https://releases.hashicorp.com/packer/$(PACKER_VERSION)/packer_$(PACKER_VERSION)_linux_$(GOARCH).zip
$(PACKER):
mkdir -p $(@D)
curl -L "$(PACKER_URL)" -o $(PACKER).zip
unzip $(PACKER).zip -d $(@D)
rm $(PACKER).zip
chmod +x $@
SDIST := dist/pwnagotchi-$(PWN_VERSION).tar.gz
$(SDIST): setup.py pwnagotchi
python3 setup.py sdist
# Building the image requires packer, but don't rebuild the image just because packer updated.
$(PWN_RELEASE).img: | $(PACKER)
# If the packer or ansible files are updated, rebuild the image.
$(PWN_RELEASE).img: $(SDIST) builder/pwnagotchi.json builder/pwnagotchi.yml $(shell find builder/data -type f)
sudo $(PACKER) plugins install github.com/solo-io/arm-image
cd builder && sudo $(UNSHARE) $(PACKER) build -var "pwn_hostname=$(PWN_HOSTNAME)" -var "pwn_version=$(PWN_VERSION)" pwnagotchi.json
sudo chown -R $$USER:$$USER builder/output-pwnagotchi
mv builder/output-pwnagotchi/image $@
# If any of these files are updated, rebuild the checksums.
$(PWN_RELEASE).sha256: $(PWN_RELEASE).img
sha256sum $^ > $@
# If any of the input files are updated, rebuild the archive.
$(PWN_RELEASE).zip: $(PWN_RELEASE).img $(PWN_RELEASE).sha256
zip $(PWN_RELEASE).zip $^
.PHONY: image
image: $(PWN_RELEASE).zip
clean:
rm -rf /tmp/packer-builder-arm-image
rm -f pwnagotchi-raspbian-lite-*.zip pwnagotchi-raspbian-lite-*.img pwnagotchi-raspbian-lite-*.sha256
rm -rf builder/output-pwnagotchi builder/packer_cache
- python3 setup.py clean --all
- rm -rf dist pwnagotchi.egg-info
- rm -f $(PACKER)
- rm -f $(PWN_RELEASE).*
- sudo rm -rf builder/output-pwnagotchi builder/packer_cache

@ -1,26 +1,25 @@
# Pwnagotchi
<p align="center">
<p align="center">
<a href="https://github.com/evilsocket/pwnagotchi/releases/latest"><img alt="Release" src="https://img.shields.io/github/release/evilsocket/pwnagotchi.svg?style=flat-square"></a>
<a href="https://github.com/evilsocket/pwnagotchi/blob/master/LICENSE.md"><img alt="Software License" src="https://img.shields.io/badge/license-GPL3-brightgreen.svg?style=flat-square"></a>
<a href="https://github.com/evilsocket/pwnagotchi/graphs/contributors"><img alt="Contributors" src="https://img.shields.io/github/contributors/evilsocket/pwnagotchi"/></a>
<a href="https://travis-ci.org/evilsocket/pwnagotchi"><img alt="Travis" src="https://img.shields.io/travis/evilsocket/pwnagotchi/master.svg?style=flat-square"></a>
<a href="https://pwnagotchi.herokuapp.com/"><img alt="Slack" src="https://pwnagotchi.herokuapp.com/badge.svg"></a>
<a href="https://invite.pwnagotchi.ai/"><img alt="Slack" src="https://invite.pwnagotchi.ai/badge.svg"></a>
<a href="https://community.pwnagotchi.ai/"><img alt="Forum" src="https://img.shields.io/discourse/posts?server=https%3A%2F%2Fcommunity.pwnagotchi.ai%2F&style=flat-square"></a>
<a href="https://twitter.com/intent/follow?screen_name=pwnagotchi"><img src="https://img.shields.io/twitter/follow/pwnagotchi?style=social&logo=twitter" alt="follow on Twitter"></a>
</p>
</p>
[Pwnagotchi](https://pwnagotchi.ai/) is an [A2C](https://hackernoon.com/intuitive-rl-intro-to-advantage-actor-critic-a2c-4ff545978752)-based "AI" leveraging [bettercap](https://www.bettercap.org/) that learns from its surrounding WiFi environment to maximize the crackable WPA key material it captures (either passively, or by performing authentication and association attacks). This material is collected as PCAP files containing any form of handshake supported by [hashcat](https://hashcat.net/hashcat/), including [PMKIDs](https://www.evilsocket.net/2019/02/13/Pwning-WiFi-networks-with-bettercap-and-the-PMKID-client-less-attack/),
full and half WPA handshakes.
![ui](https://i.imgur.com/X68GXrn.png)
Instead of merely playing [Super Mario or Atari games](https://becominghuman.ai/getting-mario-back-into-the-gym-setting-up-super-mario-bros-in-openais-gym-8e39a96c1e41?gi=c4b66c3d5ced) like most reinforcement learning-based "AI" *(yawn)*, Pwnagotchi tunes [its parameters](https://github.com/evilsocket/pwnagotchi/blob/master/pwnagotchi/defaults.yml#L73) over time to **get better at pwning WiFi things to** in the environments you expose it to.
Instead of merely playing [Super Mario or Atari games](https://becominghuman.ai/getting-mario-back-into-the-gym-setting-up-super-mario-bros-in-openais-gym-8e39a96c1e41?gi=c4b66c3d5ced) like most reinforcement learning-based "AI" *(yawn)*, Pwnagotchi tunes [its parameters](https://github.com/evilsocket/pwnagotchi/blob/master/pwnagotchi/defaults.toml) over time to **get better at pwning WiFi things to** in the environments you expose it to.
More specifically, Pwnagotchi is using an [LSTM with MLP feature extractor](https://stable-baselines.readthedocs.io/en/master/modules/policies.html#stable_baselines.common.policies.MlpLstmPolicy) as its policy network for the [A2C agent](https://stable-baselines.readthedocs.io/en/master/modules/a2c.html). If you're unfamiliar with A2C, here is [a very good introductory explanation](https://hackernoon.com/intuitive-rl-intro-to-advantage-actor-critic-a2c-4ff545978752) (in comic form!) of the basic principles behind how Pwnagotchi learns. (You can read more about how Pwnagotchi learns in the [Usage](https://www.pwnagotchi.ai/usage/#training-the-ai) doc.)
**Keep in mind:** Unlike the usual RL simulations, Pwnagotchi learns over time. Time for a Pwnagotchi is measured in epochs; a single epoch can last from a few seconds to minutes, depending on how many access points and client stations are visible. Do not expect your Pwnagotchi to perform amazingly well at the very beginning, as it will be [exploring](https://hackernoon.com/intuitive-rl-intro-to-advantage-actor-critic-a2c-4ff545978752) several combinations of [key parameters](https://www.pwnagotchi.ai/usage/#training-the-ai) to determine ideal adjustments for pwning the particular environment you are exposing it to during its beginning epochs ... but ** listen to your Pwnagotchi when it tells you it's boring!** Bring it into novel WiFi environments with you and have it observe new networks and capture new handshakes—and you'll see. :)
**Keep in mind:** Unlike the usual RL simulations, Pwnagotchi learns over time. Time for a Pwnagotchi is measured in epochs; a single epoch can last from a few seconds to minutes, depending on how many access points and client stations are visible. Do not expect your Pwnagotchi to perform amazingly well at the very beginning, as it will be [exploring](https://hackernoon.com/intuitive-rl-intro-to-advantage-actor-critic-a2c-4ff545978752) several combinations of [key parameters](https://www.pwnagotchi.ai/usage/#training-the-ai) to determine ideal adjustments for pwning the particular environment you are exposing it to during its beginning epochs ... but ** listen to your Pwnagotchi when it tells you it's bored!** Bring it into novel WiFi environments with you and have it observe new networks and capture new handshakes—and you'll see. :)
Multiple units within close physical proximity can "talk" to each other, advertising their presence to each other by broadcasting custom information elements using a parasite protocol I've built on top of the existing dot11 standard. Over time, two or more units trained together will learn to cooperate upon detecting each other's presence by dividing the available channels among them for optimal pwnage.
@ -32,10 +31,11 @@ https://www.pwnagotchi.ai
&nbsp; | Official Links
---------|-------
Slack | [pwnagotchi.slack.com](https://pwnagotchi.herokuapp.com)
Twitter | [@pwnagotchi](https://twitter.com/pwnagotchi)
Subreddit | [r/pwnagotchi](https://www.reddit.com/r/pwnagotchi/)
Website | [pwnagotchi.ai](https://pwnagotchi.ai/)
Forum | [community.pwnagotchi.ai](https://community.pwnagotchi.ai/)
Slack | [pwnagotchi.slack.com](https://invite.pwnagotchi.ai/)
Subreddit | [r/pwnagotchi](https://www.reddit.com/r/pwnagotchi/)
Twitter | [@pwnagotchi](https://twitter.com/pwnagotchi)
## License

@ -1,62 +1,30 @@
#!/usr/bin/python3
if __name__ == '__main__':
import logging
import argparse
import time
import logging
import yaml
import signal
import sys
import toml
import pwnagotchi
import pwnagotchi.grid as grid
import pwnagotchi.utils as utils
import pwnagotchi.plugins as plugins
from pwnagotchi import utils
from pwnagotchi.plugins import cmd as plugins_cmd
from pwnagotchi import log
from pwnagotchi import restart
from pwnagotchi import fs
from pwnagotchi.utils import DottedTomlEncoder
from pwnagotchi.identity import KeyPair
from pwnagotchi.agent import Agent
from pwnagotchi.ui.display import Display
parser = argparse.ArgumentParser()
parser.add_argument('-C', '--config', action='store', dest='config', default='/etc/pwnagotchi/default.yml',
help='Main configuration file.')
parser.add_argument('-U', '--user-config', action='store', dest='user_config', default='/etc/pwnagotchi/config.yml',
help='If this file exists, configuration will be merged and this will override default values.')
parser.add_argument('--manual', dest="do_manual", action="store_true", default=False, help="Manual mode.")
parser.add_argument('--skip-session', dest="skip_session", action="store_true", default=False,
help="Skip last session parsing in manual mode.")
parser.add_argument('--clear', dest="do_clear", action="store_true", default=False,
help="Clear the ePaper display and exit.")
parser.add_argument('--debug', dest="debug", action="store_true", default=False,
help="Enable debug logs.")
args = parser.parse_args()
config = utils.load_config(args)
utils.setup_logging(args, config)
pwnagotchi.set_name(config['main']['name'])
plugins.load(config)
display = Display(config=config, state={'name': '%s>' % pwnagotchi.name()})
keypair = KeyPair(view=display)
agent = Agent(view=display, config=config, keypair=keypair)
logging.info("%s@%s (v%s)" % (pwnagotchi.name(), agent.fingerprint(), pwnagotchi.version))
logging.debug("effective configuration:\n\n%s\n\n" % yaml.dump(config, default_flow_style=False))
for _, plugin in plugins.loaded.items():
logging.debug("plugin '%s' v%s loaded from %s" % (plugin.__name__, plugin.__version__, plugin.__file__))
if args.do_clear:
def do_clear(display):
logging.info("clearing the display ...")
display.clear()
sys.exit(0)
elif args.do_manual:
def do_manual_mode(agent):
logging.info("entering manual mode ...")
agent.mode = 'manual'
agent.last_session.parse(agent.view(), args.skip_session)
if not args.skip_session:
logging.info(
@ -74,9 +42,11 @@ if __name__ == '__main__':
if grid.is_connected():
plugins.on('internet_available', agent)
else:
def do_auto_mode(agent):
logging.info("entering auto mode ...")
agent.mode = 'auto'
agent.start()
while True:
@ -113,4 +83,89 @@ if __name__ == '__main__':
plugins.on('internet_available', agent)
except Exception as e:
logging.exception("main loop exception")
if str(e).find("wifi.interface not set") > 0:
logging.exception("main loop exception due to unavailable wifi device, likely programmatically disabled (%s)", e)
logging.info("sleeping 60 seconds then advancing to next epoch to allow for cleanup code to trigger")
time.sleep(60)
agent.next_epoch()
else:
logging.exception("main loop exception (%s)", e)
if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser = plugins_cmd.add_parsers(parser)
parser.add_argument('-C', '--config', action='store', dest='config', default='/etc/pwnagotchi/default.toml',
help='Main configuration file.')
parser.add_argument('-U', '--user-config', action='store', dest='user_config', default='/etc/pwnagotchi/config.toml',
help='If this file exists, configuration will be merged and this will override default values.')
parser.add_argument('--manual', dest="do_manual", action="store_true", default=False, help="Manual mode.")
parser.add_argument('--skip-session', dest="skip_session", action="store_true", default=False,
help="Skip last session parsing in manual mode.")
parser.add_argument('--clear', dest="do_clear", action="store_true", default=False,
help="Clear the ePaper display and exit.")
parser.add_argument('--debug', dest="debug", action="store_true", default=False,
help="Enable debug logs.")
parser.add_argument('--version', dest="version", action="store_true", default=False,
help="Print the version.")
parser.add_argument('--print-config', dest="print_config", action="store_true", default=False,
help="Print the configuration.")
args = parser.parse_args()
if plugins_cmd.used_plugin_cmd(args):
config = utils.load_config(args)
log.setup_logging(args, config)
rc = plugins_cmd.handle_cmd(args, config)
sys.exit(rc)
if args.version:
print(pwnagotchi.__version__)
sys.exit(0)
config = utils.load_config(args)
if args.print_config:
print(toml.dumps(config, encoder=DottedTomlEncoder()))
sys.exit(0)
from pwnagotchi.identity import KeyPair
from pwnagotchi.agent import Agent
from pwnagotchi.ui import fonts
from pwnagotchi.ui.display import Display
from pwnagotchi import grid
from pwnagotchi import plugins
pwnagotchi.config = config
fs.setup_mounts(config)
log.setup_logging(args, config)
fonts.init(config)
pwnagotchi.set_name(config['main']['name'])
plugins.load(config)
display = Display(config=config, state={'name': '%s>' % pwnagotchi.name()})
if args.do_clear:
do_clear(display)
sys.exit(0)
agent = Agent(view=display, config=config, keypair=KeyPair(view=display))
def usr1_handler(*unused):
logging.info('Received USR1 singal. Restart process ...')
restart("MANU" if args.do_manual else "AUTO")
signal.signal(signal.SIGUSR1, usr1_handler)
if args.do_manual:
do_manual_mode(agent)
else:
do_auto_mode(agent)

@ -0,0 +1,29 @@
_show_complete()
{
local cur opts node_names all_options opt_line
all_options="
pwnagotchi -h --help -C --config -U --user-config --manual --skip-session --clear --debug --version --print-config {plugins}
pwnagotchi plugins -h --help {list,install,enable,disable,uninstall,update,upgrade}
pwnagotchi plugins list -i --installed -h --help
pwnagotchi plugins install -h --help
pwnagotchi plugins uninstall -h --help
pwnagotchi plugins enable -h --help
pwnagotchi plugins disable -h --help
pwnagotchi plugins update -h --help
pwnagotchi plugins upgrade -h --help
"
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
cmd="${COMP_WORDS[@]:0:${#COMP_WORDS[@]}-1}"
opt_line="$(grep -m1 "$cmd" <<<$all_options)"
if [[ ${cur} == -* ]] ; then
opts="$(echo $opt_line | tr ' ' '\n' | awk '/^ *-/{gsub("[^a-zA-Z0-9-]","",$1);print $1}')"
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
fi
opts="$(echo $opt_line | grep -Po '{\K[^}]+' | tr ',' '\n')"
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
}
complete -F _show_complete pwnagotchi

@ -0,0 +1,2 @@
allow-hotplug eth0
iface eth0 inet dhcp

@ -0,0 +1,2 @@
auto lo
iface lo inet loopback

@ -0,0 +1,8 @@
allow-hotplug usb0
iface usb0 inet static
address 10.0.0.2
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.255
gateway 10.0.0.1
metric 20

@ -0,0 +1,4 @@
allow-hotplug wlan0
iface wlan0 inet manual
pre-up ifconfig $IFACE up
post-down ifconfig $IFACE down

@ -0,0 +1,14 @@
[Unit]
Description=bettercap api.rest service.
Documentation=https://bettercap.org
Wants=network.target
[Service]
Type=simple
PermissionsStartOnly=true
ExecStart=/usr/bin/bettercap-launcher
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target

@ -0,0 +1,20 @@
[Unit]
Description=pwnagotchi Deep Reinforcement Learning instrumenting bettercap for WiFI pwning.
Documentation=https://pwnagotchi.ai
Wants=network.target
After=pwngrid-peer.service
[Service]
Type=simple
WorkingDirectory=/tmp
PermissionsStartOnly=true
ExecStart=/usr/bin/pwnagotchi-launcher
Restart=always
RestartSec=30
TasksMax=infinity
LimitNPROC=infinity
StandardOutput=null
StandardError=null
[Install]
WantedBy=multi-user.target

@ -0,0 +1,15 @@
[Unit]
Description=pwngrid peer service.
Documentation=https://pwnagotchi.ai
Wants=network.target
After=bettercap.service
[Service]
Type=simple
PermissionsStartOnly=true
ExecStart=/usr/bin/pwngrid -keys /etc/pwnagotchi -address 127.0.0.1:8666 -client-token /root/.api-enrollment.json -wait -log /var/log/pwngrid-peer.log -iface mon0
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target

@ -0,0 +1,33 @@
#!/usr/bin/env bash
source /usr/bin/pwnlib
# we need to decrypt something
if is_crypted_mode; then
while ! is_decrypted; do
echo "Waiting for decryption..."
sleep 1
done
fi
# check if wifi driver is bugged
if ! check_brcm; then
if ! reload_brcm; then
echo "Could not reload wifi driver. Reboot"
reboot
fi
sleep 10
fi
# start mon0
if ! is_interface_up 'mon0'; then
start_monitor_interface
else
stop_monitor_interface
start_monitor_interface
fi
if is_auto_mode_no_delete; then
/usr/bin/bettercap -no-colors -caplet pwnagotchi-auto -iface mon0
else
/usr/bin/bettercap -no-colors -caplet pwnagotchi-manual -iface mon0
fi

@ -0,0 +1,148 @@
#!/usr/bin/env python3
from http.server import HTTPServer, BaseHTTPRequestHandler
from urllib.parse import parse_qsl
_HTML_FORM_TEMPLATE = """
<!DOCTYPE html>
<html>
<head>
<title>Decryption</title>
<style>
body {{ text-align: center; padding: 150px; }}
h1 {{ font-size: 50px; }}
body {{ font: 20px Helvetica, sans-serif; color: #333; }}
article {{ display: block; text-align: center; width: 650px; margin: 0 auto;}}
input {{
padding: 12px 20px;
margin: 8px 0;
box-sizing: border-box;
border: 1px solid #ccc;
}}
input[type=password] {{
width: 75%;
font-size: 24px;
}}
input[type=submit] {{
cursor: pointer;
width: 75%;
}}
input[type=submit]:hover {{
background-color: #d9d9d9;
}}
</style>
</head>
<body>
<article>
<h1>Decryption</h1>
<p>Some of your files are encrypted.</p>
<p>Please provide the decryption password.</p>
<div>
<form action="/set-password" method="POST">
{password_fields}
<input type="submit" value="Submit">
</form>
</div>
</article>
</body>
</html>
"""
POST_RESPONSE = """
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
/* Center the loader */
#loader {
position: absolute;
left: 50%;
top: 50%;
z-index: 1;
width: 150px;
height: 150px;
margin: -75px 0 0 -75px;
border: 16px solid #f3f3f3;
border-radius: 50%;
border-top: 16px solid #3498db;
width: 120px;
height: 120px;
-webkit-animation: spin 2s linear infinite;
animation: spin 2s linear infinite;
}
@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
#myDiv {
display: none;
text-align: center;
}
</style>
<script type="text/javascript">
function checkPwnagotchi() {
var target = 'http://' + document.location.hostname + ':8080/';
var xhr = new XMLHttpRequest();
xhr.open('GET', target);
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
if (xhr.status == 200 || xhr.status == 401) {
window.location.replace(target);
}else{
setTimeout(checkPwnagotchi, 1000);
}
}
};
xhr.send();
}
setTimeout(checkPwnagotchi, 1000);
</script>
</head>
<body style="margin:0;">
<div id="loader"></div>
</body>
</html>
"""
HTML_FORM = None
class SimpleHTTPRequestHandler(BaseHTTPRequestHandler):
def do_GET(self):
self.send_response(200)
self.end_headers()
self.wfile.write(HTML_FORM.encode())
def do_POST(self):
content_length = int(self.headers['Content-Length'])
body = self.rfile.read(content_length)
for mapping, password in parse_qsl(body.decode('UTF-8')):
with open('/tmp/.pwnagotchi-secret-{}'.format(mapping), 'wt') as pwfile:
pwfile.write(password)
self.send_response(200)
self.end_headers()
self.wfile.write(POST_RESPONSE.encode())
with open('/root/.pwnagotchi-crypted') as crypted_file:
mappings = [line.split()[0] for line in crypted_file.readlines()]
fields = ''.join(['<label for="{m}">Passphrase for {m}:</label>\n<input type="password" id="{m}" name="{m}" value=""><br>'.format(m=m)
for m in mappings])
HTML_FORM = _HTML_FORM_TEMPLATE.format(password_fields=fields)
httpd = HTTPServer(('0.0.0.0', 80), SimpleHTTPRequestHandler)
httpd.serve_forever()

2
builder/data/usr/bin/hdmioff Executable file

@ -0,0 +1,2 @@
#!/usr/bin/env bash
sudo /opt/vc/bin/tvservice -o

2
builder/data/usr/bin/hdmion Executable file

@ -0,0 +1,2 @@
#!/usr/bin/env bash
sudo /opt/vc/bin/tvservice -p

3
builder/data/usr/bin/monstart Executable file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
source /usr/bin/pwnlib
start_monitor_interface

3
builder/data/usr/bin/monstop Executable file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
source /usr/bin/pwnlib
stop_monitor_interface

@ -0,0 +1,19 @@
#!/usr/bin/env bash
source /usr/bin/pwnlib
# we need to decrypt something
if is_crypted_mode; then
while ! is_decrypted; do
echo "Waiting for decryption..."
sleep 1
done
fi
# blink 10 times to signal ready state
blink_led 10 &
if is_auto_mode; then
/usr/local/bin/pwnagotchi
else
/usr/local/bin/pwnagotchi --manual
fi

213
builder/data/usr/bin/pwnlib Executable file

@ -0,0 +1,213 @@
#!/usr/bin/env bash
# well ... it blinks the led
blink_led() {
for i in $(seq 1 "$1"); do
if [ -d /sys/class/leds/led0 ]
then
echo 0 | tee /sys/class/leds/led0/brightness
else
echo 0 | tee /sys/class/leds/ACT/brightness
fi
sleep 0.3
if [ -d /sys/class/leds/led0 ]
then
echo 1 | tee /sys/class/leds/led0/brightness
else
echo 1 | tee /sys/class/leds/ACT/brightness
fi
sleep 0.3
done
if [ -d /sys/class/leds/led0 ]
then
echo 0 | tee /sys/class/leds/led0/brightness
else
echo 0 | tee /sys/class/leds/ACT/brightness
fi
sleep 0.3
}
# check if brcm is stuck
check_brcm() {
if [[ "$(journalctl -n10 -k --since -5m | grep -c 'brcmf_cfg80211_nexmon_set_channel.*Set Channel failed')" -ge 5 ]]; then
return 1
fi
return 0
}
# reload mod
reload_brcm() {
if ! modprobe -r brcmfmac; then
return 1
fi
if ! modprobe brcmfmac; then
return 1
fi
return 0
}
# starts mon0
start_monitor_interface() {
rfkill unblock all
iw dev wlan0 set power_save off
ifconfig wlan0 up
iw phy "$(iw phy | head -1 | cut -d" " -f2)" interface add mon0 type monitor && ifconfig mon0 up
# If wlan0 is NOT taken down after bringing up mon0, then when switching to AUTO you will get:
# error 400: error while initializing mon0 to channel 1: iw: out=command failed: Device or resource busy (-16) err=exit status 240
ifconfig wlan0 down
}
# stops mon0
stop_monitor_interface() {
ifconfig mon0 down && iw dev mon0 del
ifconfig wlan0 up
}
# returns 0 if the specificed network interface is up
is_interface_up() {
if grep -qi 'up' /sys/class/net/$1/operstate; then
return 0
else
return 1
fi
}
# returns 0 if conditions for AUTO mode are met
is_auto_mode() {
# check override file first
if [ -f /root/.pwnagotchi-manual ]; then
# remove the override file if found
rm -rf /root/.pwnagotchi-manual
return 1
fi
# check override file first
if [ -f /root/.pwnagotchi-auto ]; then
# remove the override file if found
rm -rf /root/.pwnagotchi-auto
return 0
fi
# if usb0 is up, we're in MANU
if is_interface_up usb0; then
return 1
fi
# if eth0 is up (for other boards), we're in MANU
if is_interface_up eth0; then
return 1
fi
# no override, but none of the interfaces is up -> AUTO
return 0
}
# returns 0 if conditions for AUTO mode are met
is_auto_mode_no_delete() {
# check override file first
if [ -f /root/.pwnagotchi-manual ]; then
return 1
fi
# check override file first
if [ -f /root/.pwnagotchi-auto ]; then
return 0
fi
# if usb0 is up, we're in MANU
if is_interface_up usb0; then
return 1
fi
# if eth0 is up (for other boards), we're in MANU
if is_interface_up eth0; then
return 1
fi
# no override, but none of the interfaces is up -> AUTO
return 0
}
# check if we need to decrypt something
is_crypted_mode() {
if [ -f /root/.pwnagotchi-crypted ]; then
return 0
fi
return 1
}
# decryption loop
is_decrypted() {
while read -r mapping container mount; do
# mapping = name the device or file will be mapped to
# container = the luks encrypted device or file
# mount = the mountpoint
# fail if not mounted
if ! mountpoint -q "$mount" >/dev/null 2>&1; then
if [ -f /tmp/.pwnagotchi-secret-"$mapping" ]; then
</tmp/.pwnagotchi-secret-"$mapping" read -r SECRET
if ! test -b /dev/disk/by-id/dm-uuid-*"$(cryptsetup luksUUID "$container" | tr -d -)"*; then
if echo -n "$SECRET" | cryptsetup luksOpen -d- "$container" "$mapping" >/dev/null 2>&1; then
echo "Container decrypted!"
fi
fi
if mount /dev/mapper/"$mapping" "$mount" >/dev/null 2>&1; then
echo "Mounted /dev/mapper/$mapping to $mount"
continue
fi
fi
if ! ip -4 addr show wlan0 | grep inet >/dev/null 2>&1; then
>/dev/null 2>&1 ip addr add 192.168.0.10/24 dev wlan0
fi
if ! pgrep -f decryption-webserver >/dev/null 2>&1; then
>/dev/null 2>&1 decryption-webserver &
fi
if ! pgrep wpa_supplicant >/dev/null 2>&1; then
>/tmp/wpa_supplicant.conf cat <<EOF
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
ap_scan=2
network={
ssid="DECRYPT-ME"
mode=2
key_mgmt=WPA-PSK
psk="pwnagotchi"
frequency=2437
}
EOF
>/dev/null 2>&1 wpa_supplicant -u -s -O -D nl80211 -i wlan0 -c /tmp/wpa_supplicant.conf &
fi
if ! pgrep dnsmasq >/dev/null 2>&1; then
>/dev/null 2>&1 dnsmasq -k -p 53 -h -O "6,192.168.0.10" -A "/#/192.168.0.10" -i wlan0 -K -F 192.168.0.50,192.168.0.60,255.255.255.0,24h &
fi
return 1
fi
done </root/.pwnagotchi-crypted
# overwrite passwords
python3 -c 'print("A"*4096)' | tee /tmp/.pwnagotchi-secret-* >/dev/null
# delete
rm /tmp/.pwnagotchi-secret-*
sync # flush
pkill wpa_supplicant
pkill dnsmasq
pid="$(pgrep -f "decryption-webserver")"
[[ -n "$pid" ]] && kill "$pid"
return 0
}

@ -1,31 +1,48 @@
{
"builders": [{
"builders": [
{
"name": "pwnagotchi",
"type": "arm-image",
"iso_url" : "https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2019-07-12/2019-07-10-raspbian-buster-lite.zip",
"iso_checksum_type":"sha256",
"iso_checksum":"9e5cf24ce483bb96e7736ea75ca422e3560e7b455eee63dd28f66fa1825db70e",
"last_partition_extra_size" : 3221225472
}],
"iso_url": "https://downloads.raspberrypi.org/raspios_oldstable_lite_armhf/images/raspios_oldstable_lite_armhf-2023-05-03/2023-05-03-raspios-buster-armhf-lite.img.xz",
"iso_checksum": "3d210e61b057de4de90eadb46e28837585a9b24247c221998f5bead04f88624c",
"target_image_size": 9368709120,
"qemu_args": ["-cpu", "arm1176"]
}
],
"provisioners": [
{
"type": "shell",
"inline": [
"sed -i 's/^\\([^#]\\)/#\\1/g' /etc/ld.so.preload",
"mv /etc/ld.so.preload /etc/ld.so.preload.DISABLED",
"uname -a",
"dpkg-architecture",
"apt-get -y update",
"apt-get install -y ansible"
"mkdir -p /usr/local/src/pwnagotchi"
]
},
{
"type": "file",
"sources": [
"../dist/pwnagotchi-{{user `pwn_version`}}.tar.gz"
],
"destination": "/usr/local/src/pwnagotchi/"
},
{
"type": "shell",
"inline": [
"apt-get -y --allow-releaseinfo-change update",
"apt-get install -y --no-install-recommends ansible"
]
},
{
"type": "ansible-local",
"playbook_file": "pwnagotchi.yml",
"extra_arguments": [ "--extra-vars \"ansible_python_interpreter=/usr/bin/python3\"" ],
"command": "ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1 PWN_VERSION={{user `pwn_version`}} PWN_HOSTNAME={{user `pwn_hostname`}} ansible-playbook"
},
{
"type": "shell",
"inline": [
"sed -i 's/^#\\(.+\\)/\\1/g' /etc/ld.so.preload"
"mv /etc/ld.so.preload.DISABLED /etc/ld.so.preload"
]
}
]

@ -1,6 +1,7 @@
---
- hosts:
- 127.0.0.1
gather_facts: yes
become: yes
vars:
pwnagotchi:
@ -10,9 +11,11 @@
boot_options:
- "dtoverlay=dwc2"
- "dtoverlay=spi1-3cs"
- "dtoverlay=pwm-2chan,pin=12,func=4,pin2=13,func2=4"
- "dtparam=spi=on"
- "dtparam=i2c_arm=on"
- "dtparam=i2c1=on"
- "gpu_mem=16"
modules:
- "i2c-dev"
services:
@ -22,6 +25,7 @@
- bettercap.service
- pwngrid-peer.service
- epd-fuse.service
- fstrim.timer
disable:
- apt-daily.timer
- apt-daily.service
@ -31,12 +35,14 @@
- bluetooth.service
- triggerhappy.service
- ifup@wlan0.service
- dnsmasq.service
packages:
bettercap:
url: "https://github.com/bettercap/bettercap/releases/download/v2.26.1/bettercap_linux_armhf_v2.26.1.zip"
# We will install bettercap from source
# url: "https://github.com/bettercap/bettercap/releases/download/v2.31.0/bettercap_linux_armhf_v2.31.0.zip"
ui: "https://github.com/bettercap/ui/releases/download/v1.3.0/ui.zip"
pwngrid:
url: "https://github.com/evilsocket/pwngrid/releases/download/v1.10.1/pwngrid_linux_armhf_v1.10.1.zip"
url: "https://github.com/evilsocket/pwngrid/releases/download/v1.10.3/pwngrid_linux_armhf_v1.10.3.zip"
apt:
hold:
- firmware-atheros
@ -45,15 +51,18 @@
- firmware-misc-nonfree
- firmware-realtek
remove:
- rasberrypi-net-mods
- raspberrypi-net-mods
- dhcpcd5
- triggerhappy
- wpa_supplicant
- nfs-common
# Remove every golang package because we will install go-1.20.2
- golang*
- python2*
install:
- rsync
- vim
- screen
- golang
- git
- build-essential
- python3-pip
@ -64,6 +73,7 @@
- libopenmpi-dev
- libatlas-base-dev
- libjasper-dev
- libgtk-3-0
- libqtgui4
- libqt4-test
- libopenjp2-7
@ -81,10 +91,6 @@
- libnetfilter-queue-dev
- libopenmpi3
- dphys-swapfile
- kalipi-kernel
- kalipi-bootloader
- kalipi-re4son-firmware
- kalipi-kernel-headers
- libraspberrypi0
- libraspberrypi-dev
- libraspberrypi-doc
@ -98,8 +104,36 @@
- bc
- fonts-freefont-ttf
- fbi
- fonts-ipaexfont-gothic
- cryptsetup
- dnsmasq
- aircrack-ng
- raspberrypi-kernel-headers
- libgmp3-dev
- qpdf
- bison
- flex
- make
- autoconf
- libtool
- texinfo
- binutils
- lnav
- p7zip-full
environment:
ARCHFLAGS: "-arch armv7l"
tasks:
- name: System details
debug:
msg="{{ item }}"
with_items:
- "{{ ansible_distribution }}"
- "{{ ansible_distribution_version }}"
- "{{ ansible_distribution_major_version }}"
- "{{ ansible_architecture }}"
- "{{ ansible_machine }}"
- name: change hostname
hostname:
name: "{{pwnagotchi.hostname}}"
@ -121,16 +155,6 @@
line: 'ExecStart=/usr/lib/bluetooth/bluetoothd --noplugin=sap'
state: present
- name: Add re4son-kernel repo key
apt_key:
url: https://re4son-kernel.com/keys/http/archive-key.asc
state: present
- name: Add re4son-kernel repository
apt_repository:
repo: deb http://http.re4son-kernel.com/re4son/ kali-pi main
state: present
- name: add firmware packages to hold
dpkg_selections:
name: "{{ item }}"
@ -156,23 +180,35 @@
name: "{{ packages.apt.install }}"
state: present
- name: Update .bashrc (root)
blockinfile:
dest: /root/.bashrc
state: present
block: |
export MAKEFLAGS=-j$(nproc)
insertafter: EOF
- name: configure dphys-swapfile
file:
lineinfile:
path: /etc/dphys-swapfile
content: "CONF_SWAPSIZE=1024"
regexp: "^CONF_SWAPSIZE=.*$"
line: "CONF_SWAPSIZE=512"
- name: clone papirus repository
git:
repo: https://github.com/repaper/gratis.git
dest: /usr/local/src/gratis
retries: 5000
delay: 5
register: gratisgit
until: gratisgit is succeeded
- name: build papirus service
make:
chdir: /usr/local/src/gratis
target: rpi
params:
EPD_IO: epd_io.h
EPD_IO: epd_io_free_uart.h
PANEL_VERSION: 'V231_G2'
when: gratisgit.changed
@ -181,7 +217,7 @@
chdir: /usr/local/src/gratis
target: rpi-install
params:
EPD_IO: epd_io.h
EPD_IO: epd_io_free_uart.h
PANEL_VERSION: 'V231_G2'
when: gratisgit.changed
@ -191,57 +227,58 @@
regexp: "#EPD_SIZE=2.0"
line: "EPD_SIZE=2.0"
- name: collect python pip package list
command: "pip3 list"
register: pip_output
- name: Delete papirus content & directory
file:
state: absent
path: /usr/local/src/gratis
when: gratisgit.changed
- name: set python pip package facts
set_fact:
pip_packages: >
{{ pip_packages | default({}) | combine( { item.split()[0]: item.split()[1] } ) }}
with_items: "{{ pip_output.stdout_lines }}"
- name: acquire python3 pip target
command: "python3 -c 'import sys;print(sys.path.pop())'"
register: pip_target
- name: clone pwnagotchi repository
git:
repo: https://github.com/evilsocket/pwnagotchi.git
dest: /usr/local/src/pwnagotchi
register: pwnagotchigit
- name: fetch pwnagotchi version
set_fact:
pwnagotchi_version: "{{ lookup('file', '/usr/local/src/pwnagotchi/pwnagotchi/__init__.py') | replace('\n', ' ') | regex_replace('.*version.*=.*''([0-9]+\\.[0-9]+\\.[0-9]+[A-Za-z0-9]*)''.*', '\\1') }}"
- name: pwnagotchi version found
debug:
msg: "{{ pwnagotchi_version }}"
- name: build pwnagotchi wheel
command: "python3 setup.py sdist bdist_wheel"
# pip v20.3 uses a newer dependency resolver that better handles our unique situation.
# Specifically, it handles mismatches between direct requirements without extras and
# indirect requirements that do want extras (e.g. gym vs stable-baselines->gym[atari]).
- name: Upgrade pip and install rpi-hardware-pwm
shell: "python3 -m pip install pip>=20.3 rpi-hardware-pwm --verbose --retries 5000"
args:
chdir: /usr/local/src/pwnagotchi
when: (pwnagotchigit.changed) or (pip_packages['pwnagotchi'] is undefined) or (pip_packages['pwnagotchi'] != pwnagotchi.version)
executable: /bin/bash
- name: install opencv-python
pip:
name: "https://www.piwheels.hostedpi.com/simple/opencv-python/opencv_python-3.4.3.18-cp37-cp37m-linux_armv6l.whl"
extra_args: "--no-deps --no-cache-dir --platform=linux_armv6l --only-binary=:all: --target={{ pip_target.stdout }}"
when: (pip_packages['opencv-python'] is undefined) or (pip_packages['opencv-python'] != '3.4.3.18')
# We need the --ignore-installed option so that pip simply overwrites/upgrades existing
# packages instead of trying to uninstall them first. While this sounds dangerous,
# this matches the legacy behavior of pip. This is required to prevent pip from trying
# (and failing) to uninstall python packages that were originally installed via apt.
- name: Install pwnagotchi from source archive
shell: "python3 -m pip install /usr/local/src/pwnagotchi/pwnagotchi-{{ pwnagotchi.version }}.tar.gz --verbose --ignore-installed --retries 5000"
args:
executable: /bin/bash
- name: install tensorflow
pip:
name: "https://www.piwheels.hostedpi.com/simple/tensorflow/tensorflow-1.13.1-cp37-none-linux_armv6l.whl"
extra_args: "--no-deps --no-cache-dir --platform=linux_armv6l --only-binary=:all: --target={{ pip_target.stdout }}"
when: (pip_packages['tensorflow'] is undefined) or (pip_packages['tensorflow'] != '1.13.1')
- name: create custom plugin directory
file:
path: /usr/local/share/pwnagotchi/custom-plugins/
state: directory
- name: install pwnagotchi wheel and dependencies
pip:
name: "{{ lookup('fileglob', '/usr/local/src/pwnagotchi/dist/pwnagotchi*.whl') }}"
extra_args: "--no-cache-dir"
when: (pwnagotchigit.changed) or (pip_packages['pwnagotchi'] is undefined) or (pip_packages['pwnagotchi'] != pwnagotchi.version)
- name: clone pwnagotchi plugins repository
git:
repo: https://git.chadwaltercummings.me/scifijunkie/pwnagotchi-plugins-contrib.git
dest: /usr/local/share/pwnagotchi/available-plugins
retries: 5000
delay: 5
register: pwnagotchipluginsgit
until: pwnagotchipluginsgit is succeeded
- name: Copy aircrackonly.py
copy:
src: /usr/local/share/pwnagotchi/available-plugins/aircrackonly.py
dest: /usr/local/share/pwnagotchi/custom-plugins/aircrackonly.py
owner: root
group: root
mode: '644'
- name: Copy handshakes-dl.py
copy:
src: /usr/local/share/pwnagotchi/available-plugins/handshakes-dl.py
dest: /usr/local/share/pwnagotchi/custom-plugins/handshakes-dl.py
owner: root
group: root
mode: '644'
- name: download and install pwngrid
unarchive:
@ -250,21 +287,41 @@
remote_src: yes
mode: 0755
- name: download and install bettercap
- name: Install go-1.24.1
unarchive:
src: "{{ packages.bettercap.url }}"
dest: /usr/bin
src: https://go.dev/dl/go1.24.1.linux-armv6l.tar.gz
dest: /usr/local
remote_src: yes
exclude:
- README.md
- LICENSE.md
mode: 0755
register: golang
- name: Update .bashrc for go-1.24.1 (pi)
blockinfile:
dest: /home/pi/.bashrc
state: present
block: |
export GOPATH=$HOME/go
export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin
insertafter: EOF
when: golang.changed
- name: Install bettercap
shell: "export GOPATH=$HOME/go && export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin && git clone https://github.com/bettercap/bettercap.git && cd bettercap/ && make build && make install"
args:
executable: /bin/bash
register: bettercap
- name: Link bettercap
command: ln -s /usr/local/bin/bettercap /usr/bin/bettercap
when: bettercap.changed
- name: clone bettercap caplets
git:
repo: https://github.com/bettercap/caplets.git
dest: /tmp/caplets
retries: 5000
delay: 5
register: capletsgit
until: capletsgit is succeeded
- name: install bettercap caplets
make:
@ -279,92 +336,226 @@
remote_src: yes
mode: 0755
- name: create bootblink script
copy:
dest: /usr/bin/bootblink
mode: 0755
content: |
#!/usr/bin/env bash
for i in $(seq 1 "$1");
do
echo 0 >/sys/class/leds/led0/brightness
sleep 0.3
echo 1 >/sys/class/leds/led0/brightness
sleep 0.3
done
echo 0 >/sys/class/leds/led0/brightness
sleep 0.3
# Install nexmon to fix wireless scanning (takes 2.5G of space)
- name: clone nexmon repository
git:
repo: https://github.com/seemoo-lab/nexmon.git
dest: /usr/local/src/nexmon
# version: bfb3fe90c881498d7ee245b38f16722c1de26fa1
retries: 5000
delay: 5
register: nexmongit
until: nexmongit is succeeded
- name: create pwnagotchi-launcher script
copy:
dest: /usr/bin/pwnagotchi-launcher
mode: 0755
content: |
#!/usr/bin/env bash
# blink 10 times to signal ready state
/usr/bin/bootblink 10 &
# start a detached screen session with bettercap
if [[ $(ifconfig | grep usb0 | grep RUNNING) ]] || [[ !$(grep '1' /sys/class/net/eth0/carrier) ]]; then
# if override file exists, go into auto mode
if [ -f /root/.pwnagotchi-auto ]; then
rm /root/.pwnagotchi-auto
/usr/local/bin/pwnagotchi
else
/usr/local/bin/pwnagotchi --manual
fi
else
/usr/local/bin/pwnagotchi
fi
- name: configure libisl
command: chdir=/usr/local/src/nexmon/buildtools/isl-0.10/ ./configure
- name: create bettercap-launcher script
copy:
dest: /usr/bin/bettercap-launcher
mode: 0755
content: |
#!/usr/bin/env bash
/usr/bin/monstart
if [[ $(ifconfig | grep usb0 | grep RUNNING) ]] || [[ !$(grep '1' /sys/class/net/eth0/carrier) ]]; then
# if override file exists, go into auto mode
if [ -f /root/.pwnagotchi-auto ]; then
/usr/bin/bettercap -no-colors -caplet pwnagotchi-auto -iface mon0
else
/usr/bin/bettercap -no-colors -caplet pwnagotchi-manual -iface mon0
fi
else
/usr/bin/bettercap -no-colors -caplet pwnagotchi-auto -iface mon0
fi
- name: make libisl
command: chdir=/usr/local/src/nexmon/buildtools/isl-0.10/ make
- name: create monstart script
copy:
dest: /usr/bin/monstart
mode: 0755
content: |
#!/usr/bin/env bash
iw phy phy0 interface add mon0 type monitor && ifconfig mon0 up
- name: install libisl
command: chdir=/usr/local/src/nexmon/buildtools/isl-0.10/ make install
- name: create monstop script
copy:
dest: /usr/bin/monstop
mode: 0755
content: |
#!/usr/bin/env bash
ifconfig mon0 down && iw dev mon0 del
- name: link libisl
command: ln -s /usr/local/lib/libisl.so /usr/lib/arm-linux-gnueabihf/libisl.so.10
- name: create hdmion script
copy:
dest: /usr/bin/hdmion
mode: 0755
content: |
#!/usr/bin/env bash
sudo /opt/vc/bin/tvservice -p
- name: autoreconf libmpfr
command: chdir=/usr/local/src/nexmon/buildtools/mpfr-3.1.4/ autoreconf -f -i
- name: create hdmioff script
- name: configure libmpfr
command: chdir=/usr/local/src/nexmon/buildtools/mpfr-3.1.4/ ./configure
- name: make libmpfr
command: chdir=/usr/local/src/nexmon/buildtools/mpfr-3.1.4/ make
- name: install libmpfr
command: chdir=/usr/local/src/nexmon/buildtools/mpfr-3.1.4/ make install
- name: link libmpfr
command: ln -s /usr/local/lib/libmpfr.so /usr/lib/arm-linux-gnueabihf/libmpfr.so.4
- name: make firmware
shell: "source ./setup_env.sh && make"
args:
executable: /bin/bash
chdir: /usr/local/src/nexmon/
- name: choose the right kernel version (bcm43436b0)
replace:
dest: /usr/local/src/nexmon/patches/bcm43436b0/9_88_4_65/nexmon/Makefile
backup: no
regexp: "KERNEL_VERSION = .*$"
replace: "KERNEL_VERSION = 5.10"
- name: choose the right kernel release (variable) (bcm43436b0)
lineinfile:
dest: /usr/local/src/nexmon/patches/bcm43436b0/9_88_4_65/nexmon/Makefile
insertafter: "DRIVER_FOLDER_NAME = .*$"
line: "KERNEL_RELEASE = 5.10.103-v7+"
- name: choose the right kernel release (replace string) (bcm43436b0)
replace:
dest: /usr/local/src/nexmon/patches/bcm43436b0/9_88_4_65/nexmon/Makefile
backup: no
regexp: "shell uname -r"
replace: "KERNEL_RELEASE"
- name: make firmware patch (bcm43436b0)
shell: "source ./setup_env.sh && cd /usr/local/src/nexmon/patches/bcm43436b0/9_88_4_65/nexmon/ && make"
args:
executable: /bin/bash
chdir: /usr/local/src/nexmon/
# - name: backup original firmware
# shell: "source ./setup_env.sh && cd /usr/local/src/nexmon/patches/bcm43436b0/9_88_4_65/nexmon/ && make backup-firmware"
# args:
# executable: /bin/bash
# chdir: /usr/local/src/nexmon/
# - name: install new firmware
# shell: "source ./setup_env.sh && cd /usr/local/src/nexmon/patches/bcm43436b0/9_88_4_65/nexmon/ && make install-firmware"
# args:
# executable: /bin/bash
# chdir: /usr/local/src/nexmon/
- name: install new firmware (bcm43436b0)
copy:
dest: /usr/bin/hdmioff
mode: 0755
content: |
#!/usr/bin/env bash
sudo /opt/vc/bin/tvservice -o
src: /usr/local/src/nexmon/patches/bcm43436b0/9_88_4_65/nexmon/brcmfmac43436-sdio.bin
dest: /lib/firmware/brcm/brcmfmac43436-sdio.bin
- name: choose the right kernel version (bcm43430a1)
replace:
dest: /usr/local/src/nexmon/patches/bcm43430a1/7_45_41_46/nexmon/Makefile
backup: no
regexp: "KERNEL_VERSION = .*$"
replace: "KERNEL_VERSION = 5.10"
- name: choose the right kernel release (variable) (bcm43430a1)
lineinfile:
dest: /usr/local/src/nexmon/patches/bcm43430a1/7_45_41_46/nexmon/Makefile
insertafter: "DRIVER_FOLDER_NAME = .*$"
line: "KERNEL_RELEASE = 5.10.103-v7+"
- name: choose the right kernel release (replace string) (bcm43430a1)
replace:
dest: /usr/local/src/nexmon/patches/bcm43430a1/7_45_41_46/nexmon/Makefile
backup: no
regexp: "shell uname -r"
replace: "KERNEL_RELEASE"
- name: make firmware patch (bcm43430a1)
shell: "source ./setup_env.sh && cd /usr/local/src/nexmon/patches/bcm43430a1/7_45_41_46/nexmon/ && make"
args:
executable: /bin/bash
chdir: /usr/local/src/nexmon/
# - name: backup original firmware
# shell: "source ./setup_env.sh && cd /usr/local/src/nexmon/patches/bcm43430a1/7_45_41_46/nexmon/ && make backup-firmware"
# args:
# executable: /bin/bash
# chdir: /usr/local/src/nexmon/
# - name: install new firmware
# shell: "source ./setup_env.sh && cd /usr/local/src/nexmon/patches/bcm43430a1/7_45_41_46/nexmon/ && make install-firmware"
# args:
# executable: /bin/bash
# chdir: /usr/local/src/nexmon/
- name: install new firmware (bcm43430a1)
copy:
src: /usr/local/src/nexmon/patches/bcm43430a1/7_45_41_46/nexmon/brcmfmac43430-sdio.bin
dest: /lib/firmware/brcm/brcmfmac43430-sdio.bin
- name: Delete the firmware blob to avoid it crashing
file:
state: absent
path: /lib/firmware/brcm/brcmfmac43430-sdio.clm_blob
- name: Delete the RPiZW firmware blob to avoid it crashing
file:
state: absent
path: /lib/firmware/brcm/brcmfmac43430-sdio.raspberrypi,model-zero-w.clm_blob
- name: Delete the RPi3 firmware blob to avoid it crashing
file:
state: absent
path: /lib/firmware/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.clm_blob
- name: choose the right kernel version (bcm43455c0)
replace:
dest: /usr/local/src/nexmon/patches/bcm43455c0/7_45_206/nexmon/Makefile
backup: no
regexp: "KERNEL_VERSION = .*$"
replace: "KERNEL_VERSION = 5.10"
- name: choose the right kernel release (variable) (bcm43455c0)
lineinfile:
dest: /usr/local/src/nexmon/patches/bcm43455c0/7_45_206/nexmon/Makefile
insertafter: "DRIVER_FOLDER_NAME = .*$"
line: "KERNEL_RELEASE = 5.10.103-v7+"
- name: choose the right kernel release (replace string) (bcm43455c0)
replace:
dest: /usr/local/src/nexmon/patches/bcm43455c0/7_45_206/nexmon/Makefile
backup: no
regexp: "shell uname -r"
replace: "KERNEL_RELEASE"
- name: make firmware patch (bcm43455c0)
shell: "source ./setup_env.sh && cd /usr/local/src/nexmon/patches/bcm43455c0/7_45_206/nexmon/ && make"
args:
executable: /bin/bash
chdir: /usr/local/src/nexmon/
# - name: backup original firmware
# shell: "source ./setup_env.sh && cd /usr/local/src/nexmon/patches/bcm43455c0/7_45_206/nexmon/ && make backup-firmware"
# args:
# executable: /bin/bash
# chdir: /usr/local/src/nexmon/
# - name: install new firmware
# shell: "source ./setup_env.sh && cd /usr/local/src/nexmon/patches/bcm43455c0/7_45_206/nexmon/ && make install-firmware"
# args:
# executable: /bin/bash
# chdir: /usr/local/src/nexmon/
- name: install new firmware (bcm43455c0)
copy:
src: /usr/local/src/nexmon/patches/bcm43455c0/7_45_206/nexmon/brcmfmac43455-sdio.bin
dest: /lib/firmware/brcm/brcmfmac43455-sdio.bin
- name: make nexutil
command: chdir=/usr/local/src/nexmon/utilities/nexutil/ make
- name: make install nexutil
command: chdir=/usr/local/src/nexmon/utilities/nexutil/ make install
# - name: copy modified driver
# shell: "cd /usr/local/src/nexmon/patches/driver/brcmfmac_5.10.y-nexmon/ && cp brcmfmac.ko /lib/modules/5.10.103-v7+/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko && depmod -a"
# args:
# executable: /bin/bash
- name: copy modified driver (everyone but RPiZW)
copy:
src: /usr/local/src/nexmon/patches/driver/brcmfmac_5.10.y-nexmon/brcmfmac.ko
dest: /lib/modules/5.10.103-v7+/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko
- name: ensure depmod runs on reboot to load modified driver (brcmfmac)
lineinfile:
dest: /etc/rc.local
line: "/sbin/depmod -a"
# To shrink the final image, remove the nexmon directory (takes 2.5G of space) post build and installation
- name: Delete nexmon content & directory
file:
state: absent
path: /usr/local/src/nexmon/
- name: Add pwnlog alias
lineinfile:
dest: /home/pi/.bashrc
line: "\nalias pwnlog='tail -f -n300 /var/log/pwn*.log | sed --unbuffered \"s/,[[:digit:]]\\{3\\}\\]//g\" | cut -d \" \" -f 2-'"
insertafter: EOF
- name: add HDMI powersave to rc.local
blockinfile:
@ -382,55 +573,42 @@
- name: check if user configuration exists
stat:
path: /etc/pwnagotchi/config.yml
path: /etc/pwnagotchi/config.toml
register: user_config
- name: create /etc/pwnagotchi/config.yml
- name: create /etc/pwnagotchi/config.toml
copy:
dest: /etc/pwnagotchi/config.yml
dest: /etc/pwnagotchi/config.toml
content: |
# Add your configuration overrides on this file any configuration changes done to default.yml will be lost!
# Add your configuration overrides on this file any configuration changes done to default.toml will be lost!
# Example:
#
# ui:
# display:
# type: 'inkyphat'
# color: 'black'
#
# ui.display.enabled = true
# ui.display.type = "waveshare_2"
when: not user_config.stat.exists
- name: configure lo interface
copy:
dest: /etc/network/interfaces.d/lo-cfg
content: |
auto lo
iface lo inet loopback
# - name: append commented out parameters for usb_hat_c.py
# lineinfile:
# dest: /etc/pwnagotchi/config.toml
# line: "# main.plugins.ups_hat_c.enabled = true\n# main.plugins.ups_hat_c.label_on = true # show BAT label or just percentage\n# main.plugins.ups_hat_c.shutdown = 5 # battery percent at which the device will turn off\n# main.plugins.ups_hat_c.bat_x_coord = 140\n# main.plugins.ups_hat_c.bat_y_coord = 0"
# insertafter: EOF
- name: configure wlan interface
copy:
dest: /etc/network/interfaces.d/wlan0-cfg
content: |
allow-hotplug wlan0
iface wlan0 inet static
#bizzarely changing the plugin code directly reverts to the old string
- name: Reconfigure auto-update to point to the scifijunk repo
replace:
dest: /usr/local/lib/python3.7/dist-packages/pwnagotchi/plugins/default/auto-update.py
backup: no
regexp: "evilsocket/pwnagotchi"
replace: "scifijunk/pwnagotchi"
- name: configure usb interface
copy:
dest: /etc/network/interfaces.d/usb0-cfg
content: |
allow-hotplug usb0
iface usb0 inet static
address 10.0.0.2
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.255
gateway 10.0.0.1
- name: Delete unnecessary large folder to save space (/root/go)
file:
state: absent
path: /root/go
- name: configure eth0 interface (pi2/3/4)
copy:
dest: /etc/network/interfaces.d/eth0-cfg
content: |
allow-hotplug eth0
iface eth0 inet dhcp
- name: Delete unnecessary large folder to save space (/root/.cache)
file:
state: absent
path: /root/.cache
- name: enable ssh on boot
file:
@ -471,20 +649,20 @@
copy:
dest: /etc/motd
content: |
(◕‿‿◕) {{pwnagotchi.hostname}} (pwnagotchi-{{pwnagotchi.version}})
(◕‿‿◕) {{pwnagotchi.hostname}}
Hi! I'm a pwnagotchi, please take good care of me!
Here are some basic things you need to know to raise me properly!
If you want to change my configuration, use /etc/pwnagotchi/config.yml
If you want to change my configuration, use /etc/pwnagotchi/config.toml
All the configuration options can be found on /etc/pwnagotchi/default.yml,
All the configuration options can be found on /etc/pwnagotchi/default.toml,
but don't change this file because I will recreate it every time I'm restarted!
I'm managed by systemd. Here are some basic commands.
If you want to know what I'm doing, you can check my logs with the command
journalctl -fu pwnagotchi
tail -f /var/log/pwnagotchi.log
If you want to know if I'm running, you can use
systemctl status pwnagotchi
@ -499,79 +677,19 @@
You learn more about me at https://pwnagotchi.ai/
when: hostname.changed
# Ansible's apt module has an "autoclean" option but it only removes packages
# that can no longer be downloaded. Ansible v2.13 added the "clean" option
# which actually purges the apt cache, but that's newer than what we can
# install from the RasPiOS repos. Instead, we'll manually clean the cache.
- name: clean apt cache
apt:
autoclean: yes
command: "apt-get clean"
args:
warn: false
- name: remove dependencies that are no longer required
apt:
autoremove: yes
- name: add pwngrid-peer service to systemd
copy:
dest: /etc/systemd/system/pwngrid-peer.service
content: |
[Unit]
Description=pwngrid peer service.
Documentation=https://pwnagotchi.ai
Wants=network.target
[Service]
Type=simple
PermissionsStartOnly=true
ExecStart=/usr/bin/pwngrid -keys /etc/pwnagotchi -address 127.0.0.1:8666 -client-token /root/.api-enrollment.json -wait -log /var/log/pwngrid-peer.log -iface mon0
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target
notify:
- reload systemd services
- name: add bettercap service to systemd
copy:
dest: /etc/systemd/system/bettercap.service
content: |
[Unit]
Description=bettercap api.rest service.
Documentation=https://bettercap.org
Wants=network.target
After=pwngrid.service
[Service]
Type=simple
PermissionsStartOnly=true
ExecStart=/usr/bin/bettercap-launcher
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target
notify:
- reload systemd services
- name: add pwnagotchi service to systemd
copy:
dest: /etc/systemd/system/pwnagotchi.service
content: |
[Unit]
Description=pwnagotchi Deep Reinforcement Learning instrumenting bettercap for WiFI pwning.
Documentation=https://pwnagotchi.ai
Wants=network.target
After=bettercap.service
[Service]
Type=simple
PermissionsStartOnly=true
ExecStart=/usr/bin/pwnagotchi-launcher
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target
notify:
- reload systemd services
- name: enable services
systemd:
name: "{{ item }}"

@ -1,14 +1,14 @@
import subprocess
import os
import logging
import time
import re
import pwnagotchi.ui.view as view
import pwnagotchi
version = '1.1.0'
from pwnagotchi._version import __version__
_name = None
config = None
def set_name(new_name):
@ -27,17 +27,17 @@ def set_name(new_name):
if new_name != current:
global _name
logging.info("setting unit hostname '%s' -> '%s'" % (current, new_name))
logging.info("setting unit hostname '%s' -> '%s'", current, new_name)
with open('/etc/hostname', 'wt') as fp:
fp.write(new_name)
with open('/etc/hosts', 'rt') as fp:
prev = fp.read()
logging.debug("old hosts:\n%s\n" % prev)
logging.debug("old hosts:\n%s\n", prev)
with open('/etc/hosts', 'wt') as fp:
patched = prev.replace(current, new_name, -1)
logging.debug("new hosts:\n%s\n" % patched)
logging.debug("new hosts:\n%s\n", patched)
fp.write(patched)
os.system("hostname '%s'" % new_name)
@ -65,8 +65,6 @@ def mem_usage():
kb_mem_total = int(line.split()[1])
if line.startswith("MemFree:"):
kb_mem_free = int(line.split()[1])
if line.startswith("MemAvailable:"):
kb_mem_available = int(line.split()[1])
if line.startswith("Buffers:"):
kb_main_buffers = int(line.split()[1])
if line.startswith("Cached:"):
@ -77,18 +75,27 @@ def mem_usage():
return 0
def cpu_load():
def _cpu_stat():
"""
Returns the splitted first line of the /proc/stat file
"""
with open('/proc/stat', 'rt') as fp:
for line in fp:
line = line.strip()
if line.startswith('cpu '):
parts = list(map(int, line.split()[1:]))
user_n = parts[0]
sys_n = parts[2]
idle_n = parts[3]
tot = user_n + sys_n + idle_n
return (user_n + sys_n) / tot
return 0
return list(map(int,fp.readline().split()[1:]))
def cpu_load():
"""
Returns the current cpuload
"""
parts0 = _cpu_stat()
time.sleep(0.1)
parts1 = _cpu_stat()
parts_diff = [p1 - p0 for (p0, p1) in zip(parts0, parts1)]
user, nice, sys, idle, iowait, irq, softirq, steal, _guest, _guest_nice = parts_diff
idle_sum = idle + iowait
non_idle_sum = user + nice + sys + irq + softirq + steal
total = idle_sum + non_idle_sum
return non_idle_sum / total
def temperature(celsius=True):
@ -100,15 +107,59 @@ def temperature(celsius=True):
def shutdown():
logging.warning("shutting down ...")
from pwnagotchi.ui import view
if view.ROOT:
view.ROOT.on_shutdown()
# give it some time to refresh the ui
time.sleep(5)
time.sleep(10)
logging.warning("syncing...")
from pwnagotchi import fs
for m in fs.mounts:
m.sync()
os.system("sync")
os.system("halt")
def reboot():
def restart(mode):
logging.warning("restarting in %s mode ...", mode)
if mode == 'AUTO':
os.system("touch /root/.pwnagotchi-auto")
else:
os.system("touch /root/.pwnagotchi-manual")
os.system("service bettercap restart")
time.sleep(2)
os.system("service pwnagotchi restart")
def reboot(mode=None):
if mode is not None:
mode = mode.upper()
logging.warning("rebooting in %s mode ...", mode)
else:
logging.warning("rebooting ...")
from pwnagotchi.ui import view
if view.ROOT:
view.ROOT.on_rebooting()
# give it some time to refresh the ui
time.sleep(10)
if mode == 'AUTO':
os.system("touch /root/.pwnagotchi-auto")
elif mode == 'MANU':
os.system("touch /root/.pwnagotchi-manual")
logging.warning("syncing...")
from pwnagotchi import fs
for m in fs.mounts:
m.sync()
os.system("sync")
os.system("shutdown -r now")

1
pwnagotchi/_version.py Normal file

@ -0,0 +1 @@
__version__='1.10.0'

@ -3,11 +3,13 @@ import json
import os
import re
import logging
import asyncio
import _thread
import pwnagotchi
import pwnagotchi.utils as utils
import pwnagotchi.plugins as plugins
from pwnagotchi.ui.web.server import Server
from pwnagotchi.automata import Automata
from pwnagotchi.log import LastSession
from pwnagotchi.bettercap import Client
@ -29,20 +31,29 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer):
AsyncTrainer.__init__(self, config)
self._started_at = time.time()
self._filter = None if config['main']['filter'] is None else re.compile(config['main']['filter'])
self._filter = None if not config['main']['filter'] else re.compile(config['main']['filter'])
self._current_channel = 0
self._tot_aps = 0
self._aps_on_channel = 0
self._supported_channels = utils.iface_channels(config['main']['iface'])
self._view = view
self._view.set_agent(self)
self._web_ui = Server(self, config['ui'])
self._access_points = []
self._last_pwnd = None
self._history = {}
self._handshakes = {}
self.last_session = LastSession(self._config)
self.mode = 'auto'
if not os.path.exists(config['bettercap']['handshakes']):
os.makedirs(config['bettercap']['handshakes'])
logging.info("%s@%s (v%s)", pwnagotchi.name(), self.fingerprint(), pwnagotchi.__version__)
for _, plugin in plugins.loaded.items():
logging.debug("plugin '%s' v%s", plugin.__class__.__name__, plugin.__version__)
def config(self):
return self._config
@ -53,12 +64,12 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer):
return self._supported_channels
def setup_events(self):
logging.info("connecting to %s ..." % self.url)
logging.info("connecting to %s ...", self.url)
for tag in self._config['bettercap']['silence']:
try:
self.run('events.ignore %s' % tag, verbose_errors=False)
except Exception as e:
except Exception:
pass
def _reset_wifi_settings(self):
@ -80,7 +91,7 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer):
s = self.session()
for iface in s['interfaces']:
if iface['name'] == mon_iface:
logging.info("found monitor interface: %s" % iface['name'])
logging.info("found monitor interface: %s", iface['name'])
has_mon = True
break
@ -89,11 +100,11 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer):
logging.info("starting monitor interface ...")
self.run('!%s' % mon_start_cmd)
else:
logging.info("waiting for monitor interface %s ..." % mon_iface)
logging.info("waiting for monitor interface %s ...", mon_iface)
time.sleep(1)
logging.info("supported channels: %s" % self._supported_channels)
logging.info("handshakes will be collected inside %s" % self._config['bettercap']['handshakes'])
logging.info("supported channels: %s", self._supported_channels)
logging.info("handshakes will be collected inside %s", self._config['bettercap']['handshakes'])
self._reset_wifi_settings()
@ -111,9 +122,9 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer):
def _wait_bettercap(self):
while True:
try:
s = self.session()
_s = self.session()
return
except:
except Exception:
logging.info("waiting for bettercap API to be available ...")
time.sleep(1)
@ -124,6 +135,7 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer):
self.set_starting()
self.start_monitor_mode()
self.start_event_polling()
self.start_session_fetcher()
# print initial stats
self.next_epoch()
self.set_ready()
@ -141,14 +153,14 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer):
if not channels:
self._current_channel = 0
logging.debug("RECON %ds" % recon_time)
logging.debug("RECON %ds", recon_time)
self.run('wifi.recon.channel clear')
else:
logging.debug("RECON %ds ON CHANNELS %s" % (recon_time, ','.join(map(str, channels))))
logging.debug("RECON %ds ON CHANNELS %s", recon_time, ','.join(map(str, channels)))
try:
self.run('wifi.recon.channel %s' % ','.join(map(str, channels)))
except Exception as e:
logging.exception("error")
logging.exception("Error while setting wifi.recon.channels (%s)", e)
self.wait_for(recon_time, sleeping=False)
@ -170,15 +182,28 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer):
s = self.session()
plugins.on("unfiltered_ap_list", self, s['wifi']['aps'])
for ap in s['wifi']['aps']:
if ap['hostname'] not in whitelist:
if ap['encryption'] == '' or ap['encryption'] == 'OPEN':
continue
elif ap['hostname'] not in whitelist \
and ap['mac'].lower() not in whitelist \
and ap['mac'][:8].lower() not in whitelist:
if self._filter_included(ap):
aps.append(ap)
except Exception as e:
logging.exception("error")
logging.exception("Error while getting acces points (%s)", e)
aps.sort(key=lambda ap: ap['channel'])
return self.set_access_points(aps)
def get_total_aps(self):
return self._tot_aps
def get_aps_on_channel(self):
return self._aps_on_channel
def get_current_channel(self):
return self._current_channel
def get_access_points_by_channel(self):
aps = self.get_access_points()
channels = self._config['personality']['channels']
@ -189,7 +214,7 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer):
ch = ap['channel']
# if we're sticking to a channel, skip anything
# which is not on that channel
if channels != [] and ch not in channels:
if channels and ch not in channels:
continue
if ch not in grouped:
@ -215,16 +240,16 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer):
# self._view.set('epoch', '%04d' % self._epoch.epoch)
def _update_counters(self):
tot_aps = len(self._access_points)
self._tot_aps = len(self._access_points)
tot_stas = sum(len(ap['clients']) for ap in self._access_points)
if self._current_channel == 0:
self._view.set('aps', '%d' % tot_aps)
self._view.set('aps', '%d' % self._tot_aps)
self._view.set('sta', '%d' % tot_stas)
else:
aps_on_channel = len([ap for ap in self._access_points if ap['channel'] == self._current_channel])
self._aps_on_channel = len([ap for ap in self._access_points if ap['channel'] == self._current_channel])
stas_on_channel = sum(
[len(ap['clients']) for ap in self._access_points if ap['channel'] == self._current_channel])
self._view.set('aps', '%d (%d)' % (aps_on_channel, tot_aps))
self._view.set('aps', '%d (%d)' % (self._aps_on_channel, self._tot_aps))
self._view.set('sta', '%d (%d)' % (stas_on_channel, tot_stas))
def _update_handshakes(self, new_shakes=0):
@ -251,7 +276,7 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer):
pwnagotchi.reboot()
def _save_recovery_data(self):
logging.warning("writing recovery data to %s ..." % RECOVERY_DATA_FILE)
logging.warning("writing recovery data to %s ...", RECOVERY_DATA_FILE)
with open(RECOVERY_DATA_FILE, 'w') as fp:
data = {
'started_at': self._started_at,
@ -266,7 +291,7 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer):
try:
with open(RECOVERY_DATA_FILE, 'rt') as fp:
data = json.load(fp)
logging.info("found recovery data: %s" % data)
logging.info("found recovery data: %s", data)
self._started_at = data['started_at']
self._epoch.epoch = data['epoch']
self._handshakes = data['handshakes']
@ -274,64 +299,80 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer):
self._last_pwnd = data['last_pwnd']
if delete:
logging.info("deleting %s" % RECOVERY_DATA_FILE)
logging.info("deleting %s", RECOVERY_DATA_FILE)
os.unlink(RECOVERY_DATA_FILE)
except:
if not no_exceptions:
raise
def _event_poller(self):
self._load_recovery_data()
self.run('events.clear')
def start_session_fetcher(self):
_thread.start_new_thread(self._fetch_stats, ())
def _fetch_stats(self):
while True:
time.sleep(1)
new_shakes = 0
logging.debug("polling events ...")
try:
s = self.session()
self._update_uptime(s)
self._update_advertisement(s)
self._update_peers()
self._update_counters()
self._update_handshakes(0)
time.sleep(1)
for h in [e for e in self.events() if e['tag'] == 'wifi.client.handshake']:
filename = h['data']['file']
sta_mac = h['data']['station']
ap_mac = h['data']['ap']
async def _on_event(self, msg):
found_handshake = False
jmsg = json.loads(msg)
# give plugins access to all raw bettercap events
try:
plugins.on('bcap_%s' % re.sub(r"[^a-z0-9_]+", "_", jmsg['tag'].lower()), self, jmsg)
except Exception as err:
logging.error("Processing event: %s" % err)
if jmsg['tag'] == 'wifi.client.handshake':
filename = jmsg['data']['file']
sta_mac = jmsg['data']['station']
ap_mac = jmsg['data']['ap']
key = "%s -> %s" % (sta_mac, ap_mac)
if key not in self._handshakes:
self._handshakes[key] = h
new_shakes += 1
self._handshakes[key] = jmsg
s = self.session()
ap_and_station = self._find_ap_sta_in(sta_mac, ap_mac, s)
if ap_and_station is None:
logging.warning("!!! captured new handshake: %s !!!" % key)
logging.warning("!!! captured new handshake: %s !!!", key)
self._last_pwnd = ap_mac
plugins.on('handshake', self, filename, ap_mac, sta_mac)
else:
(ap, sta) = ap_and_station
self._last_pwnd = ap['hostname'] if ap['hostname'] != '' and ap[
'hostname'] != '<hidden>' else ap_mac
logging.warning("!!! captured new handshake on channel %d: %s (%s) -> %s [%s (%s)] !!!" % ( \
logging.warning(
"!!! captured new handshake on channel %d, %d dBm: %s (%s) -> %s [%s (%s)] !!!",
ap['channel'],
ap['rssi'],
sta['mac'], sta['vendor'],
ap['hostname'], ap['mac'], ap['vendor']))
ap['hostname'], ap['mac'], ap['vendor'])
plugins.on('handshake', self, filename, ap, sta)
found_handshake = True
self._update_handshakes(1 if found_handshake else 0)
except Exception as e:
logging.error("error: %s" % e)
def _event_poller(self, loop):
self._load_recovery_data()
self.run('events.clear')
finally:
self._update_handshakes(new_shakes)
while True:
logging.debug("polling events ...")
try:
loop.create_task(self.start_websocket(self._on_event))
loop.run_forever()
except Exception as ex:
logging.debug("Error while polling via websocket (%s)", ex)
def start_event_polling(self):
_thread.start_new_thread(self._event_poller, ())
# start a thread and pass in the mainloop
_thread.start_new_thread(self._event_poller, (asyncio.get_event_loop(),))
def is_module_running(self, module):
s = self.session()
@ -367,15 +408,15 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer):
def associate(self, ap, throttle=0):
if self.is_stale():
logging.debug("recon is stale, skipping assoc(%s)" % ap['mac'])
logging.debug("recon is stale, skipping assoc(%s)", ap['mac'])
return
if self._config['personality']['associate'] and self._should_interact(ap['mac']):
self._view.on_assoc(ap)
try:
logging.info("sending association frame to %s (%s %s) on channel %d [%d clients]..." % ( \
ap['hostname'], ap['mac'], ap['vendor'], ap['channel'], len(ap['clients'])))
logging.info("sending association frame to %s (%s %s) on channel %d [%d clients], %d dBm...",
ap['hostname'], ap['mac'], ap['vendor'], ap['channel'], len(ap['clients']), ap['rssi'])
self.run('wifi.assoc %s' % ap['mac'])
self._epoch.track(assoc=True)
except Exception as e:
@ -388,15 +429,15 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer):
def deauth(self, ap, sta, throttle=0):
if self.is_stale():
logging.debug("recon is stale, skipping deauth(%s)" % sta['mac'])
logging.debug("recon is stale, skipping deauth(%s)", sta['mac'])
return
if self._config['personality']['deauth'] and self._should_interact(sta['mac']):
self._view.on_deauth(sta)
try:
logging.info("deauthing %s (%s) from %s (%s %s) on channel %d ..." % (
sta['mac'], sta['vendor'], ap['hostname'], ap['mac'], ap['vendor'], ap['channel']))
logging.info("deauthing %s (%s) from %s (%s %s) on channel %d, %d dBm ...",
sta['mac'], sta['vendor'], ap['hostname'], ap['mac'], ap['vendor'], ap['channel'], ap['rssi'])
self.run('wifi.deauth %s' % sta['mac'])
self._epoch.track(deauth=True)
except Exception as e:
@ -409,7 +450,7 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer):
def set_channel(self, channel, verbose=True):
if self.is_stale():
logging.debug("recon is stale, skipping set_channel(%d)" % channel)
logging.debug("recon is stale, skipping set_channel(%d)", channel)
return
# if in the previous loop no client stations has been deauthenticated
@ -425,12 +466,12 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer):
if channel != self._current_channel:
if self._current_channel != 0 and wait > 0:
if verbose:
logging.info("waiting for %ds on channel %d ..." % (wait, self._current_channel))
logging.info("waiting for %ds on channel %d ...", wait, self._current_channel)
else:
logging.debug("waiting for %ds on channel %d ..." % (wait, self._current_channel))
logging.debug("waiting for %ds on channel %d ...", wait, self._current_channel)
self.wait_for(wait)
if verbose and self._epoch.any_activity:
logging.info("CHANNEL %d" % channel)
logging.info("CHANNEL %d", channel)
try:
self.run('wifi.recon.channel %d' % channel)
self._current_channel = channel
@ -440,4 +481,4 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer):
plugins.on('channel_hop', self, channel)
except Exception as e:
logging.error("error: %s" % e)
logging.error("Error while setting channel (%s)", e)

@ -1,12 +1,9 @@
import os
import time
import warnings
import logging
# https://stackoverflow.com/questions/40426502/is-there-a-way-to-suppress-the-messages-tensorflow-prints/40426709
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' # or any {'0', '1', '2'}
# https://stackoverflow.com/questions/15777951/how-to-suppress-pandas-future-warning
warnings.simplefilter(action='ignore', category=FutureWarning)
def load(config, agent, epoch, from_disk=True):
@ -48,7 +45,16 @@ def load(config, agent, epoch, from_disk=True):
if from_disk and os.path.exists(config['path']):
logging.info("[ai] loading %s ..." % config['path'])
start = time.time()
try:
a2c.load(config['path'], env)
except AssertionError as as_err:
from fnmatch import fnmatch
# Sometimes the model breaks...
if not fnmatch(str(as_err), '* same * space as the model *'):
raise as_err
else:
logging.warning("[ai] Model could not be loaded. Using new model.")
else:
logging.debug("[ai] A2C loaded in %.2fs" % (time.time() - start))
else:
logging.info("[ai] model created:")
@ -59,7 +65,7 @@ def load(config, agent, epoch, from_disk=True):
return a2c
except Exception as e:
logging.exception("error while starting AI")
logging.exception("error while starting AI (%s)", e)
logging.warning("[ai] AI not loaded!")
return False

@ -19,6 +19,10 @@ class Epoch(object):
self.active_for = 0
# number of epochs with no visible access points
self.blind_for = 0
# number of epochs in sad state
self.sad_for = 0
# number of epochs in bored state
self.bored_for = 0
# did deauth in this epoch in the current channel?
self.did_deauth = False
# number of deauths in this epoch
@ -99,13 +103,13 @@ class Epoch(object):
try:
aps_per_chan[ch_idx] += 1.0
sta_per_chan[ch_idx] += len(ap['clients'])
except IndexError as e:
except IndexError:
logging.error("got data on channel %d, we can store %d channels" % (ap['channel'], wifi.NumChannels))
for peer in peers:
try:
peers_per_chan[peer.last_channel - 1] += 1.0
except IndexError as e:
except IndexError:
logging.error(
"got peer data on channel %d, we can store %d channels" % (peer.last_channel, wifi.NumChannels))
@ -157,6 +161,20 @@ class Epoch(object):
else:
self.active_for += 1
self.inactive_for = 0
self.sad_for = 0
self.bored_for = 0
if self.inactive_for >= self.config['personality']['sad_num_epochs']:
# sad > bored; cant be sad and bored
self.bored_for = 0
self.sad_for += 1
elif self.inactive_for >= self.config['personality']['bored_num_epochs']:
# sad_treshhold > inactive > bored_treshhold; cant be sad and bored
self.sad_for = 0
self.bored_for += 1
else:
self.sad_for = 0
self.bored_for = 0
now = time.time()
cpu = pwnagotchi.cpu_load()
@ -172,6 +190,8 @@ class Epoch(object):
'blind_for_epochs': self.blind_for,
'inactive_for_epochs': self.inactive_for,
'active_for_epochs': self.active_for,
'sad_for_epochs': self.sad_for,
'bored_for_epochs': self.bored_for,
'missed_interactions': self.num_missed,
'num_hops': self.num_hops,
'num_peers': self.num_peers,
@ -188,13 +208,15 @@ class Epoch(object):
self._epoch_data['reward'] = self._reward(self.epoch + 1, self._epoch_data)
self._epoch_data_ready.set()
logging.info("[epoch %d] duration=%s slept_for=%s blind=%d inactive=%d active=%d peers=%d tot_bond=%.2f "
logging.info("[epoch %d] duration=%s slept_for=%s blind=%d sad=%d bored=%d inactive=%d active=%d peers=%d tot_bond=%.2f "
"avg_bond=%.2f hops=%d missed=%d deauths=%d assocs=%d handshakes=%d cpu=%d%% mem=%d%% "
"temperature=%dC reward=%s" % (
self.epoch,
utils.secs_to_hhmmss(self.epoch_duration),
utils.secs_to_hhmmss(self.num_slept),
self.blind_for,
self.sad_for,
self.bored_for,
self.inactive_for,
self.active_for,
self.num_peers,

@ -4,9 +4,15 @@ import pwnagotchi.mesh.wifi as wifi
MAX_EPOCH_DURATION = 1024
histogram_size = wifi.NumChannels
shape = (1,
def describe(extended=False):
if not extended:
histogram_size = wifi.NumChannels
else:
# see https://github.com/evilsocket/pwnagotchi/issues/583
histogram_size = wifi.NumChannelsExt
return histogram_size, (1,
# aps per channel
histogram_size +
# clients per channel

@ -34,10 +34,14 @@ class Environment(gym.Env):
self._epoch_num = 0
self._last_render = None
channels = agent.supported_channels()
# see https://github.com/evilsocket/pwnagotchi/issues/583
self._supported_channels = agent.supported_channels()
self._extended_spectrum = any(ch > 140 for ch in self._supported_channels)
self._histogram_size, self._observation_shape = featurizer.describe(self._extended_spectrum)
Environment.params += [
Parameter('_channel_%d' % ch, min_value=0, max_value=1, meta=ch + 1) for ch in
range(featurizer.histogram_size) if ch + 1 in channels
range(self._histogram_size) if ch + 1 in self._supported_channels
]
self.last = {
@ -50,7 +54,7 @@ class Environment(gym.Env):
}
self.action_space = spaces.MultiDiscrete([p.space_size() for p in Environment.params if p.trainable])
self.observation_space = spaces.Box(low=0, high=1, shape=featurizer.shape, dtype=np.float32)
self.observation_space = spaces.Box(low=0, high=1, shape=self._observation_shape, dtype=np.float32)
self.reward_range = reward.range
@staticmethod
@ -118,7 +122,7 @@ class Environment(gym.Env):
return self.last['state_v']
def _render_histogram(self, hist):
for ch in range(featurizer.histogram_size):
for ch in range(self._histogram_size):
if hist[ch]:
logging.info(" CH %d: %s" % (ch + 1, hist[ch]))

@ -18,4 +18,10 @@ class RewardFunction(object):
m = -.3 * (state['missed_interactions'] / tot_interactions)
i = -.2 * (state['inactive_for_epochs'] / tot_epochs)
return h + a + c + b + i + m
# include emotions if state >= 5 epochs
_sad = state['sad_for_epochs'] if state['sad_for_epochs'] >= 5 else 0
_bored = state['bored_for_epochs'] if state['bored_for_epochs'] >= 5 else 0
s = -.2 * (_sad / tot_epochs)
l = -.1 * (_bored / tot_epochs)
return h + a + c + b + i + m + s + l

@ -176,7 +176,7 @@ class AsyncTrainer(object):
self.set_training(True, epochs_per_episode)
self._model.learn(total_timesteps=epochs_per_episode, callback=self.on_ai_training_step)
except Exception as e:
logging.exception("[ai] error while training")
logging.exception("[ai] error while training (%s)", e)
finally:
self.set_training(False)
obs = self._model.env.reset()

@ -12,19 +12,18 @@ class Automata(object):
self._epoch = Epoch(config)
def _on_miss(self, who):
logging.info("it looks like %s is not in range anymore :/" % who)
logging.info("it looks like %s is not in range anymore :/", who)
self._epoch.track(miss=True)
self._view.on_miss(who)
def _on_error(self, who, e):
error = "%s" % e
# when we're trying to associate or deauth something that is not in range anymore
# (if we are moving), we get the following error from bettercap:
# error 400: 50:c7:bf:2e:d3:37 is an unknown BSSID or it is in the association skip list.
if 'is an unknown BSSID' in error:
if 'is an unknown BSSID' in str(e):
self._on_miss(who)
else:
logging.error("%s" % e)
logging.error(e)
def set_starting(self):
self._view.on_starting()
@ -58,7 +57,7 @@ class Automata(object):
def set_bored(self):
factor = self._epoch.inactive_for / self._config['personality']['bored_num_epochs']
if not self._has_support_network_for(factor):
logging.warning("%d epochs with no activity -> bored" % self._epoch.inactive_for)
logging.warning("%d epochs with no activity -> bored", self._epoch.inactive_for)
self._view.on_bored()
plugins.on('bored', self)
else:
@ -68,15 +67,24 @@ class Automata(object):
def set_sad(self):
factor = self._epoch.inactive_for / self._config['personality']['sad_num_epochs']
if not self._has_support_network_for(factor):
logging.warning("%d epochs with no activity -> sad" % self._epoch.inactive_for)
logging.warning("%d epochs with no activity -> sad", self._epoch.inactive_for)
self._view.on_sad()
plugins.on('sad', self)
else:
logging.info("unit is grateful instead of sad")
self.set_grateful()
def set_angry(self, factor):
if not self._has_support_network_for(factor):
logging.warning("%d epochs with no activity -> angry", self._epoch.inactive_for)
self._view.on_angry()
plugins.on('angry', self)
else:
logging.info("unit is grateful instead of angry")
self.set_grateful()
def set_excited(self):
logging.warning("%d epochs with activity -> excited" % self._epoch.active_for)
logging.warning("%d epochs with activity -> excited", self._epoch.active_for)
self._view.on_excited()
plugins.on('excited', self)
@ -103,15 +111,23 @@ class Automata(object):
self._epoch.next()
# after X misses during an epoch, set the status to lonely
# after X misses during an epoch, set the status to lonely or angry
if was_stale:
logging.warning("agent missed %d interactions -> lonely" % did_miss)
factor = did_miss / self._config['personality']['max_misses_for_recon']
if factor >= 2.0:
self.set_angry(factor)
else:
logging.warning("agent missed %d interactions -> lonely", did_miss)
self.set_lonely()
# after X times being bored, the status is set to sad
elif self._epoch.inactive_for >= self._config['personality']['sad_num_epochs']:
# after X times being bored, the status is set to sad or angry
elif self._epoch.sad_for:
factor = self._epoch.inactive_for / self._config['personality']['sad_num_epochs']
if factor >= 2.0:
self.set_angry(factor)
else:
self.set_sad()
# after X times being inactive, the status is set to bored
elif self._epoch.inactive_for >= self._config['personality']['bored_num_epochs']:
elif self._epoch.bored_for:
self.set_bored()
# after X times being active, the status is set to happy / excited
elif self._epoch.active_for >= self._config['personality']['excited_num_epochs']:
@ -122,6 +138,6 @@ class Automata(object):
plugins.on('epoch', self, self._epoch.epoch - 1, self._epoch.data())
if self._epoch.blind_for >= self._config['main']['mon_max_blind_epochs']:
logging.critical("%d epochs without visible access points -> rebooting ..." % self._epoch.blind_for)
logging.critical("%d epochs without visible access points -> rebooting ...", self._epoch.blind_for)
self._reboot()
self._epoch.blind_for = 0

@ -1,7 +1,21 @@
import json
import logging
import requests
from requests.auth import HTTPBasicAuth
import websockets
import asyncio
import random
from requests.auth import HTTPBasicAuth
from time import sleep
requests.adapters.DEFAULT_RETRIES = 5 # increase retries number
ping_timeout = 180
ping_interval = 15
max_queue = 10000
min_sleep = 0.5
max_sleep = 5.0
def decode(r, verbose_errors=True):
try:
@ -25,16 +39,81 @@ class Client(object):
self.username = username
self.password = password
self.url = "%s://%s:%d/api" % (scheme, hostname, port)
self.websocket = "ws://%s:%s@%s:%d/api" % (username, password, hostname, port)
self.auth = HTTPBasicAuth(username, password)
def session(self):
r = requests.get("%s/session" % self.url, auth=self.auth)
# session takes optional argument to pull a sub-dictionary
# ex.: "session/wifi", "session/ble"
def session(self, sess="session"):
r = requests.get("%s/%s" % (self.url, sess), auth=self.auth)
return decode(r)
def events(self):
r = requests.get("%s/events" % self.url, auth=self.auth)
return decode(r)
async def start_websocket(self, consumer):
s = "%s/events" % self.websocket
# More modern version of the approach below
# logging.info("Creating new websocket...")
# async for ws in websockets.connect(s):
# try:
# async for msg in ws:
# try:
# await consumer(msg)
# except Exception as ex:
# logging.debug("Error while parsing event (%s)", ex)
# except websockets.exceptions.ConnectionClosedError:
# sleep_time = max_sleep*random.random()
# logging.warning('Retrying websocket connection in {} sec'.format(sleep_time))
# await asyncio.sleep(sleep_time)
# continue
# restarted every time the connection fails
while True:
logging.info("creating new websocket...")
try:
async with websockets.connect(s, ping_interval=ping_interval, ping_timeout=ping_timeout, max_queue=max_queue) as ws:
# listener loop
while True:
try:
async for msg in ws:
try:
await consumer(msg)
except Exception as ex:
logging.debug("error while parsing event (%s)", ex)
except websockets.exceptions.ConnectionClosedError:
try:
pong = await ws.ping()
await asyncio.wait_for(pong, timeout=ping_timeout)
logging.warning('ping OK, keeping connection alive...')
continue
except:
sleep_time = min_sleep + max_sleep*random.random()
logging.warning('ping error - retrying connection in {} sec'.format(sleep_time))
await asyncio.sleep(sleep_time)
break
except ConnectionRefusedError:
sleep_time = min_sleep + max_sleep*random.random()
logging.warning('nobody seems to be listening at the bettercap endpoint...')
logging.warning('retrying connection in {} sec'.format(sleep_time))
await asyncio.sleep(sleep_time)
continue
except OSError:
sleep_time = min_sleep + max_sleep*random.random()
logging.warning('connection to the bettercap endpoint failed...')
logging.warning('retrying connection in {} sec'.format(sleep_time))
await asyncio.sleep(sleep_time)
continue
def run(self, command, verbose_errors=True):
while True:
try:
r = requests.post("%s/session" % self.url, auth=self.auth, json={'cmd': command})
except requests.exceptions.ConnectionError as e:
sleep_time = min_sleep + max_sleep*random.random()
logging.warning("can't run my request... connection to the bettercap endpoint failed...")
logging.warning('retrying run in {} sec'.format(sleep_time))
sleep(sleep_time)
else:
break
return decode(r, verbose_errors=verbose_errors)

244
pwnagotchi/defaults.toml Normal file

@ -0,0 +1,244 @@
main.name = ""
main.lang = "en"
main.confd = "/etc/pwnagotchi/conf.d/"
main.custom_plugins = "/usr/local/share/pwnagotchi/custom-plugins"
main.custom_plugin_repos = [
"https://git.chadwaltercummings.me/scifijunkie/pwnagotchi-plugins-contrib.git"
]
main.iface = "mon0"
main.mon_start_cmd = "/usr/bin/monstart"
main.mon_stop_cmd = "/usr/bin/monstop"
main.mon_max_blind_epochs = 50
main.no_restart = false
main.whitelist = [
"EXAMPLE_NETWORK",
"ANOTHER_EXAMPLE_NETWORK",
"fo:od:ba:be:fo:od",
"fo:od:ba"
]
main.filter = ""
main.log.debug = false
main.plugins.grid.enabled = true
main.plugins.grid.report = false
main.plugins.grid.exclude = [
"YourHomeNetworkHere"
]
main.plugins.auto-update.enabled = true
main.plugins.auto-update.install = true
main.plugins.auto-update.interval = 1
main.plugins.net-pos.enabled = false
main.plugins.net-pos.api_key = "test"
main.plugins.gps.enabled = false
main.plugins.gps.speed = 19200
main.plugins.gps.device = "/dev/ttyUSB0" # for GPSD: "localhost:2947"
main.plugins.webgpsmap.enabled = false
main.plugins.onlinehashcrack.enabled = false
main.plugins.onlinehashcrack.email = ""
main.plugins.onlinehashcrack.dashboard = ""
main.plugins.onlinehashcrack.single_files = false
main.plugins.onlinehashcrack.whitelist = []
main.plugins.wpa-sec.enabled = false
main.plugins.wpa-sec.api_key = ""
main.plugins.wpa-sec.api_url = "https://wpa-sec.stanev.org"
main.plugins.wpa-sec.download_results = false
main.plugins.wpa-sec.download_interval = 3600
main.plugins.wpa-sec.whitelist = []
main.plugins.wigle.enabled = false
main.plugins.wigle.api_key = ""
main.plugins.wigle.whitelist = []
main.plugins.wigle.donate = true
main.plugins.bt-tether.enabled = false
main.plugins.bt-tether.devices.android-phone.enabled = false
main.plugins.bt-tether.devices.android-phone.search_order = 1
main.plugins.bt-tether.devices.android-phone.mac = ""
main.plugins.bt-tether.devices.android-phone.ip = "192.168.44.44"
main.plugins.bt-tether.devices.android-phone.netmask = 24
main.plugins.bt-tether.devices.android-phone.interval = 1
main.plugins.bt-tether.devices.android-phone.scantime = 10
main.plugins.bt-tether.devices.android-phone.max_tries = 10
main.plugins.bt-tether.devices.android-phone.share_internet = false
main.plugins.bt-tether.devices.android-phone.priority = 1
main.plugins.bt-tether.devices.ios-phone.enabled = false
main.plugins.bt-tether.devices.ios-phone.search_order = 2
main.plugins.bt-tether.devices.ios-phone.mac = ""
main.plugins.bt-tether.devices.ios-phone.ip = "172.20.10.6"
main.plugins.bt-tether.devices.ios-phone.netmask = 24
main.plugins.bt-tether.devices.ios-phone.interval = 5
main.plugins.bt-tether.devices.ios-phone.scantime = 20
main.plugins.bt-tether.devices.ios-phone.max_tries = 0
main.plugins.bt-tether.devices.ios-phone.share_internet = false
main.plugins.bt-tether.devices.ios-phone.priority = 999
main.plugins.memtemp.enabled = false
main.plugins.memtemp.scale = "celsius"
main.plugins.memtemp.orientation = "horizontal"
main.plugins.paw-gps.enabled = false
main.plugins.paw-gps.ip = "192.168.44.1:8080"
main.plugins.ups_lite.enabled = false
main.plugins.ups_lite.shutdown = 2
main.plugins.gpio_buttons.enabled = false
main.plugins.led.enabled = true
main.plugins.led.led = 0
main.plugins.led.delay = 200
main.plugins.led.patterns.loaded = "oo oo oo oo oo oo oo"
main.plugins.led.patterns.updating = "oo oo oo oo oo oo oo"
main.plugins.led.patterns.unread_inbox = "oo oo oo oo oo oo oo"
main.plugins.led.patterns.ready = "oo oo oo oo oo oo oo"
main.plugins.led.patterns.ai_ready = "oo oo oo oo oo oo oo"
main.plugins.led.patterns.ai_training_start = "oo oo oo oo oo oo oo"
main.plugins.led.patterns.ai_best_reward = "oo oo oo oo oo oo oo"
main.plugins.led.patterns.ai_worst_reward = "oo oo oo oo oo oo oo"
main.plugins.led.patterns.bored = "oo oo oo oo oo oo oo"
main.plugins.led.patterns.sad = "oo oo oo oo oo oo oo"
main.plugins.led.patterns.excited = "oo oo oo oo oo oo oo"
main.plugins.led.patterns.lonely = "oo oo oo oo oo oo oo"
main.plugins.led.patterns.rebooting = "oo oo oo oo oo oo oo"
main.plugins.led.patterns.wait = "oo oo oo oo oo oo oo"
main.plugins.led.patterns.sleep = "oo oo oo oo oo oo oo"
main.plugins.led.patterns.wifi_update = "oo oo oo oo oo oo oo"
main.plugins.led.patterns.association = "oo oo oo oo oo oo oo"
main.plugins.led.patterns.deauthentication = "oo oo oo oo oo oo oo"
main.plugins.led.patterns.handshake = "oo oo oo oo oo oo oo"
main.plugins.led.patterns.epoch = "oo oo oo oo oo oo oo"
main.plugins.led.patterns.peer_detected = "oo oo oo oo oo oo oo"
main.plugins.led.patterns.peer_lost = "oo oo oo oo oo oo oo"
main.plugins.logtail.enabled = false
main.plugins.logtail.max-lines = 10000
main.plugins.session-stats.enabled = true
main.plugins.session-stats.save_directory = "/var/tmp/pwnagotchi/sessions/"
main.log.path = "/var/log/pwnagotchi.log"
main.log.rotation.enabled = true
main.log.rotation.size = "10M"
ai.enabled = true
ai.path = "/root/brain.nn"
ai.laziness = 0.1
ai.epochs_per_episode = 50
ai.params.gamma = 0.99
ai.params.n_steps = 1
ai.params.vf_coef = 0.25
ai.params.ent_coef = 0.01
ai.params.max_grad_norm = 0.5
ai.params.learning_rate = 0.001
ai.params.alpha = 0.99
ai.params.epsilon = 0.00001
ai.params.verbose = 1
ai.params.lr_schedule = "constant"
personality.advertise = true
personality.deauth = true
personality.associate = true
personality.channels = []
personality.min_rssi = -200
personality.ap_ttl = 120
personality.sta_ttl = 300
personality.recon_time = 30
personality.max_inactive_scale = 2
personality.recon_inactive_multiplier = 2
personality.hop_recon_time = 10
personality.min_recon_time = 5
personality.max_interactions = 3
personality.max_misses_for_recon = 5
personality.excited_num_epochs = 10
personality.bored_num_epochs = 15
personality.sad_num_epochs = 25
personality.bond_encounters_factor = 20000
ui.fps = 0.0
ui.font.name = "DejaVuSansMono" # for japanese: fonts-japanese-gothic
ui.font.size_offset = 0 # will be added to the font size
ui.faces.look_r = "( ⚆_⚆)"
ui.faces.look_l = "(☉_☉ )"
ui.faces.look_r_happy = "( ◕‿◕)"
ui.faces.look_l_happy = "(◕‿◕ )"
ui.faces.sleep = "(⇀‿‿↼)"
ui.faces.sleep2 = "(≖‿‿≖)"
ui.faces.awake = "(◕‿‿◕)"
ui.faces.bored = "(-__-)"
ui.faces.intense = "(°▃▃°)"
ui.faces.cool = "(⌐■_■)"
ui.faces.happy = "(•‿‿•)"
ui.faces.excited = "(ᵔ◡◡ᵔ)"
ui.faces.grateful = "(^‿‿^)"
ui.faces.motivated = "(☼‿‿☼)"
ui.faces.demotivated = "(≖__≖)"
ui.faces.smart = "(✜‿‿✜)"
ui.faces.lonely = "(ب__ب)"
ui.faces.sad = "(╥☁╥ )"
ui.faces.angry = "(-_-')"
ui.faces.friend = "(♥‿‿♥)"
ui.faces.broken = "(☓‿‿☓)"
ui.faces.debug = "(#__#)"
ui.faces.upload = "(1__0)"
ui.faces.upload1 = "(1__1)"
ui.faces.upload2 = "(0__1)"
ui.web.enabled = true
ui.web.address = "0.0.0.0"
ui.web.username = "changeme"
ui.web.password = "changeme"
ui.web.origin = ""
ui.web.port = 8080
ui.web.on_frame = ""
ui.display.enabled = true
ui.display.rotation = 180
ui.display.type = "waveshare_2"
ui.display.color = "black"
bettercap.scheme = "http"
bettercap.hostname = "localhost"
bettercap.port = 8081
bettercap.username = "pwnagotchi"
bettercap.password = "pwnagotchi"
bettercap.handshakes = "/root/handshakes"
bettercap.silence = [
"ble.device.new",
"ble.device.lost",
"ble.device.disconnected",
"ble.device.connected",
"ble.device.service.discovered",
"ble.device.characteristic.discovered",
"wifi.client.new",
"wifi.client.lost",
"wifi.client.probe",
"wifi.ap.new",
"wifi.ap.lost",
"mod.started"
]
fs.memory.enabled = false
fs.memory.mounts.log.enabled = false
fs.memory.mounts.log.mount = "/var/log"
fs.memory.mounts.log.size = "50M"
fs.memory.mounts.log.sync = 60
fs.memory.mounts.log.zram = true
fs.memory.mounts.log.rsync = true
fs.memory.mounts.data.enabled = false
fs.memory.mounts.data.mount = "/var/tmp/pwnagotchi"
fs.memory.mounts.data.size = "10M"
fs.memory.mounts.data.sync = 3600
fs.memory.mounts.data.zram = false
fs.memory.mounts.data.rsync = true

@ -1,256 +0,0 @@
# WARNING WARNING WARNING WARNING
#
# This file is recreated with default settings on every pwnagotchi restart,
# use /etc/pwnagotchi/config.yml to configure this unit.
#
#
# main algorithm configuration
main:
# if set this will set the hostname of the unit. min length is 2, max length 25, only a-zA-Z0-9- allowed
name: ''
# currently implemented: en (default), de, el, fr, it, mk, nl, ru, se, pt-BR, es, pt
lang: en
# custom plugins path, if null only default plugins with be loaded
custom_plugins:
# which plugins to load and enable
plugins:
grid:
enabled: true
report: false # don't report pwned networks by default!
exclude: # do not report the following networks (accepts both ESSIDs and BSSIDs)
- YourHomeNetworkHere
auto-update:
enabled: false
interval: 12 # every 12 hours
install: true # if false, it will only warn that updates are available, if true it will install them
auto-backup:
enabled: false
interval: 1 # every day
files:
- /root/brain.nn
- /root/brain.json
- /root/.api-report.json
- /root/handshakes/
- /root/peers/
- /etc/pwnagotchi/
- /var/log/pwnagotchi.log
commands:
- 'tar czf /root/pwnagotchi-backup.tar.gz {files}'
net-pos:
enabled: false
api_key: 'test'
gps:
enabled: false
speed: 19200
device: /dev/ttyUSB0
twitter:
enabled: false
consumer_key: aaa
consumer_secret: aaa
access_token_key: aaa
access_token_secret: aaa
onlinehashcrack:
enabled: false
email: ~
wpa-sec:
enabled: false
api_key: ~
api_url: "https://wpa-sec.stanev.org"
wigle:
enabled: false
api_key: ~
screen_refresh:
enabled: false
refresh_interval: 50
quickdic:
enabled: false
wordlist_folder: /opt/wordlists/
AircrackOnly:
enabled: false
bt-tether:
enabled: false # if you want to use this, set ui.display.video.address to 0.0.0.0
mac: ~ # mac of your bluetooth device
ip: '192.168.44.44' # ip from which your pwnagotchi should be reachable
netmask: 24
interval: 1 # check every x minutes for device
share_internet: false
memtemp: # Display memory usage, cpu load and cpu temperature on screen
enabled: false
orientation: horizontal # horizontal/vertical
pawgps:
enabled: false
#The IP Address of your phone with Paw Server running, default (option is empty) is 192.168.44.1
ip: ''
gpio_buttons:
enabled: false
#The following is a list of the GPIO number for your button, and the command you want to run when it is pressed
gpios:
- 20: 'sudo touch /root/.pwnagotchi-auto && sudo systemctl restart pwnagotchi'
- 21: 'shutdown -h now'
# monitor interface to use
iface: mon0
# command to run to bring the mon interface up in case it's not up already
mon_start_cmd: /usr/bin/monstart
mon_stop_cmd: /usr/bin/monstop
mon_max_blind_epochs: 50
# log file
log: /var/log/pwnagotchi.log
# if true, will not restart the wifi module
no_restart: false
# access points to ignore
whitelist:
- EXAMPLE_NETWORK
- ANOTHER_EXAMPLE_NETWORK
# if not null, filter access points by this regular expression
filter: null
ai:
# if false, only the default 'personality' will be used
enabled: true
path: /root/brain.nn
# 1.0 - laziness = probability of start training
laziness: 0.1
# how many epochs to train on
epochs_per_episode: 50
params:
# discount factor
gamma: 0.99
# the number of steps to run for each environment per update
n_steps: 1
# value function coefficient for the loss calculation
vf_coef: 0.25
# entropy coefficient for the loss calculation
ent_coef: 0.01
# maximum value for the gradient clipping
max_grad_norm: 0.5
# the learning rate
learning_rate: 0.0010
# rmsprop decay parameter
alpha: 0.99
# rmsprop epsilon
epsilon: 0.00001
# the verbosity level: 0 none, 1 training information, 2 tensorflow debug
verbose: 1
# type of scheduler for the learning rate update ('linear', 'constant', 'double_linear_con', 'middle_drop' or 'double_middle_drop')
lr_schedule: 'constant'
# the log location for tensorboard (if None, no logging)
tensorboard_log: null
personality:
# advertise our presence
advertise: true
# perform a deauthentication attack to client stations in order to get full or half handshakes
deauth: true
# send association frames to APs in order to get the PMKID
associate: true
# list of channels to recon on, or empty for all channels
channels: []
# minimum WiFi signal strength in dBm
min_rssi: -200
# number of seconds for wifi.ap.ttl
ap_ttl: 120
# number of seconds for wifi.sta.ttl
sta_ttl: 300
# time in seconds to wait during channel recon
recon_time: 30
# number of inactive epochs after which recon_time gets multiplied by recon_inactive_multiplier
max_inactive_scale: 2
# if more than max_inactive_scale epochs are inactive, recon_time *= recon_inactive_multiplier
recon_inactive_multiplier: 2
# time in seconds to wait during channel hopping if activity has been performed
hop_recon_time: 10
# time in seconds to wait during channel hopping if no activity has been performed
min_recon_time: 5
# maximum amount of deauths/associations per BSSID per session
max_interactions: 3
# maximum amount of misses before considering the data stale and triggering a new recon
max_misses_for_recon: 5
# number of active epochs that triggers the excited state
excited_num_epochs: 10
# number of inactive epochs that triggers the bored state
bored_num_epochs: 15
# number of inactive epochs that triggers the sad state
sad_num_epochs: 25
# number of encounters (times met on a channel) with another unit before considering it a friend and bond
# also used for cumulative bonding score of nearby units
bond_encounters_factor: 20000
# ui configuration
ui:
# here you can customize the faces
faces:
look_r: '( ⚆_⚆)'
look_l: '(☉_☉ )'
look_r_happy: '( ◕‿◕)'
look_l_happy: '(◕‿◕ )'
sleep: '(⇀‿‿↼)'
sleep2: '(≖‿‿≖)'
awake: '(◕‿‿◕)'
bored: '(-__-)'
intense: '(°▃▃°)'
cool: '(⌐■_■)'
happy: '(•‿‿•)'
excited: '(ᵔ◡◡ᵔ)'
grateful: '(^‿‿^)'
motivated: '(☼‿‿☼)'
demotivated: '(≖__≖)'
smart: '(✜‿‿✜)'
lonely: '(ب__ب)'
sad: '(╥☁╥ )'
friend: '(♥‿‿♥)'
broken: '(☓‿‿☓)'
debug: '(#__#)'
# ePaper display can update every 3 secs anyway, set to 0 to only refresh for major data changes
# IMPORTANT: The lifespan of an eINK display depends on the cumulative amount of refreshes. If you want to
# preserve your display over time, you should set this value to 0.0 so that the display will be refreshed only
# if any of the important data fields changed (the uptime and blinking cursor won't trigger a refresh).
fps: 0.0
display:
enabled: true
rotation: 180
# Possible options inkyphat/inky, papirus/papi, waveshare_1/ws_1 or waveshare_2/ws_2, oledhat, lcdhat, waveshare154inch, waveshare27inch, dfrobot/df
type: 'waveshare_2'
# Possible options red/yellow/black (black used for monocromatic displays)
# Waveshare tri-color 2.13in display can be over-driven with color set as 'fastAndFurious'
# THIS IS POTENTIALLY DANGEROUS. DO NOT USE UNLESS YOU UNDERSTAND THAT IT COULD KILL YOUR DISPLAY
color: 'black'
video:
enabled: true
address: '0.0.0.0'
origin: null
port: 8080
# command to be executed when a new png frame is available
# for instance, to use with framebuffer based displays:
# on_frame: 'fbi --noverbose -a -d /dev/fb1 -T 1 /root/pwnagotchi.png > /dev/null 2>&1'
on_frame: ''
# bettercap rest api configuration
bettercap:
# api scheme://hostname:port username and password
scheme: http
hostname: localhost
port: 8081
username: pwnagotchi
password: pwnagotchi
# folder where bettercap stores the WPA handshakes, given that
# wifi.handshakes.aggregate will be set to false and individual
# pcap files will be created in order to minimize the chances
# of a single pcap file to get corrupted
handshakes: /root/handshakes
# events to mute in bettercap's events stream
silence:
- ble.device.new
- ble.device.lost
- ble.device.disconnected
- ble.device.connected
- ble.device.service.discovered
- ble.device.characteristic.discovered
- wifi.client.new
- wifi.client.lost
- wifi.client.probe
- wifi.ap.new
- wifi.ap.lost
- mod.started

190
pwnagotchi/fs/__init__.py Normal file

@ -0,0 +1,190 @@
import os
import re
import tempfile
import contextlib
import shutil
import _thread
import logging
from time import sleep
from distutils.dir_util import copy_tree
mounts = list()
@contextlib.contextmanager
def ensure_write(filename, mode='w'):
path = os.path.dirname(filename)
fd, tmp = tempfile.mkstemp(dir=path)
with os.fdopen(fd, mode) as f:
yield f
f.flush()
os.fsync(f.fileno())
os.replace(tmp, filename)
def size_of(path):
"""
Calculate the sum of all the files in path
"""
total = 0
for root, _, files in os.walk(path):
for f in files:
total += os.path.getsize(os.path.join(root, f))
return total
def is_mountpoint(path):
"""
Checks if path is mountpoint
"""
return os.system(f"mountpoint -q {path}") == 0
def setup_mounts(config):
"""
Sets up all the configured mountpoints
"""
global mounts
fs_cfg = config['fs']['memory']
if not fs_cfg['enabled']:
return
for name, options in fs_cfg['mounts'].items():
if not options['enabled']:
continue
logging.debug("[FS] Trying to setup mount %s (%s)", name, options['mount'])
size,unit = re.match(r"(\d+)([a-zA-Z]+)", options['size']).groups()
target = os.path.join('/run/pwnagotchi/disk/', os.path.basename(options['mount']))
is_mounted = is_mountpoint(target)
logging.debug("[FS] %s is %s mounted", options['mount'],
"already" if is_mounted else "not yet")
m = MemoryFS(
options['mount'],
target,
size=options['size'],
zram=options['zram'],
zram_disk_size=f"{int(size)*2}{unit}",
rsync=options['rsync'])
if not is_mounted:
if not m.mount():
logging.debug(f"Error while mounting {m.mountpoint}")
continue
if not m.sync(to_ram=True):
logging.debug(f"Error while syncing to {m.mountpoint}")
m.umount()
continue
interval = int(options['sync'])
if interval:
logging.debug("[FS] Starting thread to sync %s (interval: %d)",
options['mount'], interval)
_thread.start_new_thread(m.daemonize, (interval,))
else:
logging.debug("[FS] Not syncing %s, because interval is 0",
options['mount'])
mounts.append(m)
class MemoryFS:
@staticmethod
def zram_install():
if not os.path.exists("/sys/class/zram-control"):
logging.debug("[FS] Installing zram")
return os.system("modprobe zram") == 0
return True
@staticmethod
def zram_dev():
logging.debug("[FS] Adding zram device")
return open("/sys/class/zram-control/hot_add", "rt").read().strip("\n")
def __init__(self, mount, disk, size="40M",
zram=True, zram_alg="lz4", zram_disk_size="100M",
zram_fs_type="ext4", rsync=True):
self.mountpoint = mount
self.disk = disk
self.size = size
self.zram = zram
self.zram_alg = zram_alg
self.zram_disk_size = zram_disk_size
self.zram_fs_type = zram_fs_type
self.zdev = None
self.rsync = True
self._setup()
def _setup(self):
if self.zram and MemoryFS.zram_install():
# setup zram
self.zdev = MemoryFS.zram_dev()
open(f"/sys/block/zram{self.zdev}/comp_algorithm", "wt").write(self.zram_alg)
open(f"/sys/block/zram{self.zdev}/disksize", "wt").write(self.zram_disk_size)
open(f"/sys/block/zram{self.zdev}/mem_limit", "wt").write(self.size)
logging.debug("[FS] Creating fs (type: %s)", self.zram_fs_type)
os.system(f"mke2fs -t {self.zram_fs_type} /dev/zram{self.zdev} >/dev/null 2>&1")
# ensure mountpoints exist
if not os.path.exists(self.disk):
logging.debug("[FS] Creating %s", self.disk)
os.makedirs(self.disk)
if not os.path.exists(self.mountpoint):
logging.debug("[FS] Creating %s", self.mountpoint)
os.makedirs(self.mountpoint)
def daemonize(self, interval=60):
logging.debug("[FS] Daemonized...")
while True:
self.sync()
sleep(interval)
def sync(self, to_ram=False):
source, dest = (self.disk, self.mountpoint) if to_ram else (self.mountpoint, self.disk)
needed, actually_free = size_of(source), shutil.disk_usage(dest)[2]
if actually_free >= needed:
logging.debug("[FS] Syncing %s -> %s", source,dest)
if self.rsync:
os.system(f"rsync -aXv --inplace --no-whole-file --delete-after {source}/ {dest}/ >/dev/null 2>&1")
else:
copy_tree(source, dest, preserve_symlinks=True)
os.system("sync")
return True
return False
def mount(self):
if os.system(f"mount --bind {self.mountpoint} {self.disk}"):
return False
if os.system(f"mount --make-private {self.disk}"):
return False
if self.zram and self.zdev is not None:
if os.system(f"mount -t {self.zram_fs_type} -o nosuid,noexec,nodev,user=pwnagotchi /dev/zram{self.zdev} {self.mountpoint}/"):
return False
else:
if os.system(f"mount -t tmpfs -o nosuid,noexec,nodev,mode=0755,size={self.size} pwnagotchi {self.mountpoint}/"):
return False
return True
def umount(self):
if os.system(f"umount -l {self.mountpoint}"):
return False
if os.system(f"umount -l {self.disk}"):
return False
return True

@ -12,9 +12,13 @@ API_ADDRESS = "http://127.0.0.1:8666/api/v1"
def is_connected():
try:
socket.create_connection(("www.google.com", 80))
# check DNS
host = socket.gethostbyname('api.pwnagotchi.ai')
if host:
# check connectivity itself
socket.create_connection((host, 443), timeout=30)
return True
except OSError:
except:
pass
return False
@ -22,9 +26,11 @@ def is_connected():
def call(path, obj=None):
url = '%s%s' % (API_ADDRESS, path)
if obj is None:
r = requests.get(url, headers=None)
r = requests.get(url, headers=None, timeout=(30.0, 60.0))
elif isinstance(obj, dict):
r = requests.post(url, headers=None, json=obj, timeout=(30.0, 60.0))
else:
r = requests.post(url, headers=None, json=obj)
r = requests.post(url, headers=None, data=obj, timeout=(30.0, 60.0))
if r.status_code != 200:
raise Exception("(status %d) %s" % (r.status_code, r.text))
@ -39,6 +45,14 @@ def set_advertisement_data(data):
return call("/mesh/data", obj=data)
def get_advertisement_data():
return call("/mesh/data")
def memory():
return call("/mesh/memory")
def peers():
return call("/mesh/peers")
@ -71,7 +85,7 @@ def update_data(last_session):
},
'uname': subprocess.getoutput("uname -a"),
'brain': brain,
'version': pwnagotchi.version
'version': pwnagotchi.__version__
}
logging.debug("updating grid data: %s" % data)
@ -95,3 +109,15 @@ def report_ap(essid, bssid):
def inbox(page=1, with_pager=False):
obj = call("/inbox?p=%d" % page)
return obj["messages"] if not with_pager else obj
def inbox_message(id):
return call("/inbox/%d" % int(id))
def mark_message(id, mark):
return call("/inbox/%d/%s" % (int(id), str(mark)))
def send_message(to, message):
return call("/unit/%s/inbox" % to, message.encode('utf-8'))

Binary file not shown.

@ -0,0 +1,248 @@
# Afrikaans translation of pwnagotchi.
# Copyright (C) 2020.
# This file is distributed under the same license as the pwnagotchi package.
# FIRST AUTHOR MatthewNunu https://github.com/MatthewNunu, 2020.
#
msgid ""
msgstr ""
"Project-Id-Version: 1.5.3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-11-29 21:50+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: MatthewNunu https://github.com/MatthewNunu\n"
"Language-Team: \n"
"Language: Afrikaans\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "ZzzzZZzzzzZzzz"
msgstr "ZzzzZZzzzzZzzz"
msgid "Hi, I'm Pwnagotchi! Starting ..."
msgstr "Hi, ek is Pwnagotchi! Aanvang ..."
msgid "New day, new hunt, new pwns!"
msgstr "Nuwe dag, nuwe jag, nuwe pwns!"
msgid "Hack the Planet!"
msgstr "Hack die wêreld!"
msgid "AI ready."
msgstr "AI gereed."
msgid "The neural network is ready."
msgstr "Die neurale netwerk is gereed."
msgid "Generating keys, do not turn off ..."
msgstr "Genereer wagwoord, moenie afskakel nie ..."
#, python-brace-format
msgid "Hey, channel {channel} is free! Your AP will say thanks."
msgstr "Haai, kanaal {channel} is gratis! Jou AP sal dankie sê."
msgid "Reading last session logs ..."
msgstr "Lees laaste sessie logs ..."
#, python-brace-format
msgid "Read {lines_so_far} log lines so far ..."
msgstr "Ek het {lines_so_far} tot dusver gelees ..."
msgid "I'm bored ..."
msgstr "Ek's verveeld ..."
msgid "Let's go for a walk!"
msgstr "Kom ons gaan vir 'n loopie!"
msgid "This is the best day of my life!"
msgstr "Dit is die beste dag van my lewe!"
msgid "Shitty day :/"
msgstr "Poes kak dag :/"
msgid "I'm extremely bored ..."
msgstr "Ek's baie verveeld ..."
msgid "I'm very sad ..."
msgstr "Ek's baie hartseer ..."
msgid "I'm sad"
msgstr "Ek's hartseer ..."
msgid "Leave me alone ..."
msgstr "Los my uit ..."
msgid "I'm mad at you!"
msgstr "Ek is kwaad vir jou!"
msgid "I'm living the life!"
msgstr "Ek leef die lewe!"
msgid "I pwn therefore I am."
msgstr "Ek pwn daarom is ek."
msgid "So many networks!!!"
msgstr "Soveel netwerke!!!"
msgid "I'm having so much fun!"
msgstr "Ek het soveel pret!"
msgid "My crime is that of curiosity ..."
msgstr "My misdaad is dié van nuuskierigheid ..."
#, python-brace-format
msgid "Hello {name}! Nice to meet you."
msgstr "Hallo {name}! Lekker om jou te ontmoet."
#, python-brace-format
msgid "Yo {name}! Sup?"
msgstr "Yo {name}! Sup?"
#, python-brace-format
msgid "Hey {name} how are you doing?"
msgstr "Haai {name} hoe doen jy?"
#, python-brace-format
msgid "Unit {name} is nearby!"
msgstr "Eenheid {name}} is naby!"
#, python-brace-format
msgid "Uhm ... goodbye {name}"
msgstr "Uhm ... totsiens {name}"
#, python-brace-format
msgid "{name} is gone ..."
msgstr "{name} is weg ..."
#, python-brace-format
msgid "Whoops ... {name} is gone."
msgstr "Whoops ... {name} is weg."
#, python-brace-format
msgid "{name} missed!"
msgstr "{name} gemis!"
msgid "Missed!"
msgstr "Gemis!"
msgid "Good friends are a blessing!"
msgstr "Goeie vriende is 'n seën!"
msgid "I love my friends!"
msgstr "Ek is lief vir my vriende!"
msgid "Nobody wants to play with me ..."
msgstr "Niemand wil met my speel nie ..."
msgid "I feel so alone ..."
msgstr "Ek voel so alleen ..."
msgid "Where's everybody?!"
msgstr "Waar is almal?!"
#, python-brace-format
msgid "Napping for {secs}s ..."
msgstr "Slaap vir {secs}s ..."
msgid "Zzzzz"
msgstr "Zzzzz"
#, python-brace-format
msgid "ZzzZzzz ({secs}s)"
msgstr "ZzzZzzz ({secs}s)"
msgid "Good night."
msgstr "Goeie nag."
msgid "Zzz"
msgstr "Zzz"
#, python-brace-format
msgid "Waiting for {secs}s ..."
msgstr "Wag tans vir {secs}s ..."
#, python-brace-format
msgid "Looking around ({secs}s)"
msgstr "Rondkyk ({secs}s)"
#, python-brace-format
msgid "Hey {what} let's be friends!"
msgstr "Haai {what} kom ons wees vriende!"
#, python-brace-format
msgid "Associating to {what}"
msgstr "Assosieer na {what}"
#, python-brace-format
msgid "Yo {what}!"
msgstr "Yo {what}!"
#, python-brace-format
msgid "Just decided that {mac} needs no WiFi!"
msgstr "Net besluit dat {mac} geen WiFi nodig het nie!"
#, python-brace-format
msgid "Deauthenticating {mac}"
msgstr "Deauthenticating {mac}"
#, python-brace-format
msgid "Kickbanning {mac}!"
msgstr "Kickbanning {mac}!"
#, python-brace-format
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "Koel, ons het {num} nuwe handdruk gekry!"
#, python-brace-format
msgid "You have {count} new message{plural}!"
msgstr "Jy het {count} nuwe boodskap!"
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "Oops, iets het verkeerd gegaan ... Herlaai ..."
#, python-brace-format
msgid "Kicked {num} stations\n"
msgstr "Geskop {num} stasies\n"
#, python-brace-format
msgid "Made {num} new friends\n"
msgstr "Gemaak {num} nuwe vriende\n"
#, python-brace-format
msgid "Got {num} handshakes\n"
msgstr "Het {num} handdrukke\n"
msgid "Met 1 peer"
msgstr "Ontmoet 1 eweknie"
#, python-brace-format
msgid "Met {num} peers"
msgstr "Ontmoet {num} eweknie"
#, python-brace-format
msgid ""
"I've been pwning for {duration} and kicked {deauthed} clients! I've also met "
"{associated} new friends and ate {handshakes} handshakes! #pwnagotchi "
"#pwnlog #pwnlife #hacktheplanet #skynet"
msgstr ""
"Ek was pwning vir {duration} en het {deauthed} kliënte geskop! Ek het ook ontmoet "
"{associated} nuwe vriende en het {handshakes} handdrukke geëet! #pwnagotchi "
"#pwnlog #pwnlife #hacktheplanet #skynet"
msgid "hours"
msgstr "uur"
msgid "minutes"
msgstr "minute"
msgid "seconds"
msgstr "sekondes"
msgid "hour"
msgstr "uur"
msgid "minute"
msgstr "minuut"
msgid "second"
msgstr "tweede"

Binary file not shown.

@ -177,7 +177,7 @@ msgstr "Супер, имаме {num} нови handshake{plural}!"
msgid "You have {count} new message{plural}!"
msgstr "Имате {count} нови съобщения!"
msgid "Ops, something went wrong ... Rebooting ..."
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "Упс, нещо се обърка ... Рестартиране ..."
#, python-brace-format

Binary file not shown.

@ -0,0 +1,225 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <511225068@qq.com>, 2019.
# 还有很多未翻译和翻译不准确,后期希望大家加入进来一起翻译!
# 翻译可以联系QQ群959559103 找 名字叫 初九 的 管理员
msgid ""
msgstr ""
"Project-Id-Version: 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-23 20:56+0200\n"
"PO-Revision-Date: 2019-11-02 10:00+0008\n"
"Last-Translator: 极客之眼-初九 <511225068@qq.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: chinese\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "ZzzzZZzzzzZzzz"
msgstr ""
msgid "Hi, I'm Pwnagotchi! Starting ..."
msgstr "主人,你好.我是WiFi狩猎兽..."
msgid "New day, new hunt, new pwns!"
msgstr "美好的一天,狩猎开始!"
msgid "Hack the Planet!"
msgstr "我要入侵整个地球!"
msgid "AI ready."
msgstr "人工智能已启动."
msgid "The neural network is ready."
msgstr "神经元网络已启动."
msgid "Generating keys, do not turn off ..."
msgstr "创建密钥中, 请勿断电..."
#, python-brace-format
msgid "Hey, channel {channel} is free! Your AP will say thanks."
msgstr "嘿,频道{channel}是免费的你的AP会说谢谢。"
msgid "I'm bored ..."
msgstr "我无聊了..."
msgid "Let's go for a walk!"
msgstr "主人带我出门走走吧!"
msgid "This is the best day of my life!"
msgstr "这是我生命中最美好的一天!"
msgid "Shitty day :/"
msgstr "今天不开心 :/"
msgid "I'm extremely bored ..."
msgstr "主人,找点事做吧 ..."
msgid "I'm very sad ..."
msgstr "我很伤心..."
msgid "I'm sad"
msgstr "我伤心了"
msgid "I'm living the life!"
msgstr ""
msgid "I pwn therefore I am."
msgstr ""
msgid "So many networks!!!"
msgstr "哇,好多猎物!!!"
msgid "I'm having so much fun!"
msgstr "我玩的好开心!"
msgid "My crime is that of curiosity ..."
msgstr "我最大的缺点就是好奇..."
#, python-brace-format
msgid "Hello {name}! Nice to meet you."
msgstr "你好{name}!很高兴认识你."
#, python-brace-format
msgid "Unit {name} is nearby!"
msgstr "小队{name}就在附近!"
#, python-brace-format
msgid "Uhm ... goodbye {name}"
msgstr "额 ... 再见{name}"
#, python-brace-format
msgid "{name} is gone ..."
msgstr "{name} 它走了 ..."
#, python-brace-format
msgid "Whoops ... {name} is gone."
msgstr "哎呀... {name} 离开了."
#, python-brace-format
msgid "{name} missed!"
msgstr "刚刚错过了{name}!"
msgid "Missed!"
msgstr "刚刚错过了一个对的它"
msgid "Good friends are a blessing!"
msgstr "有个好朋友就是福气"
msgid "I love my friends!"
msgstr "我爱我的朋友!"
msgid "Nobody wants to play with me ..."
msgstr "没有人愿意和我玩耍..."
msgid "I feel so alone ..."
msgstr "我可能是天煞孤星..."
msgid "Where's everybody?!"
msgstr "朋友们都去哪里了?!"
#, python-brace-format
msgid "Napping for {secs}s ..."
msgstr "小憩{secs}s ..."
msgid "Zzzzz"
msgstr ""
#, python-brace-format
msgid "ZzzZzzz ({secs}s)"
msgstr ""
msgid "Good night."
msgstr "晚安宝贝."
msgid "Zzz"
msgstr ""
#, python-brace-format
msgid "Waiting for {secs}s ..."
msgstr "等待{secs}s ..."
#, python-brace-format
msgid "Looking around ({secs}s)"
msgstr "追踪四周猎物({secs}s)"
#, python-brace-format
msgid "Hey {what} let's be friends!"
msgstr "嗨{what}我们做朋友吧!"
#, python-brace-format
msgid "Associating to {what}"
msgstr "正在连接到{what}"
#, python-brace-format
msgid "Yo {what}!"
msgstr "追踪到你了{what}!"
#, python-brace-format
msgid "Just decided that {mac} needs no WiFi!"
msgstr "猎物{mac}不需要联网,我们给它断开!"
#, python-brace-format
msgid "Deauthenticating {mac}"
msgstr "开始攻击猎物{mac}"
#, python-brace-format
msgid "Kickbanning {mac}!"
msgstr "已捕获{mac}!"
#, python-brace-format
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "太酷了, 我们抓到了{num}新的猎物{plural}!"
#, python-brace-format
msgid "You have {count} new message{plural}!"
msgstr "主人,有{count}新消息{plural}!"
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "行动,额等等有点小问题... 重启ing ..."
#, python-brace-format
msgid "Kicked {num} stations\n"
msgstr "限制了{num}个猎物\n"
#, python-brace-format
msgid "Made {num} new friends\n"
msgstr "交了{num}新朋友\n"
#, python-brace-format
msgid "Got {num} handshakes\n"
msgstr "捕获了{num}握手包\n"
msgid "Met 1 peer"
msgstr "有{num}同龄人"
#, python-brace-format
msgid "Met {num} peers"
msgstr ""
#, python-brace-format
msgid ""
"I've been pwning for {duration} and kicked {deauthed} clients! I've also met "
"{associated} new friends and ate {handshakes} handshakes! #pwnagotchi "
"#pwnlog #pwnlife #hacktheplanet #skynet"
msgstr ""
msgid "hours"
msgstr "时"
msgid "minutes"
msgstr "分"
msgid "seconds"
msgstr "秒"
msgid "hour"
msgstr "时"
msgid "minute"
msgstr "分"
msgid "second"
msgstr "秒"

Binary file not shown.

@ -0,0 +1,249 @@
# pwnigotchi voice data
# Copyright (C) 2020
# This file is distributed under the same license as the pwnagotchi package.
# FIRST AUTHOR czechball@users.noreply.github.com, 2020.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-14 06:15+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Czechball <czechball@users.noreply.github.com>\n"
"Language-Team: pwnagotchi <33197631+dadav@users.noreply.github.com>\n"
"Language: cs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "ZzzzZZzzzzZzzz"
msgstr "ZzzzZZzzzzZzzz"
msgid "Hi, I'm Pwnagotchi! Starting ..."
msgstr "Ahoj, já jsem Pwnagotchi! Startuju ..."
msgid "New day, new hunt, new pwns!"
msgstr "Nový den, nový lov, nové úlovky!"
msgid "Hack the Planet!"
msgstr "Hackni celou planetu!"
msgid "AI ready."
msgstr "AI připraveno."
msgid "The neural network is ready."
msgstr "Neuronová síť je připravena."
msgid "Generating keys, do not turn off ..."
msgstr "Generování klíčů, nevypínej mě..."
#, python-brace-format
msgid "Hey, channel {channel} is free! Your AP will say thanks."
msgstr "Hej, kanál {channel} je volný! Tvůj AP ti poděkuje."
msgid "Reading last session logs ..."
msgstr "Čtení posledních zpráv z logu ..."
#, python-brace-format
msgid "Read {lines_so_far} log lines so far ..."
msgstr "Zatím přečteno {lines_so_far} řádků logu ..."
msgid "I'm bored ..."
msgstr "Nudím se ..."
msgid "Let's go for a walk!"
msgstr "Pojďme se projít!"
msgid "This is the best day of my life!"
msgstr "Tohle je nejlepší den mého života!"
msgid "Shitty day :/"
msgstr "Na hovno den :/"
msgid "I'm extremely bored ..."
msgstr "Strašně se nudím ..."
msgid "I'm very sad ..."
msgstr "Jsem dost smutný ..."
msgid "I'm sad"
msgstr "Jsem smutný"
msgid "Leave me alone ..."
msgstr "Nech mě být ..."
msgid "I'm mad at you!"
msgstr "Jsem na tebe naštvaný!"
msgid "I'm living the life!"
msgstr "Tohle je život!"
msgid "I pwn therefore I am."
msgstr "Chytám pakety a tedy jsem."
msgid "So many networks!!!"
msgstr "Tolik sítí!!!"
msgid "I'm having so much fun!"
msgstr "Tohle je super zábava!"
msgid "My crime is that of curiosity ..."
msgstr "Jsem kriminálně zvědavý ..."
#, python-brace-format
msgid "Hello {name}! Nice to meet you."
msgstr "Ahoj {name}! Rád tě poznávám."
#, python-brace-format
msgid "Yo {name}! Sup?"
msgstr "Hej {name}! Jak to jde?"
#, python-brace-format
msgid "Hey {name} how are you doing?"
msgstr "Ahoj {name}, jak se máš?"
#, python-brace-format
msgid "Unit {name} is nearby!"
msgstr "Jednotka {name} je nablízku!"
#, python-brace-format
msgid "Uhm ... goodbye {name}"
msgstr "Uhm... Měj se {name}"
#, python-brace-format
msgid "{name} is gone ..."
msgstr "{name} je pryč ..."
#, python-brace-format
msgid "Whoops ... {name} is gone."
msgstr "Whoops ... {name} je pryč."
#, python-brace-format
msgid "{name} missed!"
msgstr "Chybí mi {name}!"
msgid "Missed!"
msgstr "Chybíš mi!"
msgid "Good friends are a blessing!"
msgstr "Dobří kamarádi jsou požehnání!"
msgid "I love my friends!"
msgstr "Miluju svoje kamarády!"
msgid "Nobody wants to play with me ..."
msgstr "Nikdo si se mnou nechce hrát ..."
msgid "I feel so alone ..."
msgstr "Cítím se tak osamělý ..."
msgid "Where's everybody?!"
msgstr "Kde jsou všichni?!"
#, python-brace-format
msgid "Napping for {secs}s ..."
msgstr "Spím {secs} sekund ..."
msgid "Zzzzz"
msgstr "Zzzzz"
#, python-brace-format
msgid "ZzzZzzz ({secs}s)"
msgstr "ZzzZzzz ({secs}s)"
msgid "Good night."
msgstr "Dobrou noc."
msgid "Zzz"
msgstr "Zzz"
#, python-brace-format
msgid "Waiting for {secs}s ..."
msgstr "Čekání {secs} sekund ..."
#, python-brace-format
msgid "Looking around ({secs}s)"
msgstr "Rozhlížím se ({secs}s)"
#, python-brace-format
msgid "Hey {what} let's be friends!"
msgstr "Hej {what} budeme kamarádi!"
#, python-brace-format
msgid "Associating to {what}"
msgstr "Asociuju se s {what}"
#, python-brace-format
msgid "Yo {what}!"
msgstr "Čus {what}!"
#, python-brace-format
msgid "Just decided that {mac} needs no WiFi!"
msgstr "Rozhodl jsem se, že {mac} nepotřebuje žádnou WiFi!"
#, python-brace-format
msgid "Deauthenticating {mac}"
msgstr "Deautentikuju {mac}"
#, python-brace-format
msgid "Kickbanning {mac}!"
msgstr "Kickbanuju {mac}!"
#, python-brace-format
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "Super, máme {num} nových handshaků!"
#, python-brace-format
msgid "You have {count} new message{plural}!"
msgstr "Máš {count} nových zpráv!"
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "Ups, něco se pokazilo ... Restartuju ..."
#, python-brace-format
msgid "Kicked {num} stations\n"
msgstr "Vykopnuto {num} klientů\n"
#, python-brace-format
msgid "Made {num} new friends\n"
msgstr "Mám {num} nových kamarádů\n"
#, python-brace-format
msgid "Got {num} handshakes\n"
msgstr "Mám {num} handshaků\n"
msgid "Met 1 peer"
msgstr "Potkal jsem jednoho kámoše"
#, python-brace-format
msgid "Met {num} peers"
msgstr "Potkal jsem {num} kámošů"
#, python-brace-format
msgid ""
"I've been pwning for {duration} and kicked {deauthed} clients! I've also met "
"{associated} new friends and ate {handshakes} handshakes! #pwnagotchi "
"#pwnlog #pwnlife #hacktheplanet #skynet"
msgstr ""
"Chytal jsem pakety po dobu {duration} a vykopnul jsem {deauthed} klientů! Taky jsem potkal "
"{associated} nových kamarádů a snědl {handshakes} handshaků! #pwnagotchi "
"#pwnlog #pwnlife #hacktheplanet #skynet"
msgid "hours"
msgstr "hodiny"
msgid "minutes"
msgstr "minuty"
msgid "seconds"
msgstr "sekundy"
msgid "hour"
msgstr "hodina"
msgid "minute"
msgstr "minuta"
msgid "second"
msgstr "sekunda"

Binary file not shown.

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-23 20:56+0200\n"
"POT-Creation-Date: 2019-11-14 21:15+0100\n"
"PO-Revision-Date: 2019-09-29 14:00+0200\n"
"Last-Translator: dadav <33197631+dadav@users.noreply.github.com>\n"
"Language-Team: DE <33197631+dadav@users.noreply.github.com>\n"
@ -26,7 +26,7 @@ msgid "New day, new hunt, new pwns!"
msgstr "Neuer Tag, neue Jagd, neue Pwns!"
msgid "Hack the Planet!"
msgstr "Hack den Planet!"
msgstr "Hack den Planeten!"
msgid "AI ready."
msgstr "KI bereit."
@ -35,23 +35,30 @@ msgid "The neural network is ready."
msgstr "Das neurale Netz ist bereit."
msgid "Generating keys, do not turn off ..."
msgstr "Generiere Keys, nicht ausschalten ..."
msgstr "Generiere Schlüssel, nicht ausschalten..."
#, python-brace-format
msgid "Hey, channel {channel} is free! Your AP will say thanks."
msgstr "Hey, Channel {channel} ist frei! Dein AP wir des dir danken."
msgstr "Hey, Channel {channel} ist frei! Dein AP wird es Dir danken."
msgid "Reading last session logs ..."
msgstr "Lese die Logs der letzten Session..."
#, python-brace-format
msgid "Read {lines_so_far} log lines so far ..."
msgstr "Bisher {lines_so_far} Zeilen im Log gelesen..."
msgid "I'm bored ..."
msgstr "Mir ist langweilig..."
msgid "Let's go for a walk!"
msgstr "Lass uns laufen gehen!"
msgstr "Lass uns spazieren gehen!"
msgid "This is the best day of my life!"
msgstr "Das ist der beste Tag meines Lebens."
msgstr "Das ist der beste Tag meines Lebens!"
msgid "Shitty day :/"
msgstr "Scheis Tag :/"
msgstr "Scheißtag :/"
msgid "I'm extremely bored ..."
msgstr "Mir ist sau langweilig..."
@ -62,6 +69,13 @@ msgstr "Ich bin sehr traurig..."
msgid "I'm sad"
msgstr "Ich bin traurig"
#, fuzzy
msgid "Leave me alone ..."
msgstr "Lass mich in Ruhe..."
msgid "I'm mad at you!"
msgstr "Ich bin sauer auf Dich!"
msgid "I'm living the life!"
msgstr "Ich lebe das Leben!"
@ -69,7 +83,7 @@ msgid "I pwn therefore I am."
msgstr "Ich pwne, also bin ich."
msgid "So many networks!!!"
msgstr "So viele Netwerke!!!"
msgstr "So viele Netzwerke!!!"
msgid "I'm having so much fun!"
msgstr "Ich habe sooo viel Spaß!"
@ -79,11 +93,19 @@ msgstr "Mein Verbrechen ist das der Neugier ..."
#, python-brace-format
msgid "Hello {name}! Nice to meet you."
msgstr "Hallo {name}, nett Dich kennenzulernen."
msgstr "Hallo {name}, schön Dich kennenzulernen."
#, python-brace-format
msgid "Yo {name}! Sup?"
msgstr "Jo {name}! Was geht!?"
#, python-brace-format
msgid "Hey {name} how are you doing?"
msgstr "Hey {name}, wie geht's?"
#, python-brace-format
msgid "Unit {name} is nearby!"
msgstr "Gerät {name} ist in der nähe!!"
msgstr "Gerät {name} ist in der Nähe!"
#, python-brace-format
msgid "Uhm ... goodbye {name}"
@ -114,14 +136,14 @@ msgid "Nobody wants to play with me ..."
msgstr "Niemand will mit mir spielen..."
msgid "I feel so alone ..."
msgstr "Ich fühl michso alleine ..."
msgstr "Ich fühl' mich so allein..."
msgid "Where's everybody?!"
msgstr "Wo sind denn alle?"
msgstr "Wo sind denn alle?!"
#, python-brace-format
msgid "Napping for {secs}s ..."
msgstr "Schlafe für {secs}s"
msgstr "Schlafe für {secs}s..."
msgid "Zzzzz"
msgstr ""
@ -158,7 +180,7 @@ msgstr "Jo {what}!"
#, python-brace-format
msgid "Just decided that {mac} needs no WiFi!"
msgstr "Ich denke, dass {mac} kein WiFi brauch!"
msgstr "Ich denke, dass {mac} kein WiFi braucht!"
#, python-brace-format
msgid "Deauthenticating {mac}"
@ -176,16 +198,16 @@ msgstr "Cool, wir haben {num} neue Handshake{plural}!"
msgid "You have {count} new message{plural}!"
msgstr "Cool, wir haben {num} neue Handshake{plural}!"
msgid "Ops, something went wrong ... Rebooting ..."
msgstr "Ops, da ist etwas schief gelaufen ...Starte neu ..."
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "Ops, da ist was schief gelaufen... Starte neu..."
#, python-brace-format
msgid "Kicked {num} stations\n"
msgstr "{num} Stationen gekicked\n"
msgstr "{num} Stationen gekickt\n"
#, python-brace-format
msgid "Made {num} new friends\n"
msgstr "{num} Freunde gefunden\n"
msgstr "{num} neue Freunde gefunden\n"
#, python-brace-format
msgid "Got {num} handshakes\n"
@ -225,3 +247,4 @@ msgstr "Minute"
msgid "second"
msgstr "Sekunde"

Binary file not shown.

@ -0,0 +1,248 @@
# pwnagotchi danish voice data
# Copyright (C) 2020
# This file is distributed under the same license as the pwnagotchi package.
# Dennis Kjær Jensen <signout@signout.dk>, 2020
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-11-29 21:50+0100\n"
"PO-Revision-Date: 2020-01-18 21:56+ZONE\n"
"Last-Translator: Dennis Kjær Jensen <signout@signout.dk>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: Danish\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "ZzzzZZzzzzZzzz"
msgstr "ZzzzZZzzzzZzzz"
msgid "Hi, I'm Pwnagotchi! Starting ..."
msgstr "Hej. Jeg er Pwnagotchi. Starter ..."
msgid "New day, new hunt, new pwns!"
msgstr "Ny dag, ny jagt, nye pwns!"
msgid "Hack the Planet!"
msgstr "Hack planeten!"
msgid "AI ready."
msgstr "AI klar."
msgid "The neural network is ready."
msgstr "Det neurale netværk er klart."
msgid "Generating keys, do not turn off ..."
msgstr "Genererer nøgler, sluk ikke ..."
#, python-brace-format
msgid "Hey, channel {channel} is free! Your AP will say thanks."
msgstr "Hey, kanal {channel} er ubrugt! Dit AP vil takke dig."
msgid "Reading last session logs ..."
msgstr "Læser seneste session logs ..."
#, python-brace-format
msgid "Read {lines_so_far} log lines so far ..."
msgstr "Har læst {lines_so_far} linjer indtil nu ..."
msgid "I'm bored ..."
msgstr "Jeg keder mig ..."
msgid "Let's go for a walk!"
msgstr "Lad os gå en tur!"
msgid "This is the best day of my life!"
msgstr "Det er den bedste dag i mit liv!"
msgid "Shitty day :/"
msgstr "Elendig dag :/"
msgid "I'm extremely bored ..."
msgstr "Jeg keder mig ekstremt meget ..."
msgid "I'm very sad ..."
msgstr "Jeg er meget trist ..."
msgid "I'm sad"
msgstr "Jeg er trist"
msgid "Leave me alone ..."
msgstr "Lad mig være i fred"
msgid "I'm mad at you!"
msgstr "Jeg er sur på dig!"
msgid "I'm living the life!"
msgstr "Jeg lever livet!"
msgid "I pwn therefore I am."
msgstr "Jeg pwner, derfor er jeg."
msgid "So many networks!!!"
msgstr "Så mange netværk!"
msgid "I'm having so much fun!"
msgstr "Jeg har det vildt sjovt!"
msgid "My crime is that of curiosity ..."
msgstr "Min forbrydelse er at være nysgerrig ..."
#, python-brace-format
msgid "Hello {name}! Nice to meet you."
msgstr "Hej {name}! Rart at møde dig."
#, python-brace-format
msgid "Yo {name}! Sup?"
msgstr "Hey {name}! Hvasså?"
#, python-brace-format
msgid "Hey {name} how are you doing?"
msgstr "Hej {name} hvordan har du det?"
#, python-brace-format
msgid "Unit {name} is nearby!"
msgstr "Enheden {name} er lige i nærheden!"
#, python-brace-format
msgid "Uhm ... goodbye {name}"
msgstr "Uhm ... farvel {name}"
#, python-brace-format
msgid "{name} is gone ..."
msgstr "{name} er væk ..."
#, python-brace-format
msgid "Whoops ... {name} is gone."
msgstr "Hovsa ... {name} er væk."
#, python-brace-format
msgid "{name} missed!"
msgstr "{name} glippede!"
msgid "Missed!"
msgstr "Fordømt!"
msgid "Good friends are a blessing!"
msgstr "Gode venner en velsignelse!"
msgid "I love my friends!"
msgstr "Jeg elsker mine venner!"
msgid "Nobody wants to play with me ..."
msgstr "Der er ingen der vil lege med mig ..."
msgid "I feel so alone ..."
msgstr "Jeg føler mig så alene ..."
msgid "Where's everybody?!"
msgstr "Hvor er alle henne?!"
#, python-brace-format
msgid "Napping for {secs}s ..."
msgstr "Sover i {secs} sekunder"
msgid "Zzzzz"
msgstr "Zzzzz"
#, python-brace-format
msgid "ZzzZzzz ({secs}s)"
msgstr "ZzzZzzz {secs} sekunder"
msgid "Good night."
msgstr "Godnat."
msgid "Zzz"
msgstr "Zzz"
#, python-brace-format
msgid "Waiting for {secs}s ..."
msgstr "Venter i {secs} sekunder"
#, python-brace-format
msgid "Looking around ({secs}s)"
msgstr "Kigger mig omkring i {secs} sekunder"
#, python-brace-format
msgid "Hey {what} let's be friends!"
msgstr "Hej {what} lad os være venner!"
#, python-brace-format
msgid "Associating to {what}"
msgstr "Associerer til {what}"
#, python-brace-format
msgid "Yo {what}!"
msgstr "Hey {what}"
#, python-brace-format
msgid "Just decided that {mac} needs no WiFi!"
msgstr "Besluttede at {mac} ikke har brug for WiFi!"
#, python-brace-format
msgid "Deauthenticating {mac}"
msgstr "Afmelder {mac}"
#, python-brace-format
msgid "Kickbanning {mac}!"
msgstr "Kickbanner {mac}!"
#, python-brace-format
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "Fedt, vi har fået {num} nye handshake{plural}!"
#, python-brace-format
msgid "You have {count} new message{plural}!"
msgstr "Du har {count} nye beskeder"
msgid "Ops, something went wrong ... Rebooting ..."
msgstr "Ups, noget gik galt ... Genstarter."
#, python-brace-format
msgid "Kicked {num} stations\n"
msgstr "Sparkede {num} af\n"
#, python-brace-format
msgid "Made {num} new friends\n"
msgstr "Har fået {num} nye venner\n"
#, python-brace-format
msgid "Got {num} handshakes\n"
msgstr "Har fået {num} nyehandshakes\n"
msgid "Met 1 peer"
msgstr "Har mødt 1 peer"
#, python-brace-format
msgid "Met {num} peers"
msgstr "Har mødt {num} peers"
#, python-brace-format
msgid ""
"I've been pwning for {duration} and kicked {deauthed} clients! I've also met "
"{associated} new friends and ate {handshakes} handshakes! #pwnagotchi "
"#pwnlog #pwnlife #hacktheplanet #skynet"
msgstr "Jeg har pwnet i {duration} og kicket {dauthed} klienter! Jeg har også "
"mødt {associated} nye venner og spist {handshakes} håndtryk! #pwnagotchi "
"#pwnlog #pwnlife #hacktheplanet #skynet"
msgid "hours"
msgstr "timer"
msgid "minutes"
msgstr "minutter"
msgid "seconds"
msgstr "sekunder"
msgid "hour"
msgstr "time"
msgid "minute"
msgstr "minut"
msgid "second"
msgstr "sekund"

Binary file not shown.

@ -158,7 +158,7 @@ msgstr "Μπανάρω την {mac}!"
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "Τέλεια δικέ μου, πήραμε {num} νέες χειραψίες!"
msgid "Ops, something went wrong ... Rebooting ..."
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "Ουπς, κάτιπήγε λάθος ... Επανεκκινούμαι ..."
#, python-brace-format

Binary file not shown.

@ -8,25 +8,26 @@ msgstr ""
"Project-Id-Version: 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-09 17:42+0200\n"
"PO-Revision-Date: 2019-10-09 21:07+0000\n"
"Last-Translator: diegopastor <dpastor29@alumnos.uaq.mx>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: spanish\n"
"PO-Revision-Date: 2020-08-25 23:06+0200\n"
"Last-Translator: Sergio Ruiz <serginator@gmail.com>\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language-Team: \n"
"X-Generator: Poedit 2.4.1\n"
msgid "ZzzzZZzzzzZzzz"
msgstr "ZzzzZZzzzzZzzz"
msgid "Hi, I'm Pwnagotchi! Starting ..."
msgstr "Hola, soy Pwnagotchi! Empezando ..."
msgstr "¡Hola, soy Pwnagotchi! Empezando ..."
msgid "New day, new hunt, new pwns!"
msgstr "Nuevo día, nueva cazería, nuevos pwns!"
msgstr "Nuevo día, nueva caceria, nuevos pwns!"
msgid "Hack the Planet!"
msgstr "Hackea el planeta!"
msgstr "¡Hackea el planeta!"
msgid "AI ready."
msgstr "IA lista."
@ -36,51 +37,51 @@ msgstr "La red neuronal está lista."
#, python-brace-format
msgid "Hey, channel {channel} is free! Your AP will say thanks."
msgstr "Oye, el canal {channel} está libre! Tú AP lo agradecerá."
msgstr "¡Oye, el canal {channel} está libre! Tu AP lo agradecerá."
msgid "I'm bored ..."
msgstr "Estoy aburrido ..."
msgid "Let's go for a walk!"
msgstr "Vamos por un paseo!"
msgstr "¡Vamos por un paseo!"
msgid "This is the best day of my life!"
msgstr "Este es el mejor día de mi vida!"
msgstr "¡Este es el mejor día de mi vida!"
msgid "Shitty day :/"
msgstr "Día de mierda :/"
msgid "I'm extremely bored ..."
msgstr "Estoy extremadamente aburrido ..."
msgstr "Estoy muy aburrido ..."
msgid "I'm very sad ..."
msgstr "Estoy muy triste ..."
msgid "I'm sad"
msgstr "Estoy triste."
msgstr "Estoy triste"
msgid "I'm living the life!"
msgstr "Estoy viviendo la vida!"
msgstr "¡Estoy viviendo la vida!"
msgid "I pwn therefore I am."
msgstr "Pwneo, por lo tanto, existo"
msgstr "Pwneo, luego existo."
msgid "So many networks!!!"
msgstr "Cuantas redes!!!"
msgstr "¡¡¡Cuántas redes!!!"
msgid "I'm having so much fun!"
msgstr "Me estoy divirtiendo mucho!"
msgstr "¡Me estoy divirtiendo mucho!"
msgid "My crime is that of curiosity ..."
msgstr "Mi único crimen es la curiosidad ..."
msgstr "Mi crimen es la curiosidad ..."
#, python-brace-format
msgid "Hello {name}! Nice to meet you. {name}"
msgstr "Hola {name}! encantado de conocerte."
msgstr "¡Hola {name}! Encantado de conocerte. {name}"
#, python-brace-format
msgid "Unit {name} is nearby! {name}"
msgstr "La unidad {name} está cerca!"
msgstr "¡La unidad {name} está cerca! {name}"
#, python-brace-format
msgid "Uhm ... goodbye {name}"
@ -92,14 +93,14 @@ msgstr "{name} se fue ..."
#, python-brace-format
msgid "Whoops ... {name} is gone."
msgstr "Uy ... {name} se fue"
msgstr "Ups ... {name} se fue."
#, python-brace-format
msgid "{name} missed!"
msgstr "{name} perdido!"
msgstr "¡{name} perdido!"
msgid "Missed!"
msgstr "Perdido!"
msgstr "¡Perdido!"
msgid "Nobody wants to play with me ..."
msgstr "Nadie quiere jugar conmigo ..."
@ -108,11 +109,11 @@ msgid "I feel so alone ..."
msgstr "Me siento tan solo ..."
msgid "Where's everybody?!"
msgstr "Dónde está todo el mundo?"
msgstr "¡¿Dónde está todo el mundo?!"
#, python-brace-format
msgid "Napping for {secs}s ..."
msgstr "Tomándo una siesta por {secs}s ..."
msgstr "Descansando durante {secs}s ..."
msgid "Zzzzz"
msgstr "Zzzzz"
@ -137,19 +138,19 @@ msgstr "Mirando al rededor ({secs}s)"
#, python-brace-format
msgid "Hey {what} let's be friends!"
msgstr "Oye {what} seamos amigos!"
msgstr "¡Oye {what} seamos amigos!"
#, python-brace-format
msgid "Associating to {what}"
msgstr "Asociando a {what}"
msgstr "Asociándome a {what}"
#, python-brace-format
msgid "Yo {what}!"
msgstr "Ey {what}!"
msgstr "¡Ey {what}!"
#, python-brace-format
msgid "Just decided that {mac} needs no WiFi!"
msgstr "Acabo de decidir que {mac} no necesita WiFi!"
msgstr "¡Acabo de decidir que {mac} no necesita WiFi!"
#, python-brace-format
msgid "Deauthenticating {mac}"
@ -157,14 +158,14 @@ msgstr "Desautenticando a {mac}"
#, python-brace-format
msgid "Kickbanning {mac}!"
msgstr "Expulsando y banneando a {mac}!"
msgstr "¡Expulsando y baneando a {mac}!"
#, python-brace-format
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "Genial, obtuvimos {num} nuevo{plural} handshake{plural}!"
msgstr "¡Genial, obtuvimos {num} nuevo{plural} handshake{plural}!"
msgid "Ops, something went wrong ... Rebooting ..."
msgstr "Oops, algo salió mal ... Reiniciándo ..."
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "Oops, algo salió mal ... Reiniciando ..."
#, python-brace-format
msgid "Kicked {num} stations\n"
@ -172,27 +173,27 @@ msgstr "Expulsamos {num} estaciones\n"
#, python-brace-format
msgid "Made {num} new friends\n"
msgstr "Hicimos {num} nuevos amigos\n"
msgstr "Hice {num} nuevos amigos\n"
#, python-brace-format
msgid "Got {num} handshakes\n"
msgstr "Obtuvimos {num} handshakes\n"
msgstr "Consegui {num} handshakes\n"
msgid "Met 1 peer"
msgstr "Conocí 1 igual"
msgstr "Conocí 1 colega"
#, python-brace-format
msgid "Met {num} peers"
msgstr "Conocí {num} iguales"
msgstr "Conocí {num} colegas"
#, python-brace-format
msgid ""
"I've been pwning for {duration} and kicked {deauthed} clients! I've also met "
"{associated} new friends and ate {handshakes} handshakes! #pwnagotchi "
"#pwnlog #pwnlife #hacktheplanet #skynet"
"{associated} new friends and ate {handshakes} handshakes! #pwnagotchi #pwnlog "
"#pwnlife #hacktheplanet #skynet"
msgstr ""
"He estado pwneando por {duration} y expulsé {deauthed} clientes! También conocí"
"{associated} nuevos amigos y me comí {handshakes} handshakes! #pwnagotchi "
"¡He estado pwneando por {duration} y expulsé {deauthed} clientes! También "
"conocí {associated} nuevos amigos y comí {handshakes} handshakes! #pwnagotchi "
"#pwnlog #pwnlife #hacktheplanet #skynet"
msgid "hours"

Binary file not shown.

@ -3,12 +3,11 @@
# This file is distributed under the same license as the pwnagotchi package.
# FIRST AUTHOR <7271496+quantumsheep@users.noreply.github.com>, 2019.
#
#,
msgid ""
msgstr ""
"Project-Id-Version: 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-23 18:37+0200\n"
"POT-Creation-Date: 2019-11-29 21:50+0100\n"
"PO-Revision-Date: 2019-10-03 10:34+0200\n"
"Last-Translator: quantumsheep <7271496+quantumsheep@users.noreply.github."
"com>\n"
@ -43,6 +42,13 @@ msgstr "Génération des clés, ne pas éteindre..."
msgid "Hey, channel {channel} is free! Your AP will say thanks."
msgstr "Hey, le canal {channel} est libre! Ton point d'accès va te remercier."
msgid "Reading last session logs ..."
msgstr "Lecture des logs de la dernière session ..."
#, python-brace-format
msgid "Read {lines_so_far} log lines so far ..."
msgstr "Jusqu'ici, {lines_so_far} lignes lues dans le log ..."
msgid "I'm bored ..."
msgstr "Je m'ennuie..."
@ -64,8 +70,15 @@ msgstr "Je suis très triste..."
msgid "I'm sad"
msgstr "Je suis triste"
#, fuzzy
msgid "Leave me alone ..."
msgstr "Lache moi..."
msgid "I'm mad at you!"
msgstr "Je t'en veux !"
msgid "I'm living the life!"
msgstr "Je vis la vie !"
msgstr "Je vis la belle vie !"
msgid "I pwn therefore I am."
msgstr "Je pwn donc je suis."
@ -83,6 +96,14 @@ msgstr "Mon crime, c'est la curiosité..."
msgid "Hello {name}! Nice to meet you."
msgstr "Bonjour {name} ! Ravi de te rencontrer."
#, python-brace-format
msgid "Yo {name}! Sup?"
msgstr "Yo {name} ! Quoi de neuf ?"
#, python-brace-format
msgid "Hey {name} how are you doing?"
msgstr "Hey {name} comment vas-tu ?"
#, python-brace-format
msgid "Unit {name} is nearby!"
msgstr "L'unité {name} est proche !"
@ -93,7 +114,7 @@ msgstr "Hum... au revoir {name}"
#, python-brace-format
msgid "{name} is gone ..."
msgstr "{name} est part ..."
msgstr "{name} est parti ..."
#, python-brace-format
msgid "Whoops ... {name} is gone."
@ -106,6 +127,12 @@ msgstr "{name} raté !"
msgid "Missed!"
msgstr "Raté !"
msgid "Good friends are a blessing!"
msgstr "Les bons amis sont une bénédiction !"
msgid "I love my friends!"
msgstr "J'aime mes amis !"
msgid "Nobody wants to play with me ..."
msgstr "Personne ne veut jouer avec moi..."
@ -117,14 +144,14 @@ msgstr "Où est tout le monde ?!"
#, python-brace-format
msgid "Napping for {secs}s ..."
msgstr "Fais la sieste pendant {secs}s..."
msgstr "Je fais la sieste pendant {secs}s..."
msgid "Zzzzz"
msgstr ""
msgstr "Zzzzz"
#, python-brace-format
msgid "ZzzZzzz ({secs}s)"
msgstr ""
msgstr "ZzzZzzz ({secs}s)"
msgid "Good night."
msgstr "Bonne nuit."
@ -134,11 +161,11 @@ msgstr "Zzz"
#, python-brace-format
msgid "Waiting for {secs}s ..."
msgstr "Attends pendant {secs}s..."
msgstr "J'attends pendant {secs}s..."
#, python-brace-format
msgid "Looking around ({secs}s)"
msgstr "Regarde autour ({secs}s)"
msgstr "J'observe ({secs}s)"
#, python-brace-format
msgid "Hey {what} let's be friends!"
@ -166,13 +193,13 @@ msgstr "Je kick et je bannis {mac} !"
#, python-brace-format
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "Cool, on a {num} nouveaux handshake{plural} !"
msgstr "Cool, on a {num} nouve(l/aux) handshake{plural} !"
#, python-brace-format
msgid "You have {count} new message{plural}!"
msgstr "Tu as {num} nouveaux message{plural} !"
msgstr "Tu as {num} nouveau(x) message{plural} !"
msgid "Ops, something went wrong ... Rebooting ..."
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "Oups, quelque chose s'est mal passé... Redémarrage..."
#, python-brace-format
@ -181,18 +208,18 @@ msgstr "{num} stations kick\n"
#, python-brace-format
msgid "Made {num} new friends\n"
msgstr "Fait {num} nouveaux amis\n"
msgstr "A fait {num} nouve(l/aux) ami(s)\n"
#, python-brace-format
msgid "Got {num} handshakes\n"
msgstr "Récupéré {num} handshakes\n"
msgstr "A {num} handshakes\n"
msgid "Met 1 peer"
msgstr "1 peer rencontré"
msgstr "1 camarade rencontré"
#, python-brace-format
msgid "Met {num} peers"
msgstr "{num} peers recontrés"
msgstr "{num} camarades recontrés"
#, python-brace-format
msgid ""

Binary file not shown.

@ -164,7 +164,7 @@ msgstr "Chiceáil mé agus cosc mé ar {mac}!"
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "Go hiontach, fuaireamar {num} handshake{plural}!"
msgid "Ops, something went wrong ... Rebooting ..."
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "Hoips...Tháinig ainghléas éigin..."
#, python-brace-format

Binary file not shown.

@ -0,0 +1,253 @@
# Croatian translation
# Copyright (C) 2021
# This file is distributed under the same license as the pwnagotchi package.
# FIRST AUTHOR dbukovac <37124354+dbukovac@users.noreply.github.com>, 2021.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-11-29 21:50+0100\n"
"PO-Revision-Date: 2021-07-16 00:20+0100\n"
"Last-Translator: dbukovac <37124354+dbukovac@users.noreply.github.com>\n"
"Language-Team: HR <37124354+dbukovac@users.noreply.github.com>\n"
"Language: Croatian\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "ZzzzZZzzzzZzzz"
msgstr "ZzzzZZzzzzZzzz"
msgid "Hi, I'm Pwnagotchi! Starting ..."
msgstr "Zdravo, ja sam Pwnagotchi! Pokrećem se ..."
msgid "New day, new hunt, new pwns!"
msgstr "Novi dan, novi lov, nove pobjede!"
msgid "Hack the Planet!"
msgstr "Hakiraj planet!"
msgid "AI ready."
msgstr "UI spremna."
msgid "The neural network is ready."
msgstr "Neuralna mreža je spremna."
msgid "Generating keys, do not turn off ..."
msgstr "Generiram ključeve, nemoj me gasiti ..."
#, python-brace-format
msgid "Hey, channel {channel} is free! Your AP will say thanks."
msgstr "Hej, kanal {channel} je slobodan! Tvoj AP ti zahvaljuje."
msgid "Reading last session logs ..."
msgstr "Čitam logove zadnje sesije ..."
#, python-brace-format
msgid "Read {lines_so_far} log lines so far ..."
msgstr "Pročitao {lines_so_far} linija loga zasad ..."
msgid "I'm bored ..."
msgstr "Dosadno mi je ..."
msgid "Let's go for a walk!"
msgstr "Ajmo u šetnju!"
msgid "This is the best day of my life!"
msgstr "Ovo je najbolji dan u mom životu!"
msgid "Shitty day :/"
msgstr "Usrani dan :/"
msgid "I'm extremely bored ..."
msgstr "Strašno mi je dosadno ..."
msgid "I'm very sad ..."
msgstr "Jako sam tužan ..."
msgid "I'm sad"
msgstr "Tužan sam ..."
msgid "Leave me alone ..."
msgstr "Pusti me na miru ..."
msgid "I'm mad at you!"
msgstr "Ljut sam na tebe!"
msgid "I'm living the life!"
msgstr "To se zove život!"
msgid "I pwn therefore I am."
msgstr "Pwnam dakle postojim."
msgid "So many networks!!!"
msgstr "Toliko mreža!!!"
msgid "I'm having so much fun!"
msgstr "Super se zabavljam!"
msgid "My crime is that of curiosity ..."
msgstr "Znatiželja je moja jedina mana ..."
#, python-brace-format
msgid "Hello {name}! Nice to meet you."
msgstr "Bok {name}! Drago mi je da smo se upoznali. "
#, python-brace-format
msgid "Yo {name}! Sup?"
msgstr "Di si {name}! Šta ima?"
#, python-brace-format
msgid "Hey {name} how are you doing?"
msgstr "Bok {name} kako ide?"
#, python-brace-format
msgid "Unit {name} is nearby!"
msgstr "Jedinica {name} je u blizini!"
#, python-brace-format
msgid "Uhm ... goodbye {name}"
msgstr "Uhm ... doviđenja {name}"
#, python-brace-format
msgid "{name} is gone ..."
msgstr "{name} je nestao ..."
#, python-brace-format
msgid "Whoops ... {name} is gone."
msgstr "Ups ... {name} je nestao."
#, python-brace-format
msgid "{name} missed!"
msgstr "{name} mi nedostaje!"
msgid "Missed!"
msgstr "Nedostaje mi!"
msgid "Good friends are a blessing!"
msgstr "Imati dobre prijatelje je blagoslov!"
msgid "I love my friends!"
msgstr "Volim svoj prijatelje!"
msgid "Nobody wants to play with me ..."
msgstr "Nitko se ne želi igrati samnom ..."
msgid "I feel so alone ..."
msgstr "Tako sam usamljen ..."
msgid "Where's everybody?!"
msgstr "Gdje su svi nestali?!"
#, python-brace-format
msgid "Napping for {secs}s ..."
msgstr "Pajkim {secs}s ..."
msgid "Zzzzz"
msgstr "Zzzzz"
#, python-brace-format
msgid "ZzzZzzz ({secs}s)"
msgstr "ZzzZzzz ({secs}s)"
msgid "Good night."
msgstr "Laku noć."
msgid "Zzz"
msgstr "Zzz"
#, python-brace-format
msgid "Waiting for {secs}s ..."
msgstr "Čekam {secs}s ..."
#, python-brace-format
msgid "Looking around ({secs}s)"
msgstr "Gledam uokolo {secs}s ..."
#, python-brace-format
msgid "Hey {what} let's be friends!"
msgstr "Bok {what} ajmo biti prijatelji!"
#, python-brace-format
msgid "Associating to {what}"
msgstr "Asociram se sa {what}"
#, python-brace-format
msgid "Yo {what}!"
msgstr "Šta ima {what}!"
#, python-brace-format
msgid "Just decided that {mac} needs no WiFi!"
msgstr "Upravo sam odlučio da {mac} ne treba WiFI!"
#, python-brace-format
msgid "Deauthenticating {mac}"
msgstr "Deautenticiram {mac}"
#, python-brace-format
msgid "Kickbanning {mac}!"
msgstr "Kickbannam {mac}!"
#, python-brace-format
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "Fora, imamo {num} novih handshakeova!"
#, python-brace-format
msgid "You have {count} new message{plural}!"
msgstr "Imate {count} novih poruka!"
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "Ups, nešto je krepalo ... Rebooting ..."
#, python-brace-format
msgid "Kicked {num} stations\n"
msgstr "Šutnuo {num} stanica\n"
#, python-brace-format
msgid "Made {num} new friends\n"
msgstr "Upoznao {num} novih prijatelja\n"
#, python-brace-format
msgid "Got {num} handshakes\n"
msgstr "Pokupio {num} handshakeova\n"
msgid "Met 1 peer"
msgstr "Sreo 1 novog druga"
#, python-brace-format
msgid "Met {num} peers"
msgstr "Sreo {num} druga"
#, python-brace-format
msgid ""
"I've been pwning for {duration} and kicked {deauthed} clients! I've also met "
"{associated} new friends and ate {handshakes} handshakes! #pwnagotchi "
"#pwnlog #pwnlife #hacktheplanet #skynet"
msgstr ""
"Pwnam {duration} vremena i šutnuo sam {deauthed} klijenata! Sreo sam"
"{associated} novih prijatelja i pojeo {handshakes} handshakeova! #pwnagotchi "
"#pwnlog #pwnlife #hacktheplanet #skynet"
msgid "hours"
msgstr "sati"
msgid "minutes"
msgstr "minuta"
msgid "seconds"
msgstr "sekundi"
msgid "hour"
msgstr "sat"
msgid "minute"
msgstr "minuta"
msgid "second"
msgstr "sekunda"
#, python-brace-format
msgid "Uploading data to {to} ..."
msgstr "Šaljem podatke na {to} ..."

Binary file not shown.

@ -0,0 +1,249 @@
# Hungarian translation.
# Copyright (C) 2020
# This file is distributed under the same license as the PACKAGE package.
# Skeleton022 <skeleton022.pwnagotchi@gmail.com>, 2020.
#
msgid ""
msgstr ""
"Project-Id-Version: 1.4.3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-01-07 20:00+0100\n"
"PO-Revision-Date: 2020-03-23 0:10+0100\n"
"Last-Translator: Skeleton022\n"
"Language-Team: Skeleton022\n"
"Language: hungarian\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "ZzzzZZzzzzZzzz"
msgstr "ZzzzZZzzzzZzzz"
msgid "Hi, I'm Pwnagotchi! Starting ..."
msgstr "Hali, Pwnagotchi vagyok! Indítás ..."
msgid "New day, new hunt, new pwns!"
msgstr "Új nap, új vadászat, új hálózatok!"
msgid "Hack the Planet!"
msgstr "Törd meg a bolygót!"
msgid "AI ready."
msgstr "MI kész."
msgid "The neural network is ready."
msgstr "A neurális hálózat készen áll."
msgid "Generating keys, do not turn off ..."
msgstr "Kulcspár generálása, ne kapcsold ki az eszközt ..."
#, python-brace-format
msgid "Hey, channel {channel} is free! Your AP will say thanks."
msgstr "A {channel}. számú csatorna üres! Az AP-d meg fogja köszönni."
msgid "Reading last session logs ..."
msgstr ""
#, python-brace-format
msgid "Read {lines_so_far} log lines so far ..."
msgstr "Az utolsó munkamenet logjainak olvasása ..."
msgid "I'm bored ..."
msgstr "Unatkozom ..."
msgid "Let's go for a walk!"
msgstr "Menjünk sétálni!"
msgid "This is the best day of my life!"
msgstr "Ez a legjobb nap az életemben!"
msgid "Shitty day :/"
msgstr "Szar egy nap :/"
msgid "I'm extremely bored ..."
msgstr "Nagyon unatkozom ..."
msgid "I'm very sad ..."
msgstr "Nagyon szomorú vagyok ..."
msgid "I'm sad"
msgstr "Szomorú vagyok"
msgid "Leave me alone ..."
msgstr "Hagyj békén ..."
msgid "I'm mad at you!"
msgstr "Mérges vagyok rád!"
msgid "I'm living the life!"
msgstr "Élvezem az életet!"
msgid "I pwn therefore I am."
msgstr "Hackelek, tehát vagyok."
msgid "So many networks!!!"
msgstr "Rengeteg hálózat!!!"
msgid "I'm having so much fun!"
msgstr "Nagyon jól érzem magam!"
msgid "My crime is that of curiosity ..."
msgstr "Kíváncsiság a bűnöm ..."
#, python-brace-format
msgid "Hello {name}! Nice to meet you."
msgstr "Hali {name}! Örülök, hogy találkoztunk."
#, python-brace-format
msgid "Yo {name}! Sup?"
msgstr "Hé {name}! Mizu?"
#, python-brace-format
msgid "Hey {name} how are you doing?"
msgstr "Hé {name} hogy vagy?"
#, python-brace-format
msgid "Unit {name} is nearby!"
msgstr "A {name} nevű egység a közelben van!"
#, python-brace-format
msgid "Uhm ... goodbye {name}"
msgstr "Ömm ... ég veled {name}"
#, python-brace-format
msgid "{name} is gone ..."
msgstr "{name} eltűnt ..."
#, python-brace-format
msgid "Whoops ... {name} is gone."
msgstr "Whoops ... {name} eltűnt."
#, python-brace-format
msgid "{name} missed!"
msgstr "{name} elhibázva!"
msgid "Missed!"
msgstr "Elvesztettem!"
msgid "Good friends are a blessing!"
msgstr "A jó barátok áldás az életben!"
msgid "I love my friends!"
msgstr "Szeretem a barátaimat!"
msgid "Nobody wants to play with me ..."
msgstr "Senki sem akar játszani velem ..."
msgid "I feel so alone ..."
msgstr "Egyedül vagyok ..."
msgid "Where's everybody?!"
msgstr "Hol vagytok?!"
#, python-brace-format
msgid "Napping for {secs}s ..."
msgstr "{secs} másodpercig szundikálok ..."
msgid "Zzzzz"
msgstr "Zzzzz"
#, python-brace-format
msgid "ZzzZzzz ({secs}s)"
msgstr "ZzzZzzz ({secs}msp)"
msgid "Good night."
msgstr "Jó éjszakát."
msgid "Zzz"
msgstr "Zzz"
#, python-brace-format
msgid "Waiting for {secs}s ..."
msgstr "Várok {secs} másodpercig ..."
#, python-brace-format
msgid "Looking around ({secs}s)"
msgstr "Körbenézek {secs} másodpercig"
#, python-brace-format
msgid "Hey {what} let's be friends!"
msgstr "Hey {what} legyünk barátok!"
#, python-brace-format
msgid "Associating to {what}"
msgstr "Társítás {what} -hoz/-hez"
#, python-brace-format
msgid "Yo {what}!"
msgstr "Hé {what}!"
#, python-brace-format
msgid "Just decided that {mac} needs no WiFi!"
msgstr "Úgydöntöttem, hogy {mac}-nek nem kell WiFi!"
#, python-brace-format
msgid "Deauthenticating {mac}"
msgstr "Kirúgom {mac}-et"
#, python-brace-format
msgid "Kickbanning {mac}!"
msgstr "{mac} kirúgva és kitiltva!"
#, python-brace-format
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "Király, kaptunk {num} új üzenetet!"
#, python-brace-format
msgid "You have {count} new message{plural}!"
msgstr "{count} új üzeneted van!"
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "Ops, valami rosszul sikerült ... Újraindítás ..."
#, python-brace-format
msgid "Kicked {num} stations\n"
msgstr "Kirúgva {num} állomás\n"
#, python-brace-format
msgid "Made {num} new friends\n"
msgstr "{num} új barátot\ntaláltam\n"
#, python-brace-format
msgid "Got {num} handshakes\n"
msgstr "{num} kézfogást szereztem\n"
msgid "Met 1 peer"
msgstr "1 Társsal találkoztam"
#, python-brace-format
msgid "Met {num} peers"
msgstr "Találkoztam {num} társsal"
#, python-brace-format
msgid ""
"I've been pwning for {duration} and kicked {deauthed} clients! I've also met "
"{associated} new friends and ate {handshakes} handshakes! #pwnagotchi "
"#pwnlog #pwnlife #hacktheplanet #skynet"
msgstr ""
"Már {duration} ideje dolgozom, kirúgtam {deauthed} klienst! Találkoztam még"
"{associated} új baráttal és elfogtam {handshakes} kézfogást! #pwnagotchi "
"#pwnlog #pwnlife #hacktheplanet #skynet"
msgid "hours"
msgstr "óra"
msgid "minutes"
msgstr "perc"
msgid "seconds"
msgstr "másodperc"
msgid "hour"
msgstr "óra"
msgid "minute"
msgstr "perc"
msgid "second"
msgstr "másodperc"

Binary file not shown.

@ -156,7 +156,7 @@ msgstr "Sto prendendo a calci {mac}!"
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "Bene, abbiamo {num} handshake{plural} in più!"
msgid "Ops, something went wrong ... Rebooting ..."
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "Ops, qualcosa è andato storto ... Riavvio ..."
#, python-brace-format

Binary file not shown.

@ -3,12 +3,11 @@
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR 24534649+wytshadow@users.noreply.github.com, 2019.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-16 15:05+0200\n"
"POT-Creation-Date: 2020-01-25 21:57+0900\n"
"PO-Revision-Date: 2019-10-16 15:05+0200\n"
"Last-Translator: wytshadow <24534649+wytshadow@users.noreply.github.com>\n"
"Language-Team: pwnagotchi <24534649+wytshadow@users.noreply.github.com>\n"
@ -21,170 +20,207 @@ msgid "ZzzzZZzzzzZzzz"
msgstr "すやすや〜"
msgid "Hi, I'm Pwnagotchi! Starting ..."
msgstr "こんにちは、ポウナゴッチです!始めている。。。"
msgstr "僕、 ポーナゴッチです!"
msgid "New day, new hunt, new pwns!"
msgstr ""
msgstr "ポーンしようよ。"
msgid "Hack the Planet!"
msgstr "ハックザプラネット!"
msgid "AI ready."
msgstr "人工知能の準備ができました。"
msgstr "AIの準備ができました。"
msgid "The neural network is ready."
msgstr "ニューラルネットワークの準備ができました。"
msgstr "ニューラルネットワークの\n準備ができました。"
msgid "Generating keys, do not turn off ..."
msgstr "鍵生成をしてます。\n電源を落とさないでね。"
#, python-brace-format
msgid "Hey, channel {channel} is free! Your AP will say thanks."
msgstr "ねえ、チャンネル{channel}は無料です! キミのAPは感謝を言います。"
msgstr "チャンネル\n {channel} \nはfreeだよ。ありがとうね。"
msgid "Reading last session logs ..."
msgstr "session log を読んでます。"
#, python-brace-format
msgid "Read {lines_so_far} log lines so far ..."
msgstr "{lines_so_far} 行目長いよぉ。"
msgid "I'm bored ..."
msgstr "退屈です。。。"
msgstr "退屈だぁ。。。"
msgid "Let's go for a walk!"
msgstr "散歩に行きましょう!"
msgstr "散歩に行こうよ"
msgid "This is the best day of my life!"
msgstr "今日は私の人生で最高の日です"
msgstr "人生最高の日だよ"
msgid "Shitty day :/"
msgstr ""
msgstr "がっかりな日だよ。orz"
msgid "I'm extremely bored ..."
msgstr "とても退屈です。"
msgstr "退屈だね。"
msgid "I'm very sad ..."
msgstr "とても悲しいです。。。"
msgstr "あ~悲しいよぉ。"
msgid "I'm sad"
msgstr "悲しいです。"
msgstr "悲しいね。"
msgid "Leave me alone ..."
msgstr "ひとりぼっちだよ。"
msgid "I'm mad at you!"
msgstr "怒っちゃうよ。"
msgid "I'm living the life!"
msgstr "人生を生きている!"
msgstr "わくわくするね。"
msgid "I pwn therefore I am."
msgstr ""
msgstr "ポーンしてこそのオレ。"
msgid "So many networks!!!"
msgstr "たくさんネットワークがある!!"
msgstr "たくさん\nWiFiが飛んでるよ"
msgid "I'm having so much fun!"
msgstr "とても楽しんでいます"
msgstr "楽しいよぉ"
msgid "My crime is that of curiosity ..."
msgstr ""
msgstr "APに興味津々..."
#, python-brace-format
msgid "Hello {name}! Nice to meet you. {name}"
msgstr "こんにちは{name}!初めまして。{name}"
msgid "Hello {name}! Nice to meet you."
msgstr "こんにちは{name}\n初めまして。{name}"
#, python-brace-format
msgid "Unit {name} is nearby! {name}"
msgstr ""
msgid "Yo {name}! Sup?"
msgstr "ねぇねぇ、\n{name} どうしたの?"
#, python-brace-format
msgid "Hey {name} how are you doing?"
msgstr "{name} こんにちは"
#, python-brace-format
msgid "Unit {name} is nearby!"
msgstr "{name} が近くにいるよ。"
#, python-brace-format
msgid "Uhm ... goodbye {name}"
msgstr "ええと。。。さようなら{name}"
msgstr "じゃあね、さようなら {name}"
#, python-brace-format
msgid "{name} is gone ..."
msgstr "{name}がなくなった。。。"
msgstr "{name}\nがいなくなったよ。"
#, python-brace-format
msgid "Whoops ... {name} is gone."
msgstr "おっと。。。{name}がなくなった。"
msgstr "あらら、\n{name}\nがいなくなったね。"
#, python-brace-format
msgid "{name} missed!"
msgstr "{name}逃した!"
msgstr "{name} が逃げた!"
msgid "Missed!"
msgstr "逃した!"
msgstr "残念、逃した!"
msgid "Good friends are a blessing!"
msgstr "良い仲間にめぐりあえたよ。"
msgid "I love my friends!"
msgstr "友達は大好きだよ。"
msgid "Nobody wants to play with me ..."
msgstr "誰も僕と一緒にプレーしたくない。。。"
msgstr "誰も僕と一緒に\nあそんでくれない。"
msgid "I feel so alone ..."
msgstr "僕は孤独を感じる。。。"
msgstr "ひとりぼっちだよ。"
msgid "Where's everybody?!"
msgstr "みんなどこ?!"
msgstr "みんなどこにいるの"
#, python-brace-format
msgid "Napping for {secs}s ..."
msgstr "{secs}寝ている。"
msgstr "{secs}秒 寝ます。"
msgid "Zzzzz"
msgstr "すや〜"
msgstr "ぐぅ〜"
#, python-brace-format
msgid "ZzzZzzz ({secs}s)"
msgstr "すやすや〜 ({secs})"
msgstr "すやすや〜 ({secs}秒)"
msgid "Good night."
msgstr "おみなさい。"
msgstr "おやすみなさい。"
msgid "Zzz"
msgstr "す〜"
msgstr "ぐぅ~"
#, python-brace-format
msgid "Waiting for {secs}s ..."
msgstr "{secs}を待っている。。。"
msgstr "{secs}秒 待ちです。"
#, python-brace-format
msgid "Looking around ({secs}s)"
msgstr "{secs}を探している。"
msgstr "{secs}秒 探してます。"
#, python-brace-format
msgid "Hey {what} let's be friends!"
msgstr "ちょっと{what}友だちになりましょう!"
msgstr "ねぇねぇ\n{what} \n友だちになろうよ。"
#, python-brace-format
msgid "Associating to {what}"
msgstr ""
msgstr "{what} \nとつながるかな"
#, python-brace-format
msgid "Yo {what}!"
msgstr "よー{what}!"
msgstr "ねぇねぇ\n{what}"
#, python-brace-format
msgid "Just decided that {mac} needs no WiFi!"
msgstr ""
msgstr "{mac}\nはWiFiじゃないのね。"
#, python-brace-format
msgid "Deauthenticating {mac}"
msgstr ""
msgstr "{mac}\nの認証取得中..."
#, python-brace-format
msgid "Kickbanning {mac}!"
msgstr ""
msgstr "{mac}\nに拒否られた。"
#, python-brace-format
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "よし、{num}新しいハンドシェイクがある!"
msgstr "おぉ、\n{num}回\nハンドシェイクがあったよ"
#, python-brace-format
msgid "You have {count} new message{plural}!"
msgstr "おぉ、\n{count}個メッセージがあるよ!"
msgid "Ops, something went wrong ... Rebooting ..."
msgstr "おっと!何かが間違っていた。。。リブートしている。。。"
msgstr "何か間違った。\nリブートしている。"
#, python-brace-format
msgid "Kicked {num} stations\n"
msgstr ""
msgstr "{num}回拒否された。\n"
msgid "Made >999 new friends\n"
msgstr "1000人以上友達ができた。\n"
#, python-brace-format
msgid "Made {num} new friends\n"
msgstr "{num}人の新しい友達を作りました\n"
msgstr "{num}人友達ができた。\n"
#, python-brace-format
msgid "Got {num} handshakes\n"
msgstr "{num}ハンドシェイクがある。\n"
msgstr "{num}回ハンドシェイクした。\n"
msgid "Met 1 peer"
msgstr "1人の仲間を会いました。"
msgstr "1人 仲間に会いました。"
#, python-brace-format
msgid "Met {num} peers"
msgstr "{num}人の仲間を会いました。"
msgstr "{num}人 仲間に会いました。"
#, python-brace-format
msgid ""
@ -192,6 +228,9 @@ msgid ""
"{associated} new friends and ate {handshakes} handshakes! #pwnagotchi "
"#pwnlog #pwnlife #hacktheplanet #skynet"
msgstr ""
"{duration}中{deauthed}のAPに拒否されたけど、{associated}回チャンスがあって"
"{handshakes}回ハンドシェイクがあったよ。。 #pwnagotchi #pwnlog #pwnlife "
"#hacktheplanet #skynet"
msgid "hours"
msgstr "時間"
@ -203,7 +242,7 @@ msgid "seconds"
msgstr "秒"
msgid "hour"
msgstr "時"
msgstr "時"
msgid "minute"
msgstr "分"

Binary file not shown.

@ -158,7 +158,7 @@ msgstr "Кикбан {mac}!"
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "Кул, фативме {num} нови ракувања!"
msgid "Ops, something went wrong ... Rebooting ..."
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "Упс, нешто не еко што треба ... Рестартирам ..."
#, python-brace-format

Binary file not shown.

@ -20,7 +20,7 @@ msgid "ZzzzZZzzzzZzzz"
msgstr "ZzzzZZzzzzZzzz"
msgid "Hi, I'm Pwnagotchi! Starting ..."
msgstr "Hoi, Ik ben Pwnagotchi! Opstarten ..."
msgstr "Hoi, Ik ben Pwnagotchi! Aan het opstarten ..."
msgid "New day, new hunt, new pwns!"
msgstr "Nieuwe dag, nieuwe jacht, nieuwe pwns!"
@ -32,7 +32,7 @@ msgid "AI ready."
msgstr "AI is klaar."
msgid "The neural network is ready."
msgstr "Neuronen netwerkis klaar voor gebruik."
msgstr "Neuronen netwerk is klaar."
#, python-brace-format
msgid "Hey, channel {channel} is free! Your AP will say thanks."
@ -42,13 +42,13 @@ msgid "I'm bored ..."
msgstr "Ik verveel me ..."
msgid "Let's go for a walk!"
msgstr "Laten we een rondje lopen!"
msgstr "Laten we gaan wandelen!"
msgid "This is the best day of my life!"
msgstr "Dit is de beste dag van mijn leven!"
msgid "Shitty day :/"
msgstr "Ruk dag :/"
msgstr "Wat een rotdag :/"
msgid "I'm extremely bored ..."
msgstr "Ik verveel me kapot ..."
@ -63,16 +63,16 @@ msgid "I'm living the life!"
msgstr "Beter kan het leven niet worden!"
msgid "I pwn therefore I am."
msgstr "Ik pwn daarom besta ik."
msgstr "Ik pwn daarom ben ik er."
msgid "So many networks!!!"
msgstr "Zo veel netwerken!!!"
msgid "I'm having so much fun!"
msgstr "Dit is zo leuk!"
msgstr "Ik heb zoveel plezier!"
msgid "My crime is that of curiosity ..."
msgstr "Mijn enige misdrijf is mijn nieuwsgierigheid ..."
msgstr "Mijn misdrijf is mijn nieuwsgierigheid ..."
#, python-brace-format
msgid "Hello {name}! Nice to meet you. {name}"
@ -88,11 +88,11 @@ msgstr "Uhm ...tot ziens {name}"
#, python-brace-format
msgid "{name} is gone ..."
msgstr "{name} is weg"
msgstr "{name} is weg ..."
#, python-brace-format
msgid "Whoops ... {name} is gone."
msgstr "Whoopsie ...{name} is weg"
msgstr "Whoopsie ...{name} is weg."
#, python-brace-format
msgid "{name} missed!"
@ -105,7 +105,7 @@ msgid "Nobody wants to play with me ..."
msgstr "Niemand wil met mij spelen ..."
msgid "I feel so alone ..."
msgstr "Zo alleen ..."
msgstr "Ik voel me zo alleen ..."
msgid "Where's everybody?!"
msgstr "Waar is iedereen?!"
@ -119,11 +119,11 @@ msgstr "Zzzzz"
#, python-brace-format
msgid "ZzzZzzz ({secs}s)"
msgstr ""
msgstr "ZzzZzzz ({secs}s)"
#, python-brace-format
msgid "Waiting for {secs}s ..."
msgstr "Even {secs}s wachten ..."
msgstr "Ik wacht voor {secs}s ..."
#, python-brace-format
msgid "Looking around ({secs}s)"
@ -139,26 +139,26 @@ msgstr "Verbinden met {what}"
#, python-brace-format
msgid "Yo {what}!"
msgstr ""
msgstr "Yo {what}!"
#, python-brace-format
msgid "Just decided that {mac} needs no WiFi!"
msgstr "Ik vind dat {mac} genoeg WiFiheeft gehad!"
msgstr "Ik besloot dat {mac} geen WiFi meer nodig heeft!"
#, python-brace-format
msgid "Deauthenticating {mac}"
msgstr "De-autoriseren {mac}"
msgstr "Deauthenticatie van {mac}"
#, python-brace-format
msgid "Kickbanning {mac}!"
msgstr "Ik ga {mac} even kicken!"
msgstr "Kickbanning {mac}!"
#, python-brace-format
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "Gaaf, we hebben {num} nieuwe handshake{plural}!"
msgstr "Cool, we hebben {num} nieuwe handshake{plural}!"
msgid "Ops, something went wrong ... Rebooting ..."
msgstr "Oops, iets ging fout ...Rebooting ..."
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "Oops, er ging iets fout ...Rebooting ..."
#, python-brace-format
msgid "Kicked {num} stations\n"
@ -166,11 +166,11 @@ msgstr "{num} stations gekicked\n"
#, python-brace-format
msgid "Made {num} new friends\n"
msgstr "{num} nieuwe vrienden\n"
msgstr "{num} nieuwe vrienden gemaakt.\n"
#, python-brace-format
msgid "Got {num} handshakes\n"
msgstr "{num} nieuwe handshakes\n"
msgstr "Ik heb {num} nieuwe handshakes\n"
msgid "Met 1 peer"
msgstr "1 peer ontmoet"
@ -190,19 +190,19 @@ msgstr ""
"gegeten! #pwnagotchi #pwnlog #pwnlife #hacktheplanet #skynet"
msgid "hours"
msgstr ""
msgstr "uren"
msgid "minutes"
msgstr ""
msgstr "minuten"
msgid "seconds"
msgstr ""
msgstr "seconden"
msgid "hour"
msgstr ""
msgstr "uur"
msgid "minute"
msgstr ""
msgstr "minuut"
msgid "second"
msgstr ""
msgstr "seconde"

Binary file not shown.

@ -0,0 +1,248 @@
# pwnagotchi norwegian voice data
# Copyright (C) 2019
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR untech <edvbot@gmail.com>, 2019.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-11-04 12:57+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Edvard Botten <edvbot@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: norwegian\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "ZzzzZZzzzzZzzz"
msgstr ""
msgid "Hi, I'm Pwnagotchi! Starting ..."
msgstr "Hei, jeg er Pwnagotchi! Starter ..."
msgid "New day, new hunt, new pwns!"
msgstr "En ny dag, ny jakt, og nye pwns!"
msgid "Hack the Planet!"
msgstr "Hack planeten!"
msgid "AI ready."
msgstr "AI klart."
msgid "The neural network is ready."
msgstr "Det nevrale nettverket er klart."
msgid "Generating keys, do not turn off ..."
msgstr "Generer nøkkler, ikke skru meg av ..."
#, python-brace-format
msgid "Hey, channel {channel} is free! Your AP will say thanks."
msgstr "Hei, kanalen {channel} er åpen! AP-en din takker."
msgid "Reading last session logs ..."
msgstr "Leser forrige sesjonen's logs ..."
#, python-brace-format
msgid "Read {lines_so_far} log lines so far ..."
msgstr "Har lest {lines_so_far} linjer hittil ..."
msgid "I'm bored ..."
msgstr "Kjeder meg ..."
msgid "Let's go for a walk!"
msgstr "La oss stikke på tur!"
msgid "This is the best day of my life!"
msgstr "Dette er den beste dagen i mitt liv!"
msgid "Shitty day :/"
msgstr "Jævlig dag :/"
msgid "I'm extremely bored ..."
msgstr "Kjeder livet av meg ..."
msgid "I'm very sad ..."
msgstr "Jeg er veldig trist ..."
msgid "I'm sad"
msgstr "Jeg er trist ..."
msgid "Leave me alone ..."
msgstr "La meg være alene ..."
msgid "I'm mad at you!"
msgstr "Jeg er sint på deg!"
msgid "I'm living the life!"
msgstr "Lever livet, lett!"
msgid "I pwn therefore I am."
msgstr "Jeg pwner derfor er jeg."
msgid "So many networks!!!"
msgstr "Så mange nettverk!!!"
msgid "I'm having so much fun!"
msgstr "Jeg har det så gøy!"
msgid "My crime is that of curiosity ..."
msgstr "Nysgjerrighet er min eneste forbrytelse ..."
#, python-brace-format
msgid "Hello {name}! Nice to meet you."
msgstr "Hallo {name}! Hyggelig å treffe deg!"
#, python-brace-format
msgid "Yo {name}! Sup?"
msgstr "Yo {name}! Skjer'a?"
#, python-brace-format
msgid "Hey {name} how are you doing?"
msgstr "Heisann {name} driver du med da?"
#, python-brace-format
msgid "Unit {name} is nearby!"
msgstr "{name} er i nærheten!"
#, python-brace-format
msgid "Uhm ... goodbye {name}"
msgstr "Uhm ... Ha det {name}"
#, python-brace-format
msgid "{name} is gone ..."
msgstr "{name} er borte ..."
#, python-brace-format
msgid "Whoops ... {name} is gone."
msgstr "Oi da ... {name} forsvant."
#, python-brace-format
msgid "{name} missed!"
msgstr "{name} bommet!"
msgid "Missed!"
msgstr "Bommet!"
msgid "Good friends are a blessing!"
msgstr "Gode venner er livet verdt!"
msgid "I love my friends!"
msgstr "Jeg digger vennene mine!"
msgid "Nobody wants to play with me ..."
msgstr "Ingen vil leke med meg ..."
msgid "I feel so alone ..."
msgstr "Jeg er så ensom ..."
msgid "Where's everybody?!"
msgstr "Hvor er alle sammen?!"
#, python-brace-format
msgid "Napping for {secs}s ..."
msgstr "Sover i {secs}s ..."
msgid "Zzzzz"
msgstr ""
#, python-brace-format
msgid "ZzzZzzz ({secs}s)"
msgstr ""
msgid "Good night."
msgstr "God natt."
msgid "Zzz"
msgstr ""
#, python-brace-format
msgid "Waiting for {secs}s ..."
msgstr "Venter i {secs}s ..."
#, python-brace-format
msgid "Looking around ({secs}s)"
msgstr "Ser meg rundt ({secs}s)"
#, python-brace-format
msgid "Hey {what} let's be friends!"
msgstr "Hei {what} la oss være venner!"
#, python-brace-format
msgid "Associating to {what}"
msgstr "Tilkobler til {what}"
#, python-brace-format
msgid "Yo {what}!"
msgstr ""
#, python-brace-format
msgid "Just decided that {mac} needs no WiFi!"
msgstr "Bestemte meg att {mac} ikke lenger trenger WiFi!"
#, python-brace-format
msgid "Deauthenticating {mac}"
msgstr "Kobler av {mac}"
#, python-brace-format
msgid "Kickbanning {mac}!"
msgstr "Kickbanner {mac}"
#, python-brace-format
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "Fett, vi fikk {num} nye håndtrykk!"
#, python-brace-format
msgid "You have {count} new message{plural}!"
msgstr "Du har {count} melding{plural}!"
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "Oi, noe gikk helt skakk ... Rebooter ..."
#, python-brace-format
msgid "Kicked {num} stations\n"
msgstr "Kicket {num} stasjoner\n"
#, python-brace-format
msgid "Made {num} new friends\n"
msgstr "Møtte {num} nye venner\n"
#, python-brace-format
msgid "Got {num} handshakes\n"
msgstr "Skaffet {num} håndtrykk\n"
msgid "Met 1 peer"
msgstr "Møtte 1 annen"
#, python-brace-format
msgid "Met {num} peers"
msgstr "Møtte {num} andre"
#, python-brace-format
msgid ""
"I've been pwning for {duration} and kicked {deauthed} clients! I've also met "
"{associated} new friends and ate {handshakes} handshakes! #pwnagotchi "
"#pwnlog #pwnlife #hacktheplanet #skynet"
msgstr "Jeg har pwnet for {duration} og kicket {dauthed} klienter! Jeg har også "
"møtt {associated} nye venner og spiste {handshakes} håndtrykk! #pwnagotchi "
"#pwnlog #pwnlife #hacktheplanet #skynet"
msgid "hours"
msgstr "timer"
msgid "minutes"
msgstr "minutter"
msgid "seconds"
msgstr "sekunder"
msgid "hour"
msgstr "time"
msgid "minute"
msgstr "minutt"
msgid "second"
msgstr "sekund"

Binary file not shown.

@ -5,9 +5,9 @@
#
msgid ""
msgstr ""
"Project-Id-Version: 0.0.2\n"
"Project-Id-Version: 0.1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-21 08:39+0200\n"
"POT-Creation-Date: 2019-11-04 06:37+0100\n"
"PO-Revision-Date: 2019-10-21 10:55+0200\n"
"Last-Translator: gkrs <457603+gkrs@users.noreply.github.com>\n"
"Language-Team: PL <457603+gkrs@users.noreply.github.com>\n"
@ -41,6 +41,13 @@ msgstr "Generuję klucze, nie wyłączaj ..."
msgid "Hey, channel {channel} is free! Your AP will say thanks."
msgstr "Hej, kanał {channel} jest wolny! Twój AP będzie Ci wdzięczny."
msgid "Reading last session logs ..."
msgstr "Czytam logi z ostatniej sesji ..."
#, python-brace-format
msgid "Read {lines_so_far} log lines so far ..."
msgstr "Na razie przeczytałem {lines_so_far} linii logów ..."
msgid "I'm bored ..."
msgstr "Nudzi mi się ..."
@ -62,6 +69,12 @@ msgstr "Jest mi bardzo smutno ..."
msgid "I'm sad"
msgstr "Jest mi smutno"
msgid "Leave me alone ..."
msgstr "Zostaw mnie w spokoju ..."
msgid "I'm mad at you!"
msgstr "Wkurzam się na ciebie"
msgid "I'm living the life!"
msgstr "Cieszę się życiem!"
@ -81,6 +94,14 @@ msgstr "Moją zbrodnią jest ciekawość ..."
msgid "Hello {name}! Nice to meet you."
msgstr "Cześć {name}! Miło Cię poznać."
#, python-brace-format
msgid "Yo {name}! Sup?"
msgstr "Siema {name}! Co słychać?"
#, python-brace-format
msgid "Hey {name} how are you doing?"
msgstr "Hej {name} jak się masz?"
#, python-brace-format
msgid "Unit {name} is nearby!"
msgstr "Urządzenie {name} jest w pobliżu!"
@ -104,6 +125,12 @@ msgstr "{name} pudło!"
msgid "Missed!"
msgstr "Pudło!"
msgid "Good friends are a blessing!"
msgstr "Dobrzy przyjaciele to błogosławieństwo!"
msgid "I love my friends!"
msgstr "Kocham moich przyjaciół!"
msgid "Nobody wants to play with me ..."
msgstr "Nikt nie chce się ze mną bawić ..."
@ -166,7 +193,11 @@ msgstr "Banuję {mac}!"
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "Super, zdobyliśmy {num} nowych handshake'ów!"
msgid "Ops, something went wrong ... Rebooting ..."
#, python-brace-format
msgid "You have {count} new message{plural}!"
msgstr "Masz {count} nowych wiadomości!"
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "Ups, coś poszło nie tak ... Restaruję ..."
#, python-brace-format
@ -195,8 +226,8 @@ msgid ""
"#pwnlog #pwnlife #hacktheplanet #skynet"
msgstr ""
"Pwnowałem {duration} i wyrzuciłem {deauthed} klientów! Spotkałem także "
"{associated} nowych przyjaciół i zjadłem {handshakes} handshake'ow! #pwnagotchi "
"#pwnlog #pwnlife #hacktheplanet #skynet"
"{associated} nowych przyjaciół i zjadłem {handshakes} handshake'ow! "
"#pwnagotchi #pwnlog #pwnlife #hacktheplanet #skynet"
msgid "hours"
msgstr "godzin"

@ -158,7 +158,7 @@ msgstr "Kickbanning {mac}"
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "Legal, nos capturamos {num} handshake{plural} novo{plural}!"
msgid "Ops, something went wrong ... Rebooting ..."
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "Ops, algo falhou ... Reiniciando ..."
#, python-brace-format

Binary file not shown.

@ -164,7 +164,7 @@ msgstr "A chutar {mac}!"
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "Porreiro, temos {num} novo handshake{plural}!"
msgid "Ops, something went wrong ... Rebooting ..."
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "Ups, algo correu mal ... A reiniciar ..."
#, python-brace-format

Binary file not shown.

@ -0,0 +1,249 @@
# Pwnagotchi translation.
# Copyright (C) 2019
# This file is distributed under the same license as the pwnagotchi package.
# FIRST AUTHOR <radu.ungureanu@techie.com>, 2019.
#
#,
msgid ""
msgstr ""
"Project-Id-Version: 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-11-04 12:57+0100\n"
"PO-Revision-Date: 2019-11-20 00:18+594\n"
"Last-Translator: Ungureanu Radu-Andrei <radu.ungureanu@techie.com>\n"
"Language-Team: pwnagotchi <33197631+dadav@users.noreply.github."
"com>\n"
"Language: ro\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "ZzzzZZzzzzZzzz"
msgstr ""
msgid "Hi, I'm Pwnagotchi! Starting ..."
msgstr "Buna, sunt Pwnagotchi! Pornesc..."
msgid "New day, new hunt, new pwns!"
msgstr "O noua zi, o noua vanatoare, noi pwn-uri!"
msgid "Hack the Planet!"
msgstr "Pirateaza planeta!"
msgid "AI ready."
msgstr "AI-ul e gata."
msgid "The neural network is ready."
msgstr "Rețeaua neuronală este gata."
msgid "Generating keys, do not turn off ..."
msgstr "Se generează chei, nu închide..."
#, python-brace-format
msgid "Hey, channel {channel} is free! Your AP will say thanks."
msgstr "Hey, canalul {channel} este liber! AP-ul tău îti va mulțumi."
msgid "Reading last session logs ..."
msgstr "Se citesc log-urile din sesiunea anterioara..."
#, python-brace-format
msgid "Read {lines_so_far} log lines so far ..."
msgstr "Am citit {lines_so_far} linii din log pana acum..."
msgid "I'm bored ..."
msgstr "Sunt plictisit..."
msgid "Let's go for a walk!"
msgstr "Hai să ne plimbăm!"
msgid "This is the best day of my life!"
msgstr "Asta este cea mai buna zi din viața mea!"
msgid "Shitty day :/"
msgstr "O zi proasta :/"
msgid "I'm extremely bored ..."
msgstr "Sunt extrem de plictisit..."
msgid "I'm very sad ..."
msgstr "Sunt foarte trist..."
msgid "I'm sad"
msgstr "Sunt trist"
msgid "Leave me alone ..."
msgstr "Lasă-mă in pace..."
msgid "I'm mad at you!"
msgstr "Sunt supărat pe tine!"
msgid "I'm living the life!"
msgstr "Trăiesc viața!"
msgid "I pwn therefore I am."
msgstr "Eu pwn-ez, deci aici sunt."
msgid "So many networks!!!"
msgstr "Atât de multe rețele!"
msgid "I'm having so much fun!"
msgstr "Mă distrez așa de mult!"
msgid "My crime is that of curiosity ..."
msgstr "Crima mea este una de curiozitate..."
#, python-brace-format
msgid "Hello {name}! Nice to meet you."
msgstr "Bună {name}! Mă bucur să te cunosc."
#, python-brace-format
msgid "Yo {name}! Sup?"
msgstr "Yo {name}! Cmf?"
#, python-brace-format
msgid "Hey {name} how are you doing?"
msgstr "Hey {nume} ce mai faci?"
#, python-brace-format
msgid "Unit {name} is nearby!"
msgstr "Unitatea {name} este aproape!"
#, python-brace-format
msgid "Uhm ... goodbye {name}"
msgstr "Uhm... Pa {name}"
#, python-brace-format
msgid "{name} is gone ..."
msgstr "{name} a dispărut."
#, python-brace-format
msgid "Whoops ... {name} is gone."
msgstr "Oops... {name} a dispărut."
#, python-brace-format
msgid "{name} missed!"
msgstr "{name} ratat!"
msgid "Missed!"
msgstr "Ratat!"
msgid "Good friends are a blessing!"
msgstr "Prietenii buni sunt o binecuvântare!"
msgid "I love my friends!"
msgstr "Îmi iubesc prietenii!"
msgid "Nobody wants to play with me ..."
msgstr "Nimeni nu vrea sa se joace cu mine..."
msgid "I feel so alone ..."
msgstr "Mă simt așa de singuratic..."
msgid "Where's everybody?!"
msgstr "Unde-i toată lumea?!"
#, python-brace-format
msgid "Napping for {secs}s ..."
msgstr "Dorm pentru {secs}s..."
msgid "Zzzzz"
msgstr "Zzzzz"
#, python-brace-format
msgid "ZzzZzzz ({secs}s)"
msgstr "ZzzZzzz ({secs}s)"
msgid "Good night."
msgstr "Noapte bună."
msgid "Zzz"
msgstr "Zzz"
#, python-brace-format
msgid "Waiting for {secs}s ..."
msgstr "Aștept pentru {secs}s..."
#, python-brace-format
msgid "Looking around ({secs}s)"
msgstr "Mă uit împrejur ({secs}s)"
#, python-brace-format
msgid "Hey {what} let's be friends!"
msgstr "Hey {what} hai să fim prieteni!"
#, python-brace-format
msgid "Associating to {what}"
msgstr "Mă asociez cu {what}"
#, python-brace-format
msgid "Yo {what}!"
msgstr "Yo {what}"
#, python-brace-format
msgid "Just decided that {mac} needs no WiFi!"
msgstr "Am decis că lui {mac} nu-i trebuie WiFi!"
#, python-brace-format
msgid "Deauthenticating {mac}"
msgstr "Îl deautentific pe {mac}"
#, python-brace-format
msgid "Kickbanning {mac}!"
msgstr "Îi dau kickban lui {mac}"
#, python-brace-format
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "Șmecher, avem {num} de handshake-uri noi!"
#, python-brace-format
msgid "You have {count} new message{plural}!"
msgstr "Ai {count} mesaj(e) nou/noi!"
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "OOps, ceva s-a întamplat... Îmi dau reboot...+"
#, python-brace-format
msgid "Kicked {num} stations\n"
msgstr "Am dat afară {num} de stații\n"
#, python-brace-format
msgid "Made {num} new friends\n"
msgstr "Am făcut {num} prieteni noi \n"
#, python-brace-format
msgid "Got {num} handshakes\n"
msgstr "Am primit {num} de handshake-uri\n"
msgid "Met 1 peer"
msgstr "Am întalnit un peer"
#, python-brace-format
msgid "Met {num} peers"
msgstr "Am întalnit {num} de peer-uri"
#, python-brace-format
msgid ""
"I've been pwning for {duration} and kicked {deauthed} clients! I've also met "
"{associated} new friends and ate {handshakes} handshakes! #pwnagotchi "
"#pwnlog #pwnlife #hacktheplanet #skynet"
msgstr "Eu am făcut pwning pentru {duration} și am dat afara {deauthed} clienți! "
"De asemenea, am întalnit {associated} prieteni noi și am mancat {handshakes} de "
"handshake-uri! #pwnagotchi #pwnlog #pwnlife #hacktheplanet #skynet"
msgid "hours"
msgstr "ore"
msgid "minutes"
msgstr "minute"
msgid "seconds"
msgstr "secunde"
msgid "hour"
msgstr "oră"
msgid "minute"
msgstr "minut"
msgid "second"
msgstr "secundă"

Binary file not shown.

@ -1,46 +1,58 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Pwnagotchi Russian translation.
# Copyright (C) 2019
# This file is distributed under the same license as the pwnagotchi package.
# FIRST AUTHOR <25989971+adolfaka@users.noreply.github.com>, 2019.
#
# Second author <https://github.com/mbgroot>, 2019
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-03 16:47+0200\n"
"PO-Revision-Date: 2019-10-05 18:50+0300\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Project-Id-Version: Pwnagotchi Russian translation v 0.0.2\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.2.4\n"
"Last-Translator: Elliot Manson\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
"Language: ru_RU\n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Language: ru\n"
"X-Generator: Poedit 2.2.4\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-Basepath: .\n"
"X-Poedit-SearchPath-0: voice.po\n"
msgid "ZzzzZZzzzzZzzz"
msgstr "ZzzzZZzzzzZzzz"
msgstr "Хрррр..."
msgid "Hi, I'm Pwnagotchi! Starting ..."
msgstr "Привет, я Pwnagotchi! Поехали …"
msgstr "Привет, я Pwnagotchi! Стартуем!"
msgid "New day, new hunt, new pwns!"
msgstr "Новый день, новая охота, новые взломы!"
msgid "Hack the Planet!"
msgstr "Хак зе планет!"
msgstr "Взломай эту Планету!"
msgid "AI ready."
msgstr "AI готов."
msgstr "A.I. готов."
msgid "The neural network is ready."
msgstr "Нейронная сеть готова."
msgid "Generating keys, do not turn off ..."
msgstr "Генерация ключей, не выключайте..."
#, python-brace-format
msgid "Hey, channel {channel} is free! Your AP will say thanks."
msgstr "Эй, канал {channel} свободен! Ваша точка доступа скажет спасибо."
msgid "Reading last session logs ..."
msgstr "Чтение логов последнего сеанса..."
#, python-brace-format
msgid "Read {lines_so_far} log lines so far ..."
msgstr "Чтение {lines_so_far} строк журнала..."
msgid "I'm bored ..."
msgstr "Мне скучно …"
@ -62,8 +74,14 @@ msgstr "Мне очень грустно …"
msgid "I'm sad"
msgstr "Мне грустно"
msgid "Leave me alone ..."
msgstr "Оставь меня в покое..."
msgid "I'm mad at you!"
msgstr "Я зол на тебя!"
msgid "I'm living the life!"
msgstr "Угараю по полной!"
msgstr "Живу полной жизнью!"
msgid "I pwn therefore I am."
msgstr "Я взламываю, поэтому я существую."
@ -75,15 +93,23 @@ msgid "I'm having so much fun!"
msgstr "Мне так весело!"
msgid "My crime is that of curiosity ..."
msgstr "Моe преступление - это любопытство …"
msgstr "Моё преступление - это любопытство…"
#, python-brace-format
msgid "Hello {name}! Nice to meet you. {name}"
msgstr "Привет, {name}! Приятно познакомиться. {name}"
msgstr "Привет, {name}! Рад встрече с тобой!"
#, python-brace-format
msgid "Unit {name} is nearby! {name}"
msgstr "Цель {name} близко! {name}"
msgstr "Цель {name} близко!"
#, python-brace-format
msgid "Hey {name} how are you doing?"
msgstr "Хэй {name}! Как дела?"
#, python-brace-format
msgid "Unit {name} is nearby!"
msgstr "Цель {name} рядом!"
#, python-brace-format
msgid "Uhm ... goodbye {name}"
@ -91,7 +117,7 @@ msgstr "Хм … до свидания {name}"
#, python-brace-format
msgid "{name} is gone ..."
msgstr "{name} исчезла …"
msgstr "{name} ушла…"
#, python-brace-format
msgid "Whoops ... {name} is gone."
@ -104,11 +130,17 @@ msgstr "{name} упустил!"
msgid "Missed!"
msgstr "Промахнулся!"
msgid "Good friends are a blessing!"
msgstr "Хорошие друзья - это благословение!"
msgid "I love my friends!"
msgstr "Я люблю своих друзей!"
msgid "Nobody wants to play with me ..."
msgstr "Никто не хочет со мной играть ..."
msgid "I feel so alone ..."
msgstr "Мне так одиноко …"
msgstr "Я так одинок…"
msgid "Where's everybody?!"
msgstr "Где все?!"
@ -118,11 +150,17 @@ msgid "Napping for {secs}s ..."
msgstr "Дремлет {secs}с …"
msgid "Zzzzz"
msgstr "Zzzzz"
msgstr "Хррр..."
#, python-brace-format
msgid "ZzzZzzz ({secs}s)"
msgstr "ZzzZzzz ({secs}c)"
msgstr "Хррррр.. ({secs}c)"
msgid "Good night."
msgstr "Доброй ночи."
msgid "Zzz"
msgstr "Хрррр"
#, python-brace-format
msgid "Waiting for {secs}s ..."
@ -130,7 +168,7 @@ msgstr "Ждем {secs}c …"
#, python-brace-format
msgid "Looking around ({secs}s)"
msgstr "Оглядываюсь вокруг ({secs}с)"
msgstr "Осматриваюсь вокруг ({secs}с)"
#, python-brace-format
msgid "Hey {what} let's be friends!"
@ -160,7 +198,7 @@ msgstr "Кикаю {mac}!"
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "Круто, мы получили {num} новое рукопожатие!"
msgid "Ops, something went wrong ... Rebooting ..."
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "Ой, что-то пошло не так … Перезагружаюсь …"
#, python-brace-format
@ -173,7 +211,7 @@ msgstr "Заимел {num} новых друзей\n"
#, python-brace-format
msgid "Got {num} handshakes\n"
msgstr "Получил {num} рукопожатие\n"
msgstr "Получил {num} рукопожатий\n"
msgid "Met 1 peer"
msgstr "Встретился один знакомый"

Binary file not shown.

@ -158,7 +158,7 @@ msgstr ""
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "Lysande, vi har {num} ny handskakningar{plural}!"
msgid "Ops, something went wrong ... Rebooting ..."
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "Hoppsan, någpt gick fel ... Startar om ..."
#, python-brace-format

Binary file not shown.

@ -0,0 +1,227 @@
# Slovak language
# Copyright (C) 2019
# This file is distributed under the same license as the pwnagotchi package.
# mil1200 <mil.kyselica@gmail.com>, 2019.
#
#
msgid ""
msgstr ""
"Project-Id-Version: 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-11-8 17:55+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Milan Kyselica <mil.kyselica@gmail.com>\n"
"Language-Team: SK\n"
"Language: sk\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "ZzzzZZzzzzZzzz"
msgstr "ZzzzZZzzzzZzzz"
msgid "Hi, I'm Pwnagotchi! Starting ..."
msgstr "Ahoj, ja som Pwnagotchi! Začíname ..."
msgid "New day, new hunt, new pwns!"
msgstr "Nový deň, nový lov, nové pwns!"
msgid "Hack the Planet!"
msgstr "Hacknime Planétu!"
msgid "AI ready."
msgstr "AI pripravené."
msgid "The neural network is ready."
msgstr "Neurónová sieť je pripravená."
msgid "Generating keys, do not turn off ..."
msgstr "Generujú sa kľúče, nevypínaj ..."
#, python-brace-format
msgid "Hey, channel {channel} is free! Your AP will say thanks."
msgstr "Hej, kanál {channel} je voľný! Váš AP vám poďakuje."
msgid "I'm bored ..."
msgstr "Nudím sa ..."
msgid "Let's go for a walk!"
msgstr "Poďme na prechádzku!"
msgid "This is the best day of my life!"
msgstr "Toto je najlepší deň môjho života!"
msgid "Shitty day :/"
msgstr "Na hovno deň :/"
msgid "I'm extremely bored ..."
msgstr "Veľmi sa nudím ..."
msgid "I'm very sad ..."
msgstr "Som veľmi smutný ..."
msgid "I'm sad"
msgstr "Som smutný"
msgid "I'm living the life!"
msgstr "Žijem život!"
msgid "I pwn therefore I am."
msgstr "I pwn therefore I am."
msgid "So many networks!!!"
msgstr "Toľko sietí !!!"
msgid "I'm having so much fun!"
msgstr "Zabávam sa!"
msgid "My crime is that of curiosity ..."
msgstr "Môj zločin je zvedavosť ..."
#, python-brace-format
msgid "Hello {name}! Nice to meet you."
msgstr "Dobrý deň, {name}! Rád som ťa spoznal."
#, python-brace-format
msgid "Unit {name} is nearby!"
msgstr "Jednotka {name} je blízko!"
#, python-brace-format
msgid "Uhm ... goodbye {name}"
msgstr "Uhm ... zbohom {name}"
#, python-brace-format
msgid "{name} is gone ..."
msgstr "{name} je preč ..."
#, python-brace-format
msgid "Whoops ... {name} is gone."
msgstr "Hups ... {name} je preč."
#, python-brace-format
msgid "{name} missed!"
msgstr "{name} nechytené!"
msgid "Missed!"
msgstr "Vedľa!"
msgid "Good friends are a blessing!"
msgstr "Dobrí priatelia sú požehnaním!"
msgid "I love my friends!"
msgstr "Milujem svojich priateľov!"
msgid "Nobody wants to play with me ..."
msgstr "Nikto sa so mnou nechce hrať ..."
msgid "I feel so alone ..."
msgstr "Cítim sa tak sám ..."
msgid "Where's everybody?!"
msgstr "Kde sú všetci ?!"
#, python-brace-format
msgid "Napping for {secs}s ..."
msgstr "Zdriemnem si na {secs}s ..."
msgid "Zzzzz"
msgstr "Zzzzz"
#, python-brace-format
msgid "ZzzZzzz ({secs}s)"
msgstr "ZzzZzzz ({secs}s)"
msgid "Good night."
msgstr "Dobrú noc."
msgid "Zzz"
msgstr "Zzz"
#, python-brace-format
msgid "Waiting for {secs}s ..."
msgstr "Čaká sa {secs}s ..."
#, python-brace-format
msgid "Looking around ({secs}s)"
msgstr "Rozhliadam sa okolo ({secs} s)"
#, python-brace-format
msgid "Hey {what} let's be friends!"
msgstr "Ahoj {what} buďme priatelia!"
#, python-brace-format
msgid "Associating to {what}"
msgstr "Spájam sa s {what}"
#, python-brace-format
msgid "Yo {what}!"
msgstr "Yo {what}!"
#, python-brace-format
msgid "Just decided that {mac} needs no WiFi!"
msgstr "Rozhodol som sa že {mac} nepotrebuje Wi-Fi!"
#, python-brace-format
msgid "Deauthenticating {mac}"
msgstr "Deautentifikujem {mac}"
#, python-brace-format
msgid "Kickbanning {mac}!"
msgstr "Kickujem {mac}!"
#, python-brace-format
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "Super, máme {num} nový handshake{plural}!"
#, python-brace-format
msgid "You have {count} new message{plural}!"
msgstr "Máte {count} novú správu{plural}!"
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "Ops, niečo sa pokazilo ... Reštartujem sa ..."
#, python-brace-format
msgid "Kicked {num} stations\n"
msgstr "Kicknutá/ých {num} stanica/íc\n"
#, python-brace-format
msgid "Made {num} new friends\n"
msgstr "Získaní {num} noví kamaráti\n"
#, python-brace-format
msgid "Got {num} handshakes\n"
msgstr "Získali sme {num} handshake/-y/ov rúk\n"
msgid "Met 1 peer"
msgstr "Sretli sme 1 rovesníka"
#, python-brace-format
msgid "Met {num} peers"
msgstr "Stretli sme {num} rovesníkov"
#, python-brace-format
msgid ""
"I've been pwning for {duration} and kicked {deauthed} clients! I've also met "
"{associated} new friends and ate {handshakes} handshakes! #pwnagotchi "
"#pwnlog #pwnlife #hacktheplanet #skynet"
msgstr "Pwnoval som {duration} a kickol som {deauthed} klienta/ov! Tiež som"
"stretol {associated} nového/ých kamaráta/ov a zjedol {handshakes} handshake/y!"
" #pwnagotchi #pwnlog #pwnlife #hacktheplanet #skynet"
msgid "hours"
msgstr "hodiny"
msgid "minutes"
msgstr "minúty"
msgid "seconds"
msgstr "sekundy"
msgid "hour"
msgstr "hodina"
msgid "minute"
msgstr "minúta"
msgid "second"
msgstr "sekunda"

Binary file not shown.

@ -0,0 +1,248 @@
# Interfaz en español para pwnagotchi
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Angel Hernandez Segura, 2019.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-11-04 12:57+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Angel Hernandez Segura <ahsec.7@gmail.com>\n"
"Language-Team: Español <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "ZzzzZZzzzzZzzz"
msgstr "ZzzzZZzzzzZzzz"
msgid "Hi, I'm Pwnagotchi! Starting ..."
msgstr "Hola, Soy Pwnagotchi! Iniciando..."
msgid "New day, new hunt, new pwns!"
msgstr "Un nuevo dia, nuevos objetivos, nuevos pwns"
msgid "Hack the Planet!"
msgstr "Hack the Planet!"
msgid "AI ready."
msgstr "IA lista"
msgid "The neural network is ready."
msgstr "La red neuronal esta lista"
msgid "Generating keys, do not turn off ..."
msgstr "Generando llaves, no apagar"
#, python-brace-format
msgid "Hey, channel {channel} is free! Your AP will say thanks."
msgstr "Hey, canal {channel} esta libre! Tu AP te lo agredecera"
msgid "Reading last session logs ..."
msgstr "Leyendo logs de la ultima sesion"
#, python-brace-format
msgid "Read {lines_so_far} log lines so far ..."
msgstr "He leido {lines_so_far} lineas de los logs hasta ahora "
msgid "I'm bored ..."
msgstr "Estoy aburrido"
msgid "Let's go for a walk!"
msgstr "Vamos a caminar!"
msgid "This is the best day of my life!"
msgstr "Este es el mejor dia de mi vida"
msgid "Shitty day :/"
msgstr "Dia de mierda :/"
msgid "I'm extremely bored ..."
msgstr "Estoy extremadamente aburrido ..."
msgid "I'm very sad ..."
msgstr "Estoy mut triste"
msgid "I'm sad"
msgstr "Estoy triste"
msgid "Leave me alone ..."
msgstr "Dejame solo ..."
msgid "I'm mad at you!"
msgstr "Estoy enojado contigo!"
msgid "I'm living the life!"
msgstr "Estoy disfrutando la vida!"
msgid "I pwn therefore I am."
msgstr "Yo pwn, por lo tanto existo"
msgid "So many networks!!!"
msgstr "Tantas redes!!!"
msgid "I'm having so much fun!"
msgstr "Me estoy divirtiendo mucho!"
msgid "My crime is that of curiosity ..."
msgstr "Mi crimen es la curiosidad ..."
#, python-brace-format
msgid "Hello {name}! Nice to meet you."
msgstr "Hola {name}! Mucho gusto."
#, python-brace-format
msgid "Yo {name}! Sup?"
msgstr "Yo {name}! Que hay?"
#, python-brace-format
msgid "Hey {name} how are you doing?"
msgstr "Hey {name} como te va?"
#, python-brace-format
msgid "Unit {name} is nearby!"
msgstr "Unit {name} esta cerca!"
#, python-brace-format
msgid "Uhm ... goodbye {name}"
msgstr "Uhm ... adios {name}"
#, python-brace-format
msgid "{name} is gone ..."
msgstr "{name} se fue ..."
#, python-brace-format
msgid "Whoops ... {name} is gone."
msgstr "Whoops ... {name} se fue"
#, python-brace-format
msgid "{name} missed!"
msgstr "{name} se ha perdido!"
msgid "Missed!"
msgstr "Perdido!"
msgid "Good friends are a blessing!"
msgstr "Los buenos amigos son una bendicion"
msgid "I love my friends!"
msgstr "Amo a mis amigos!"
msgid "Nobody wants to play with me ..."
msgstr "Nadie quiere jugar conmigo ..."
msgid "I feel so alone ..."
msgstr "Me siento muy solo ..."
msgid "Where's everybody?!"
msgstr "Donde estan todos?!"
#, python-brace-format
msgid "Napping for {secs}s ..."
msgstr "Tomando una siesta por {secs}s ..."
msgid "Zzzzz"
msgstr "Zzzzz"
#, python-brace-format
msgid "ZzzZzzz ({secs}s)"
msgstr "ZzzZzzz ({secs}s) "
msgid "Good night."
msgstr "Buenas noches."
msgid "Zzz"
msgstr "Zzz"
#, python-brace-format
msgid "Waiting for {secs}s ..."
msgstr "Esperando por {secs}s ..."
#, python-brace-format
msgid "Looking around ({secs}s)"
msgstr "Mirando alrededor ({secs}s)"
#, python-brace-format
msgid "Hey {what} let's be friends!"
msgstr "Hey {what} vamos a ser amigos!"
#, python-brace-format
msgid "Associating to {what}"
msgstr "Asociandose a {what}"
#, python-brace-format
msgid "Yo {what}!"
msgstr "Yo {what}!"
#, python-brace-format
msgid "Just decided that {mac} needs no WiFi!"
msgstr "Acabo de decidir que {mac} no necesita WiFi!"
#, python-brace-format
msgid "Deauthenticating {mac}"
msgstr "De-autenticando {mac}"
#, python-brace-format
msgid "Kickbanning {mac}!"
msgstr "Vetando {mac}!"
#, python-brace-format
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "Bien, obtuvimos {num} nuevos handshake{plural}!"
#, python-brace-format
msgid "You have {count} new message{plural}!"
msgstr "Tienes {count} nuevos mensajes{plural}!"
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "Oops, algo salio mal ... Reiniciando ..."
#, python-brace-format
msgid "Kicked {num} stations\n"
msgstr "Bloquee {num} staciones\n"
#, python-brace-format
msgid "Made {num} new friends\n"
msgstr "Hice {num} nuevos amigos\n"
#, python-brace-format
msgid "Got {num} handshakes\n"
msgstr "Obtuve {num} handshakes\n"
msgid "Met 1 peer"
msgstr "Conoci a 1 unidad"
#, python-brace-format
msgid "Met {num} peers"
msgstr "conoci {num} unidades"
#, python-brace-format
msgid ""
"I've been pwning for {duration} and kicked {deauthed} clients! I've also met "
"{associated} new friends and ate {handshakes} handshakes! #pwnagotchi "
"#pwnlog #pwnlife #hacktheplanet #skynet"
msgstr "He estado hackeando por {duration} y de-autenticando {deauthed} "
"clientes! Tambien conoci {associated} nuevos amigos y comi {handshakes} "
"handshakes! #pwnagotchi #pwnlog #pwnlife #hacktheplanet #skynet"
msgid "hours"
msgstr "horas"
msgid "minutes"
msgstr "minutos"
msgid "seconds"
msgstr "segundos"
msgid "hour"
msgstr "hora"
msgid "minute"
msgstr "minuto"
msgid "second"
msgstr "segundo"

Binary file not shown.

@ -0,0 +1,252 @@
# Pwnagotchi Turkish translation.
# Copyright (C) 2021
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <abtonc@icloud.com>, 2021.
#
msgid ""
msgstr ""
"Project-Id-Version: 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-11-29 21:50+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Arda Barış Tonç <abtonc@icloud.com>\n"
"Language-Team: \n"
"Language: Turkish\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "ZzzzZZzzzzZzzz"
msgstr "ZzzzZzzZzZZzzzzZ"
msgid "Hi, I'm Pwnagotchi! Starting ..."
msgstr "Merhaba, ben Pwnagotchi! Başlatılıyorum ..."
msgid "New day, new hunt, new pwns!"
msgstr "Yeni bir gün, yeni bir av, yeni pwn'lar!"
msgid "Hack the Planet!"
msgstr "Dünyayı Hackle!"
msgid "AI ready."
msgstr "Yapay zeka hazır."
msgid "The neural network is ready."
msgstr "Nöral ağ hazır."
msgid "Generating keys, do not turn off ..."
msgstr "Anahatarlar oluşturuluyor, lütfen kapatmayın ..."
#, python-brace-format
msgid "Hey, channel {channel} is free! Your AP will say thanks."
msgstr "Hey, {channel} kanalı boş! AP'niz teşekkür edecek."
msgid "Reading last session logs ..."
msgstr "Son oturum kayıtları okunuyor ..."
#, python-brace-format
msgid "Read {lines_so_far} log lines so far ..."
msgstr "Şimdiye kadar {lines_so_far} kayıt satırı okundu ..."
msgid "I'm bored ..."
msgstr "Sıkıldım ..."
msgid "Let's go for a walk!"
msgstr "Yürüyüşe çıkalım!"
msgid "This is the best day of my life!"
msgstr "Bugün hayatımın en iyi günü!"
msgid "Shitty day :/"
msgstr "Bok gibi bir gün :/"
msgid "I'm extremely bored ..."
msgstr "Çook sıkıldım ..."
msgid "I'm very sad ..."
msgstr "Çok mutsuzum ..."
msgid "I'm sad"
msgstr "Mutsuzum"
msgid "Leave me alone ..."
msgstr "Beni yalnız bırak ..."
msgid "I'm mad at you!"
msgstr "Sana kızgınım!"
msgid "I'm living the life!"
msgstr "Bu hayatı yaşıyorum!"
msgid "I pwn therefore I am."
msgstr "Ben, pwn'ladığım için benim."
msgid "So many networks!!!"
msgstr "Çok fazla ağ var!!!"
msgid "I'm having so much fun!"
msgstr "Çok eğleniyorum!"
msgid "My crime is that of curiosity ..."
msgstr "Tek suçum merak etmek ..."
#, python-brace-format
msgid "Hello {name}! Nice to meet you."
msgstr "Merhaba {name}! Tanıştığıma memnun oldum."
#, python-brace-format
msgid "Yo {name}! Sup?"
msgstr "{name}, kanka! Naber?"
#, python-brace-format
msgid "Hey {name} how are you doing?"
msgstr "Nasılsın {name}?"
#, python-brace-format
msgid "Unit {name} is nearby!"
msgstr "{name} birimi yakında!"
#, python-brace-format
msgid "Uhm ... goodbye {name}"
msgstr "ııı ... görüşürüz {name}"
#, python-brace-format
msgid "{name} is gone ..."
msgstr "{name} gitti."
#, python-brace-format
msgid "Whoops ... {name} is gone."
msgstr "Hoppala ... {name} gitti."
#, python-brace-format
msgid "{name} missed!"
msgstr "{name}'i kaçırdık ya!"
msgid "Missed!"
msgstr "Kaçırdık!"
msgid "Good friends are a blessing!"
msgstr "İyi arkadaşlar nimettir!"
msgid "I love my friends!"
msgstr "Arkadaşlarımı seviyorum!"
msgid "Nobody wants to play with me ..."
msgstr "Hiç kimse benimle birlikte oynamak istemiyor ..."
msgid "I feel so alone ..."
msgstr "Çok yalnız hissediyorum ..."
msgid "Where's everybody?!"
msgstr "Herkes nerede!?"
#, python-brace-format
msgid "Napping for {secs}s ..."
msgstr "{secs}dir kestiriyorum ..."
msgid "Zzzzz"
msgstr "ZzzzZz"
#, python-brace-format
msgid "ZzzZzzz ({secs}s)"
msgstr "ZzzZzzZ ({secs})"
msgid "Good night."
msgstr "İyi geceler."
msgid "Zzz"
msgstr "ZzZ"
#, python-brace-format
msgid "Waiting for {secs}s ..."
msgstr "{secs}dir bekleniyor ..."
#, python-brace-format
msgid "Looking around ({secs}s)"
msgstr "Etrafa bakıyorum ({secs})"
#, python-brace-format
msgid "Hey {what} let's be friends!"
msgstr "Arkadaş olalım {what}!"
#, python-brace-format
msgid "Associating to {what}"
msgstr "{what} ile tanışıyoruz"
#, python-brace-format
msgid "Yo {what}!"
msgstr "Hey {what}!"
#, python-brace-format
msgid "Just decided that {mac} needs no WiFi!"
msgstr "Sanırım {mac}'in WiFi'a ihtiyacı yok!"
#, python-brace-format
msgid "Deauthenticating {mac}"
msgstr "{mac} ağdan çıkarılıyor"
#, python-brace-format
msgid "Kickbanning {mac}!"
msgstr "{mac} atılıp yasaklanıyor!"
#, python-brace-format
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "Güzel, yeni {num} el sıkıştık!"
#, python-brace-format
msgid "You have {count} new message{plural}!"
msgstr "{count} Tane yeni mesajınız var!"
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "Haydaa, bir şeyler ters gitti ... Yeniden başlatılıyor ..."
#, python-brace-format
msgid "Kicked {num} stations\n"
msgstr "{num} İstasyon atıldı\n"
#, python-brace-format
msgid "Made {num} new friends\n"
msgstr "{num} Yeni arkadaş edindim\n"
#, python-brace-format
msgid "Got {num} handshakes\n"
msgstr "{num} El sıkıştım\n"
msgid "Met 1 peer"
msgstr "1 Kişiyle tanıştım"
#, python-brace-format
msgid "Met {num} peers"
msgstr "{num} Kişiyle tanıştım"
#, python-brace-format
msgid ""
"I've been pwning for {duration} and kicked {deauthed} clients! I've also met "
"{associated} new friends and ate {handshakes} handshakes! #pwnagotchi "
"#pwnlog #pwnlife #hacktheplanet #skynet"
msgstr ""
"{duration}'dır pwn'lıyorum ve {deauthed} kişiyi attım. Hem de {associated}"
"yeni kişiyle tanıştım ve {handshakes} el sıkıştım! #pwnagotchi "
"#pwnlog #pwnyaşam #dünyayıhackle #skynet"
msgid "hours"
msgstr "saat"
msgid "minutes"
msgstr "dakika"
msgid "seconds"
msgstr "saniye"
msgid "hour"
msgstr "saat"
msgid "minute"
msgstr "dakika"
msgid "second"
msgstr "saniye"
#, python-brace-format
msgid "Uploading data to {to} ..."
msgstr "{to}'ye veri yükleniyor ..."

Binary file not shown.

@ -0,0 +1,227 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <shark_shaking@hotmail.com>, 2020.
# 有很多翻譯不到味,如果有繁體愛好者,歡迎之後大家一起翻譯!
msgid ""
msgstr ""
"Project-Id-Version: 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-21 15:56+0200\n"
"PO-Revision-Date: 2020-10-22 10:00+0008\n"
"Last-Translator: ShaqKSmith <shark_shaking@hotmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: traditional chinese\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "ZzzzZZzzzzZzzz"
msgstr "ZzzzZZzzzzZzzz"
msgid "Hi, I'm Pwnagotchi! Starting ..."
msgstr "HI!我是Pwnagotchi!\n程式啟動..."
msgid "New day, new hunt, new pwns!"
msgstr "新的一天!\n新的狩獵!新的入侵!"
msgid "Hack the Planet!"
msgstr "我要駭入\n地球的所有人!"
msgid "AI ready."
msgstr "人工智慧已啟動."
msgid "The neural network is ready."
msgstr "神經網路已啟動."
msgid "Generating keys, do not turn off ..."
msgstr "產生金鑰中,\n請勿關閉..."
#, python-brace-format
msgid "Hey, channel {channel} is free! Your AP will say thanks."
msgstr "嘿,{channel}很順暢!\n你的WIFI會感謝你的."
msgid "I'm bored ..."
msgstr "我好無聊..."
msgid "Let's go for a walk!"
msgstr "我們出去走走吧!"
msgid "This is the best day of my life!"
msgstr "這是我生命中最美好的一天!"
msgid "Shitty day :/"
msgstr "糟糕的一天 :/"
msgid "I'm extremely bored ..."
msgstr "我超無聊的..."
msgid "I'm very sad ..."
msgstr "我好難過..."
msgid "I'm sad"
msgstr "傷心。"
msgid "I'm living the life!"
msgstr "真是充實的一生!"
msgid "I pwn therefore I am."
msgstr "我駭故我在."
msgid "So many networks!!!"
msgstr "好多網路啊!!!"
msgid "I'm having so much fun!"
msgstr "我玩的超級開心!"
msgid "My crime is that of curiosity ..."
msgstr "我的缺點就是\n太好奇了..."
#, python-brace-format
msgid "Hello {name}! Nice to meet you."
msgstr "Hello{name}!\n很高興認識你."
#, python-brace-format
msgid "Unit {name} is nearby!"
msgstr "{name}\n就在附近!"
#, python-brace-format
msgid "Uhm ... goodbye {name}"
msgstr "啊 ... \n拜拜{name}"
#, python-brace-format
msgid "{name} is gone ..."
msgstr "{name}\n不見了 ..."
#, python-brace-format
msgid "Whoops ... {name} is gone."
msgstr "歐哦...\n{name}\n不見了."
#, python-brace-format
msgid "{name} missed!"
msgstr "我剛剛錯過了{name}!"
msgid "Missed!"
msgstr "又錯過了!"
msgid "Good friends are a blessing!"
msgstr "有個好朋友\n真幸福!"
msgid "I love my friends!"
msgstr "我喜歡\n我的朋友!"
msgid "Nobody wants to play with me ..."
msgstr "沒人想跟我玩..."
msgid "I feel so alone ..."
msgstr "我感覺好孤單..."
msgid "Where's everybody?!"
msgstr "大家都去哪裡了?!"
#, python-brace-format
msgid "Napping for {secs}s ..."
msgstr "我想瞇{secs}秒一下..."
msgid "Zzzzz"
msgstr "Zzzzz"
#, python-brace-format
msgid "ZzzZzzz ({secs}s)"
msgstr "ZzzZzzz({secs}秒)"
msgid "Good night."
msgstr "晚安."
msgid "Zzz"
msgstr "Zzz"
#, python-brace-format
msgid "Waiting for {secs}s ..."
msgstr "等我{secs}秒..."
#, python-brace-format
msgid "Looking around ({secs}s)"
msgstr "環顧四周({secs}秒)"
#, python-brace-format
msgid "Hey {what} let's be friends!"
msgstr "嗨\n{what}\n讓我我們來當朋友吧!"
#, python-brace-format
msgid "Associating to {what}"
msgstr "正在連接\n{what}"
#, python-brace-format
msgid "Yo {what}!"
msgstr "喲,\n{what}!"
#, python-brace-format
msgid "Just decided that {mac} needs no WiFi!"
msgstr "我要讓\n{mac}\n斷線!\n他不需要上網!"
#, python-brace-format
msgid "Deauthenticating {mac}"
msgstr "解除\n{mac}\n的授權中"
#, python-brace-format
msgid "Kickbanning {mac}!"
msgstr "把\n{mac}\n踢出中!"
#, python-brace-format
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "酷哦,我們抓到{num}個\n新的握手包{plural}!"
#, python-brace-format
msgid "You have {count} new message{plural}!"
msgstr "你有{count}個新訊息{plural}!"
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "喔歐,有些地方出錯了...\n重新啟動中..."
#, python-brace-format
msgid "Kicked {num} stations\n"
msgstr "踢了 {num} 個設備\n"
#, python-brace-format
msgid "Made {num} new friends\n"
msgstr "交了 {num} 個新朋友\n"
#, python-brace-format
msgid "Got {num} handshakes\n"
msgstr "捕獲了 {num} 個握手包\n"
msgid "Met 1 peer 同好"
msgstr "遇到了 個"
#, python-brace-format
msgid "Met {num} peers"
msgstr "遇到了 {num} 個同好"
#, python-brace-format
msgid ""
"I've been pwning for {duration} and kicked {deauthed} clients! I've also met "
"{associated} new friends and ate {handshakes} handshakes! #pwnagotchi "
"#pwnlog #pwnlife #hacktheplanet #skynet"
msgstr "我花了{duration}的時間\n駭入和踢了{deauthed}好多設備.\n"
"我還交了好多{associated}新朋友,\n而且抓到了{handshakes}握手包!"
"#pwnagotchi#入侵日志 #駭客人生 #入侵整個星球 #天網"
msgid "hours"
msgstr "時"
msgid "minutes"
msgstr "分"
msgid "seconds"
msgstr "秒"
msgid "hour"
msgstr "時"
msgid "minute"
msgstr "分"
msgid "second"
msgstr "秒"

Binary file not shown.

@ -0,0 +1,228 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# damoklov <mishanya@protonmail.com>, 2019.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-23 20:56+0200\n"
"PO-Revision-Date: 2019-11-02 16:20+0200\n"
"Last-Translator: damoklov <mishanya@protonmail.com>\n"
"Language-Team: Ukrainian\n"
"Language: ua\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "ZzzzZZzzzzZzzz"
msgstr "ZzzzZZzzzzZzzz"
msgid "Hi, I'm Pwnagotchi! Starting ..."
msgstr "Привіт, я Pwnagotchi! Починаймо ..."
msgid "New day, new hunt, new pwns!"
msgstr "Новий день, нове полювання, нові проникнення!"
msgid "Hack the Planet!"
msgstr "Хакни цілу планету!"
msgid "AI ready."
msgstr "Штучний інтелект готовий."
msgid "The neural network is ready."
msgstr "Нейронна мережа готова."
msgid "Generating keys, do not turn off ..."
msgstr "Генерую ключі, не вимикай живлення ..."
#, python-brace-format
msgid "Hey, channel {channel} is free! Your AP will say thanks."
msgstr "Агов, канал {channel} вільний! Ваша точка доступу буде вдячна."
msgid "I'm bored ..."
msgstr "Мені сумно ..."
msgid "Let's go for a walk!"
msgstr "Нумо прогуляймось!"
msgid "This is the best day of my life!"
msgstr "Сьогодні найкращий день у моєму житті!"
msgid "Shitty day :/"
msgstr "Поганенький день :/"
msgid "I'm extremely bored ..."
msgstr "Мені геть сумно ..."
msgid "I'm very sad ..."
msgstr "Я дуже засмучений ..."
msgid "I'm sad"
msgstr "Я засмучений"
msgid "I'm living the life!"
msgstr "Ось таке у мене життя!"
msgid "I pwn therefore I am."
msgstr "Народжений, щоб зламувати."
msgid "So many networks!!!"
msgstr "Овва, стільки мереж!!!"
msgid "I'm having so much fun!"
msgstr "Мені так весело!"
msgid "My crime is that of curiosity ..."
msgstr "Мій єдиний злочин - це допитливість ..."
#, python-brace-format
msgid "Hello {name}! Nice to meet you."
msgstr "Привіт, {name}! Приємно познайомитись."
#, python-brace-format
msgid "Unit {name} is nearby!"
msgstr "Ціль {name} неподалік!"
#, python-brace-format
msgid "Uhm ... goodbye {name}"
msgstr "Що ж ... бувай, {name}"
#, python-brace-format
msgid "{name} is gone ..."
msgstr "{name} зникла ..."
#, python-brace-format
msgid "Whoops ... {name} is gone."
msgstr "Ой-ой ... {name} зникла."
#, python-brace-format
msgid "{name} missed!"
msgstr "{name} втрачено!"
msgid "Missed!"
msgstr "Не впіймав!"
msgid "Good friends are a blessing!"
msgstr "Справжні друзі - це чудово!"
msgid "I love my friends!"
msgstr "Я люблю своїх друзів!"
msgid "Nobody wants to play with me ..."
msgstr "Ніхто не хоче бавитись зі мною ..."
msgid "I feel so alone ..."
msgstr "Я почуваюсь вкрай самотньо ..."
msgid "Where's everybody?!"
msgstr "Куди всі зникли?!"
#, python-brace-format
msgid "Napping for {secs}s ..."
msgstr "Дрімаю {secs}с ..."
msgid "Zzzzz"
msgstr "Zzzzz"
#, python-brace-format
msgid "ZzzZzzz ({secs}s)"
msgstr "ZzzZzzz ({secs}с)"
msgid "Good night."
msgstr "Спокійної нічки."
msgid "Zzz"
msgstr "Zzz"
#, python-brace-format
msgid "Waiting for {secs}s ..."
msgstr "Очікую {secs}с ..."
#, python-brace-format
msgid "Looking around ({secs}s)"
msgstr "Роздивляюсь довкола ({secs}с)"
#, python-brace-format
msgid "Hey {what} let's be friends!"
msgstr "Агов, {what}, будьмо друзями!"
#, python-brace-format
msgid "Associating to {what}"
msgstr "Налагоджую зв'язок з {what}"
#, python-brace-format
msgid "Yo {what}!"
msgstr "Гей, {what}!"
#, python-brace-format
msgid "Just decided that {mac} needs no WiFi!"
msgstr "Вирішив, що {mac} більше не потребує WiFi!"
#, python-brace-format
msgid "Deauthenticating {mac}"
msgstr "Від'єднюю {mac}"
#, python-brace-format
msgid "Kickbanning {mac}!"
msgstr "Вилучаю {mac}!"
#, python-brace-format
msgid "Cool, we got {num} new handshake{plural}!"
msgstr "Отакої, у нас є {num} нових рукостискань!"
#, python-brace-format
msgid "You have {count} new message{plural}!"
msgstr "Нових повідомлень: {count}"
msgid "Oops, something went wrong ... Rebooting ..."
msgstr "Ой, щось пішло не так ... Перезавантажуюсь ..."
#, python-brace-format
msgid "Kicked {num} stations\n"
msgstr "Від'єднав {num} станцій\n"
#, python-brace-format
msgid "Made {num} new friends\n"
msgstr "Нових друзів у мене: {num}\n"
#, python-brace-format
msgid "Got {num} handshakes\n"
msgstr "Перехопив рукостискань: {num}\n"
msgid "Met 1 peer"
msgstr "Зустрівся з одним знайомим"
#, python-brace-format
msgid "Met {num} peers"
msgstr "Зустрівся з {num}-ма знайомими"
#, python-brace-format
msgid ""
"I've been pwning for {duration} and kicked {deauthed} clients! I've also met "
"{associated} new friends and ate {handshakes} handshakes! #pwnagotchi "
"#pwnlog #pwnlife #hacktheplanet #skynet"
msgstr ""
"Я зламував впродовж {duration} та від'єднав {deauthed} клієнтів! Я зустрів "
"{associated} нових друзів та схрумав {handshakes} рукостискань! #pwnagotchi "
"#pwnlog #pwnlife #hacktheplanet #skynet"
msgid "hours"
msgstr "годин"
msgid "minutes"
msgstr "хвилин"
msgid "seconds"
msgstr "секунд"
msgid "hour"
msgstr "година"
msgid "minute"
msgstr "хвилина"
msgid "second"
msgstr "секунда"

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-10-23 20:56+0200\n"
"POT-Creation-Date: 2019-11-29 21:50+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -42,6 +42,13 @@ msgstr ""
msgid "Hey, channel {channel} is free! Your AP will say thanks."
msgstr ""
msgid "Reading last session logs ..."
msgstr ""
#, python-brace-format
msgid "Read {lines_so_far} log lines so far ..."
msgstr ""
msgid "I'm bored ..."
msgstr ""
@ -63,6 +70,12 @@ msgstr ""
msgid "I'm sad"
msgstr ""
msgid "Leave me alone ..."
msgstr ""
msgid "I'm mad at you!"
msgstr ""
msgid "I'm living the life!"
msgstr ""
@ -82,6 +95,14 @@ msgstr ""
msgid "Hello {name}! Nice to meet you."
msgstr ""
#, python-brace-format
msgid "Yo {name}! Sup?"
msgstr ""
#, python-brace-format
msgid "Hey {name} how are you doing?"
msgstr ""
#, python-brace-format
msgid "Unit {name} is nearby!"
msgstr ""
@ -177,7 +198,7 @@ msgstr ""
msgid "You have {count} new message{plural}!"
msgstr ""
msgid "Ops, something went wrong ... Rebooting ..."
msgid "Oops, something went wrong ... Rebooting ..."
msgstr ""
#, python-brace-format
@ -223,3 +244,7 @@ msgstr ""
msgid "second"
msgstr ""
#, python-brace-format
msgid "Uploading data to {to} ..."
msgstr ""

@ -3,6 +3,9 @@ import time
import re
import os
import logging
import shutil
import gzip
import warnings
from datetime import datetime
from pwnagotchi.voice import Voice
@ -26,7 +29,7 @@ class LastSession(object):
def __init__(self, config):
self.config = config
self.voice = Voice(lang=config['main']['lang'])
self.path = config['main']['log']
self.path = config['main']['log']['path']
self.last_session = []
self.last_session_id = ''
self.last_saved_session_id = ''
@ -209,3 +212,100 @@ class LastSession(object):
def is_new(self):
return self.last_session_id != self.last_saved_session_id
def setup_logging(args, config):
cfg = config['main']['log']
filename = cfg['path']
formatter = logging.Formatter("[%(asctime)s] [%(levelname)s] %(message)s")
root = logging.getLogger()
root.setLevel(logging.DEBUG if args.debug or cfg['debug']==True else logging.INFO)
if filename:
# since python default log rotation might break session data in different files,
# we need to do log rotation ourselves
log_rotation(filename, cfg)
file_handler = logging.FileHandler(filename)
file_handler.setFormatter(formatter)
root.addHandler(file_handler)
console_handler = logging.StreamHandler()
console_handler.setFormatter(formatter)
root.addHandler(console_handler)
if not args.debug:
# disable scapy and tensorflow logging
logging.getLogger("scapy").disabled = True
logging.getLogger('tensorflow').disabled = True
# https://stackoverflow.com/questions/15777951/how-to-suppress-pandas-future-warning
warnings.simplefilter(action='ignore', category=FutureWarning)
warnings.simplefilter(action='ignore', category=DeprecationWarning)
# https://stackoverflow.com/questions/24344045/how-can-i-completely-remove-any-logging-from-requests-module-in-python?noredirect=1&lq=1
logging.getLogger("urllib3").propagate = False
requests_log = logging.getLogger("requests")
requests_log.addHandler(logging.NullHandler())
requests_log.prpagate = False
def log_rotation(filename, cfg):
rotation = cfg['rotation']
if not rotation['enabled']:
return
elif not os.path.isfile(filename):
return
stats = os.stat(filename)
# specify a maximum size to rotate ( format is 10/10B, 10K, 10M 10G )
if rotation['size']:
max_size = parse_max_size(rotation['size'])
if stats.st_size >= max_size:
do_rotate(filename, stats, cfg)
else:
raise Exception("log rotation is enabled but log.rotation.size was not specified")
def parse_max_size(s):
parts = re.findall(r'(^\d+)([bBkKmMgG]?)', s)
if len(parts) != 1 or len(parts[0]) != 2:
raise Exception("can't parse %s as a max size" % s)
num, unit = parts[0]
num = int(num)
unit = unit.lower()
if unit == 'k':
return num * 1024
elif unit == 'm':
return num * 1024 * 1024
elif unit == 'g':
return num * 1024 * 1024 * 1024
else:
return num
def do_rotate(filename, stats, cfg):
base_path = os.path.dirname(filename)
name = os.path.splitext(os.path.basename(filename))[0]
archive_filename = os.path.join(base_path, "%s.gz" % name)
counter = 2
while os.path.exists(archive_filename):
archive_filename = os.path.join(base_path, "%s-%d.gz" % (name, counter))
counter += 1
log_filename = archive_filename.replace('gz', 'log')
print("%s is %d bytes big, rotating to %s ..." % (filename, stats.st_size, log_filename))
shutil.move(filename, log_filename)
print("compressing to %s ..." % archive_filename)
with open(log_filename, 'rb') as src:
with gzip.open(archive_filename, 'wb') as dst:
dst.writelines(src)
os.remove(log_filename)

Some files were not shown because too many files have changed in this diff Show More