Update for bookworm release

This commit is contained in:
Jeroen Oudshoorn
2023-12-15 09:36:00 +01:00
parent 73fe10c638
commit d5507cfbc3
5 changed files with 35 additions and 6 deletions

2
.idea/pwnagotchi.iml generated
View File

@ -4,7 +4,7 @@
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/venv" />
</content>
<orderEntry type="jdk" jdkName="Python 3.10 (pwnagotchi-torch)" jdkType="Python SDK" />
<orderEntry type="jdk" jdkName="Python 3.10 (pwnagotchi-torch-bookworm)" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="PyDocumentationSettings">

View File

@ -9,9 +9,6 @@ if is_crypted_mode; then
done
fi
# blink 10 times to signal ready state
blink_led 10 &
if is_auto_mode; then
/usr/local/bin/pwnagotchi
else

View File

@ -133,12 +133,27 @@
- libusb-1.0-0-dev
- lsof
- make
- python3-yaml
- python3-dbus
- python3-flask
- python3-flask-cors
- python3-flaskext.wtf
- python3-gast
- python3-pil
- python3-pycryptodome
- python3-requests
- python3-scapy
- python3-smbus2
- python3-spidev
- python3-tweepy
- python3-werkzeug
- firmware-atheros
- firmware-brcm80211
- firmware-libertas
- firmware-misc-nonfree
- firmware-realtek
- python3-pip
- python3-setuptools
- python3-smbus
- qpdf
- raspberrypi-kernel-headers

View File

@ -172,12 +172,27 @@
- libusb-1.0-0-dev
- lsof
- make
- python3-yaml
- python3-dbus
- python3-flask
- python3-flask-cors
- python3-flaskext.wtf
- python3-gast
- python3-pil
- python3-pycryptodome
- python3-requests
- python3-scapy
- python3-smbus2
- python3-spidev
- python3-tweepy
- python3-werkzeug
- firmware-atheros
- firmware-brcm80211
- firmware-libertas
- firmware-misc-nonfree
- firmware-realtek
- python3-pip
- python3-protobuf
- python3-setuptools
- python3-smbus
- qpdf
- raspberrypi-kernel-headers

View File

@ -10,7 +10,9 @@ from flask_wtf.csrf import CSRFProtect
from pwnagotchi.ui.web.handler import Handler
# https://stackoverflow.com/questions/14888799/disable-console-messages-in-flask-server
logging.getLogger('werkzeug').setLevel(logging.ERROR)
os.environ['WERKZEUG_RUN_MAIN'] = 'true'
# Commented this out, on bookworm it wouldnt load the flask server for webui
# os.environ['WERKZEUG_RUN_MAIN'] = 'true'
class Server: