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]
When you write a Bash script in Linux, you want it to run correctly every…
Introduction If you’re new to Bash scripting, one of the first skills you’ll need is…
What is Bash Scripting? Bash scripting allows you to save multiple Linux commands in a file and…
When it comes to automating tasks on Linux, Bash scripting is an essential skill for both beginners…
Learn how to create and use Bash functions with this complete tutorial. Includes syntax, arguments,…
Introduction Unlock the full potential of your Linux system with this comprehensive guide to essential…