Pwnver alias broke after upgrade/restore

I finally got around to upgrading PwnBone from 1.1.1 -> 1.5.3 yesterday. I had the ‘pwnver’ alias set up in the pi user’s account and when I ran it after upgrading it failed. It’s because the Python module no longer has a “version” property and it’s been renamed to “_version”.

For anyone else walking a mile in shoes like mine, update your pwnver alias from:

python3 -c "import pwnagotchi as p; print(p.version)"


python3 -c "import pwnagotchi as p; print(p.__version__)"

The docs don’t reflect the above change yet.

However it seems also you can now just run from the CLI:

pwnagotchi version

1 Like