Greenwolf / Spray

A Password Spraying tool for Active Directory Credentials by Jacob Wilkin(Greenwolf)
GNU General Public License v3.0
721 stars 137 forks source link

Broken on Kali Linux #14

Open jnelsonbb opened 1 year ago

jnelsonbb commented 1 year ago

The RPC Client version present on Kali Linux changed the error message used in the text log processing from STDOUT to STDERR.

Found that adding (2&>1 Edit: this was wrong use 2>&1) after the file redirect would send the STDERR to STDOUT and properly log in the file like before.

Only tested in SMB mode on Kali Linux, but similar fixes might be applied to other areas where STDOUT is relied on.

jnelsonbb commented 1 year ago

See edit above in line. I made an error when creating the original issue. The proper redirect was 2>&1 and it should be placed at the end of each line where rpcclient was run.