PRETty is useful when a large number of printers are present on a network. Instead of scanning, logging, and manually running PRET against each individual printer, it will automatically discover and run chosen PRET payloads against all printers on the target network.
Additionally, it can be used to automate command/payload delivery to any given list of printers.
Also Read : Kube-Hunter:Hunt For Security Weaknesses In Kubernetes Clusters
Installation
Install PRET and all required dependencies
sudo pip install -U argparse termcolor
sudo apt -y install arp-scan tshark
Navigate to where you installed PRET:
cd PRET
Install it into PRET:
git clone https://github.com/BusesCanFly/PRETty
Navigate to it
cd PRETty
Make it executable
chmod +x PRETty.py
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
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
PRETty/IP/
PRETty/commands/
PRETty/commands/
./PRETty.py
and follow the prompts 😀./PRETty.py -h
./PRETty.py --cli
enables CLI mode. (No user input required)./PRETty.py --cli
will scan the current LAN, and run ./commands/pret_pagecount.txt
on every printer found-r [IP range to scan] -c [Name of command list file to use] -s [PRET shell type]
Overview WhatsMyName is a free, community-driven OSINT tool designed to identify where a username exists…
Managing disk usage is a crucial task for Linux users and administrators alike. Understanding which…
Efficient disk space management is vital in Linux, especially for system administrators who manage servers…
Knowing how to check directory sizes in Linux is essential for managing disk space and…
Managing user accounts is a core responsibility for any Linux administrator. Whether you’re securing a…
Linux offers powerful command-line tools for system administrators to view and manage user accounts. Knowing…