PRET
From Hacking Printers
The PRinter Exploitation Toolkit (PRET) is a Python tool developed at the University of Bochum to automate most attacks presented in this wiki. It connects to a printing device via network or USB and allows penetration testers to exploit a large variety of bugs and features in PostScript, PJL and PCL, including temporary and physical denial of service attacks, resetting the device to factory defaults, print job manipulation and retention, access to a printer's memory and file system as well as password cracking.