RUB-NDS / PRET

Printer Exploitation Toolkit - The tool that made dumpster diving obsolete.
http://hacking-printers.net
GNU General Public License v2.0
3.89k stars 606 forks source link

Any chance to get this to work on Python 3? #35

Open tensigh opened 4 years ago

tensigh commented 4 years ago

All of my new systems run Python 3 and I've been migrating off of Python 2. I installed Python 2.7 just to test this out but pip runs with Python 3 on my system. When I try to run pret.py it errors out every time.

saun1 commented 4 years ago

did you figure it out

loic-bellinger commented 3 years ago

Any update?

HumanG33k commented 3 years ago

There is some tools for auto migrating py2 to py3. Maybe you can try to use it.

tensigh commented 3 years ago

I ran the code a number of times and let it error out, then fixed the syntax that worked for Python 3. It runs...sorta.

SlothDotEXE commented 3 years ago

Hey, I made a Docker solution that you can find below :)

https://github.com/SlothDotEXE/PRET-Docker