• Earn real money by being active: Hello Guest, earn real money by simply being active on the forum — post quality content, get reactions, and help the community. Once you reach the minimum credit amount, you’ll be able to withdraw your balance directly. Learn how it works.

Puwr - SSH attack surface on local network

Status
Not open for further replies.

0x1

LeVeL23 HacKerS TeaM
User
Joined
Nov 15, 2013
Messages
880
Reputation
0
Reaction score
6,315
Points
243
Credits
78
‎11 Years of Service‎
18%
Puwr - SSH attack surface on local network

SSH pivoting script for expanding attack surfaces on local networks Easily expand your attack surface on a local network by discovering more hosts, via SSH.

Using a machine running a 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.

Usage

  • Puwr is simple to run, only requiring 4 flags:

    Code:
    python3 puwr.py (MACHINE IP) (USER) (PASSWORD) (SUBNET VALUE)
  • Example:

    Code:
    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.



The paramiko and netaddr modules are required for this script to work!

  • You can install them with the pip tool:

Code:
pip install netaddr paramiko


Download

To see this hidden content, you must like this content.
 
Last edited by a moderator:
Status
Not open for further replies.
Back
Top