Commit Graph

1852 Commits

Author SHA1 Message Date
9e08a6294c Add session stats reporting to AUTO mode
add MANU session stats to AUTO mode, too

Signed-off-by: Sniffleupagus <129890632+Sniffleupagus@users.noreply.github.com>
2024-12-03 10:36:48 -08:00
ad4b6891a6 Merge branch 'noai' of https://github.com/V0r-T3x/pwnagotchi into noai 2024-12-01 20:37:33 -05:00
260e501628 upgrade to avoid thread overflow
this is creating a thread per plugin. This is avoiding pressure on the system.

The fix was found by Nursejackass
https://github.com/Sniffleupagus/pwnagotchi-snflpgs/blob/snflpgs/pwnagotchi/plugins/__init__.py
2024-12-01 20:37:12 -05:00
ad9f800b13 Merge branch 'jayofelony:noai' into noai 2024-12-01 20:17:14 -05:00
83e9ee6318 fixing log reference 2024-12-01 20:15:38 -05:00
5b20c0fb16 Small edit
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-12-01 19:53:51 +01:00
6a217f3684 Small edit
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-12-01 19:52:31 +01:00
5bbbcea2af Small edit
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-12-01 19:47:01 +01:00
706ae3b152 Small edit
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-12-01 19:29:32 +01:00
b6b5e92f6b Revert "Small edit"
This reverts commit 6f16c65132.
2024-12-01 19:14:33 +01:00
85856b2698 Revert "Small edit"
This reverts commit bdc6afd0be.
2024-12-01 19:14:27 +01:00
bdc6afd0be Small edit
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-12-01 19:10:48 +01:00
6f16c65132 Small edit
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-12-01 18:53:14 +01:00
8edf72c8ef Remove builder/data folder, we don't need that anymore.
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-12-01 12:54:06 +01:00
f6f30632f8 Display update for 2.9.2 no AI
display check with 2.9.2
-gfxhat
	sn3218 library missing from the venv, added to /hw/libs/pimoroni/gfxhat/
	cleanup of the code (EPD changed to LCD)
	logging info added for config options (contrast, color)
	touch control work in progress (6 touch buttons with short and long press and LED feedback)
-i2coled
	cleanup of the code (EPD changed to OLED)
	Logging info added for config options (width, height, i2c address)
-oledlcd and oledlcdvert
	working out of the box
	logging info added for available gpio breakouts (buttons)
-displayhatmini
	working out of the box
	logging info added for available gpio breakouts (buttons, rgb LED, i2c bus)
-pirateaudio
	working out of the box
	logging info added for available gpio breakouts (buttons, i2s bus)
-pitft
	working out of the box
	logging info added for available gpio breakouts (buttons)
-tftbonnet
	working out of the box
	logging info added for available gpio breakouts (buttons, i2c bus)
-minipitft
	working out of the box
	logging info added for available gpio breakouts (buttons, i2c bus)

-minipitft2
	cant test on HW but should work!
	logging info added for available gpio breakouts (buttons, i2c bus)
-argonpod
	cant test on HW but should work!
	logging info added for available gpio breakouts (buttons, IR)
2024-12-01 12:47:34 +01:00
dab9b8c4bb Create gps_listener.py
Receive GPS coordinates via termux-location and save whenever an handshake is captured.

Signed-off-by: Kris Henriksen <krishenriksen@users.noreply.github.com>
2024-11-30 08:25:39 +07:00
4ade52925d Update build 2024-11-29 09:23:20 +01:00
12b386f74e Create wittypi.py
Signed-off-by: Kris Henriksen <krishenriksen@users.noreply.github.com>
2024-11-27 09:01:44 +07:00
fa2b8b97c4 Update package requirements
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-26 07:34:37 +01:00
13bedbc834 adding 3 new displays
gamepi15
gamepi20
spotpear154lcd
2024-11-25 19:56:16 -05:00
131bfc4c1c Display drivers for pwnagotchi
<!--- Provide a general summary of your changes in the Title above -->

