mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Update for bookworm release
This commit is contained in:
2
.idea/pwnagotchi.iml
generated
2
.idea/pwnagotchi.iml
generated
@ -4,7 +4,7 @@
|
|||||||
<content url="file://$MODULE_DIR$">
|
<content url="file://$MODULE_DIR$">
|
||||||
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
||||||
</content>
|
</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" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
</component>
|
</component>
|
||||||
<component name="PyDocumentationSettings">
|
<component name="PyDocumentationSettings">
|
||||||
|
@ -9,9 +9,6 @@ if is_crypted_mode; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# blink 10 times to signal ready state
|
|
||||||
blink_led 10 &
|
|
||||||
|
|
||||||
if is_auto_mode; then
|
if is_auto_mode; then
|
||||||
/usr/local/bin/pwnagotchi
|
/usr/local/bin/pwnagotchi
|
||||||
else
|
else
|
||||||
|
@ -133,12 +133,27 @@
|
|||||||
- libusb-1.0-0-dev
|
- libusb-1.0-0-dev
|
||||||
- lsof
|
- lsof
|
||||||
- make
|
- make
|
||||||
|
- python3-yaml
|
||||||
- python3-dbus
|
- python3-dbus
|
||||||
- python3-flask
|
- python3-flask
|
||||||
- python3-flask-cors
|
- python3-flask-cors
|
||||||
- python3-flaskext.wtf
|
- python3-flaskext.wtf
|
||||||
|
- python3-gast
|
||||||
- python3-pil
|
- 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-pip
|
||||||
|
- python3-setuptools
|
||||||
- python3-smbus
|
- python3-smbus
|
||||||
- qpdf
|
- qpdf
|
||||||
- raspberrypi-kernel-headers
|
- raspberrypi-kernel-headers
|
||||||
|
@ -172,12 +172,27 @@
|
|||||||
- libusb-1.0-0-dev
|
- libusb-1.0-0-dev
|
||||||
- lsof
|
- lsof
|
||||||
- make
|
- make
|
||||||
|
- python3-yaml
|
||||||
|
- python3-dbus
|
||||||
- python3-flask
|
- python3-flask
|
||||||
- python3-flask-cors
|
- python3-flask-cors
|
||||||
- python3-flaskext.wtf
|
- python3-flaskext.wtf
|
||||||
|
- python3-gast
|
||||||
- python3-pil
|
- 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-pip
|
||||||
- python3-protobuf
|
- python3-setuptools
|
||||||
- python3-smbus
|
- python3-smbus
|
||||||
- qpdf
|
- qpdf
|
||||||
- raspberrypi-kernel-headers
|
- raspberrypi-kernel-headers
|
||||||
|
@ -10,7 +10,9 @@ from flask_wtf.csrf import CSRFProtect
|
|||||||
from pwnagotchi.ui.web.handler import Handler
|
from pwnagotchi.ui.web.handler import Handler
|
||||||
# https://stackoverflow.com/questions/14888799/disable-console-messages-in-flask-server
|
# https://stackoverflow.com/questions/14888799/disable-console-messages-in-flask-server
|
||||||
logging.getLogger('werkzeug').setLevel(logging.ERROR)
|
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:
|
class Server:
|
||||||
|
Reference in New Issue
Block a user