pwnagotchi.app
pwnagotchi.app copied to clipboard
Stuck on "Getting Ready..." with State-API
I've been at this for a week, I've followed the instructions to a T. When attempting to access state-api page, it only displays "Getting Ready..." and does not progress past that.
Perform a git clone from here. The state-api.py file goes in the plugins/defaults directory, or wherever you want to put your custom plugins The files in goes_in_ui_web has to go in /usr/local/lib/python3.7/dist-packages/pwnagotchi/ui/web
I have put state-api.py into /usr/local/src/pwnagotchi/plugins/default. I have moved "static" and "templates" to /usr/local/lib/python3.7/dist-packages/pwnagotchi/ui/web. I have also individually tried to move all the files individually to those directories but no avail.
The files in goes_in_ui_web.
I'm unsure which is the correct approach as inside goes_in_ui_web contains directories, but instruction says to move the files.
http://172.20.10.6:8080/plugins/state-api returns "Getting Ready..."
http://172.20.10.6:8080/plugins/state-api/json returns an error.
Am I doing something wrong, or is the code no good? I know this is an old project.