Skip to content

0xmrsecurity/NetExec-Stuff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NetSpray

NetSpray is a wrapper script designed to save time when performing password or hash spraying across multiple protocols. It leverages the power of NetExec to automate the process efficiently.

image

Installation

Clone it

git clone https://github.com/0xmrsecurity/NetExec-Stuff.git
cd NetExec-Stuff

Move

sudo mv NetSpray /usr/local/bin
sudo chmod +x /usr/local/bin/NetSpray

Help Menu !

└─# NetSpray -h                                                                                             
Usage: NetSpray <protocols|all> <targets> -u <username> [-p <password> | -H <hash>] [OPTIONS]

Required:
  protocols          Protocols to test: smb,ldap,winrm,rdp,mssql,ssh or 'all'
  targets            IP address, IP range, or file with targets (one per line)
  -u USERNAME        Username to spray

Authentication (choose one):
  -p PASSWORD        Single password to spray
  -H HASH            NTLM hash for pass-the-hash

Optional:
  --continue-on-success    Keep spraying after finding valid creds
  --no-bruteforce          Avoid bruteforce mode (safer, slower)

Examples:
  NetSpray smb 10.10.10.10 -u admin -p P@ssword123!
  NetSpray all targets.txt -u admin -p P@ssword123!
  NetSpray smb,winrm 192.168.1.10 -u admin -H aad3b435b51404ee:8846f7eaeexxxxx7ad06bdd830b7586c

Usage

# All Protocals
NetSpray all target -u 'admin' -p 'p@ssword123!'

# Specific Protocals
NetSpray smb,winrm,rdp,ldap,ssh,mssql target -u '' -p ''

# Available Protocals
smb
ldap
winrm
ssh
mssql

Proof

image

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages