Pretty - Printer Exploitation Toolkit Lan Automation Tool


PRETty is useful when a large reveal of printers are introduce on a network. Instead of scanning, logging, in addition to manually running PRET againt each private printer, PRETty volition automatically discover in addition to run choosen PRET payloads against all printers on the target network.
Additionally, PRETty tin live on used to automate command/payload delivery to whatsoever given listing of printers (See the "Lists" section)

GUIDE:

Installation

  1. Install PRET in addition to all required dependencies
  2. Install requirements: sudo pip install -U argparse termcolor in addition to sudo apt -y install arp-scan tshark
  3. Navigate to where yous installed PRET: cd PRET
  4. Install PRETty into PRET: git clone https://github.com/BusesCanFly/PRETty
  5. Navigate to PRETty: cd PRETty
  6. Make PRETty executable: chmod +x PRETty.py
  • One delineate of piece of job variant (from PRET folder): sudo apt -y install arp-scan tshark && sudo pip install -U argparse termcolor && git clone https://github.com/BusesCanFly/PRETty && cd PRETty && chmod +x PRETty.py
  • One delineate of piece of job variant w/ PRET installation: sudo apt -y install imagemagick ghostscript arp-scan tshark && sudo pip install -U argparse termcolor colorama pysnmp && git clone https://github.com/RUB-NDS/PRET && cd PRET && git clone https://github.com/BusesCanFly/PRETty && cd PRETty && chmod +x PRETty.py

Lists

  • PRETty automatically scans the LAN for HP/Brother/Kyocera printers in addition to creates an IP listing for itself
    • However, yous tin house custom IP lists inwards PRETty/IP/
  • PRETty comes amongst pre-made ascendancy listing files for PRET located inwards PRETty/commands/
    • However, yous tin house additional ascendancy listing files inwards PRETty/commands/

Usage

  • Run PRETty amongst ./PRETty.py in addition to follow the prompts :D
  • For to a greater extent than advanced users, run ./PRETty.py -h
    • ./PRETty.py --cli enables CLI mode. (No user input required)
    • The default ./PRETty.py --cli volition scan the electrical flow LAN, in addition to run ./commands/pret_pagecount.txt on every printer found
    • (optional) Additional arguments are: -r [IP gain to scan] -c [Name of ascendancy listing file to use] -s [PRET rhythm out type]