Puwr: SSH pivoting script
Puwr
Easily expand your attack surface on a local network by discovering more hosts, via SSH.
Using a machine running an SSH service, Puwr uses a given subnet range to scope out IP’s, sending back any successful ping requests it has. This can be used to expand out an attack surface on a local network, by forwarding you hosts you couldn’t normally reach from your own device.
Download
git clone https://github.com/Xeonrx/Puwr.git
The paramiko and netaddr modules are required for this script to work!
You can install them with the pip tool:
pip install netaddr paramiko
Use
Puwr is simple to run, only requiring 4 flags:
python3 puwr.py (MACHINE IP) (USER) (PASSWORD) (SUBNET VALUE)
example:
python3 puwr.py 10.0.0.53 xeonrx password123 10.0.0.1/24
If you need to connect through a port other than 22, use the -p flag. (example: -p 2222)
If you want to keep quiet, use the -s flag to wait specified seconds between request. (example: -s 5)
Use the -h flag for usage reference in the script.
Copyright (c) 2022 ciiphys
Source: https://github.com/Xeonrx/