## Description
<!--- Describe your changes in detail -->
Display support for the following screens:
- [Pimoroni GFX Hat](https://shop.pimoroni.com/products/gfx-hat?variant=12828343631955):
ui.display.type = "gfxhat"
Contrast and Backlight color can be imported from config.toml:
ui.display.contrast = 40
ui.display.blcolor = "olive"
Available backlight colors:
white, grey, maroon, red, purple, fuchsia, green,
lime, olive, yellow, navy, blue, teal, aqua
- [Adafruit miniPiTFT](https://www.adafruit.com/product/4484):
ui.display.type = "minipitft"
- [Adafruit miniPiTFT2](https://www.adafruit.com/product/4393):
ui.display.type = "minipitft2"
- [ArgonPod](https://argon40.com/products/pod-display-2-8inch):
ui.display.type = "argonpod"
- [DisplayHatMini](https://shop.pimoroni.com/products/display-hat-mini?variant=39496084717651):
Driver updated to fix issues
- I2C Oled:
Default I2C address changed to 0x3C, because most boards are coming with it by default.
Can be modified in config
ui.display.type = "i2coled"
ui.display.i2c_addr = 0x3C
ui.display.width = 128
ui.display.height = 64

## Motivation and Context
Future plan for LCD and OLED screens:
Change from the pwnagotchis hw libraries for drivers to LumaOLED LumaLCD packages.
Luma Core: https://github.com/rm-hull/luma.core
Luma LCD: https://github.com/rm-hull/luma.lcd
Luma OLED: https://github.com/rm-hull/luma.oled
It has the most used LCD and OLED drivers ready, and adding new screens could be easier in the future.

## How Has This Been Tested?
Except the argonpod and minipitft2 all screens were tested on previous builds,
should work in 2.9.2, but before release I would like to test it with an image.

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [x] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [x] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [x] I have updated the documentation accordingly.
- [x] I've read the [CONTRIBUTION](https://github.com/evilsocket/pwnagotchi/blob/master/CONTRIBUTING.md) guide
- [x] I have signed-off my commits with `git commit -s`
2024-11-25 17:37:21 +01:00
b9b5ae2fc8 Make pi restart when there are 5 blind epochs instead of 50.
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-24 00:19:32 +01:00
8fba99fa08 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-23 14:13:23 +01:00
6c3e5229ea Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-23 13:41:38 +01:00
3486020e54 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-23 13:41:17 +01:00
29ecad81cd Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-22 14:46:17 +01:00
99f75bf5eb Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-22 13:17:30 +01:00
f55a08609d Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-22 11:51:02 +01:00
4a2b8e71a3 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-22 11:50:05 +01:00
4fb7752493 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-22 11:40:58 +01:00
e9b4667ffc Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-22 08:01:59 +01:00
1d216a959c Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-19 19:43:11 +01:00
fa154ee279 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-18 07:54:50 +01:00
34700dd30b Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-17 21:56:10 +01:00
76045b3564 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-17 21:09:54 +01:00
e04badc254 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-17 20:04:18 +01:00
32cea62999 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-19 13:46:48 +02:00
4a076bd229 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-18 23:21:27 +02:00
d5ef7dc303 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-18 23:19:25 +02:00
f21998214b Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-18 22:16:25 +02:00
d0f4796265 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-18 22:06:11 +02:00
4393854718 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-14 20:07:25 +02:00
ccce288182 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-14 19:02:05 +02:00
deefada29c Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-12 21:55:41 +02:00
164755590f Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-11 10:18:58 +02:00
ae2c0e3db4 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-11 10:18:30 +02:00
13515dfa98 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-11 10:14:25 +02:00
af632abc63 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-11 10:13:31 +02:00
4029b2ffa0 Merge pull request #203 from Sniffleupagus/usr1-save-recovery
add mode parameter to agent._restart, and call agent._restart from US…
2024-09-08 21:04:46 +02:00
32d244ec6f add mode parameter to agent._restart, and call agent._restart from USR1 handler instead of pwnagotchi.restart() 2024-09-08 19:25:09 +01:00