fortra / impacket

Impacket is a collection of Python classes for working with network protocols.
https://www.coresecurity.com
Other
12.99k stars 3.5k forks source link

Add domain and username to interactive Ldap shell message #1685

Closed minniear closed 3 months ago

minniear commented 5 months ago

When running an ldap attack on a domain, one can encounter a large number of ldap shells being created. It is not always easy to tell which shell is using which relayed account when there are 100 shells.

I made extremely minor tweaks to:

  1. Add the ability to reference the domain from __init__
  2. Add the domain and username to the interactive shell info log