-
Notifications
You must be signed in to change notification settings - Fork 2
feat: Single configuration source for hostname and domain #35
Copy link
Copy link
Open
Labels
Protocol: HTTPErrors/Features related to the HTTP serverErrors/Features related to the HTTP serverProtocol: IMAP/POP3/SMTPErrors/Features related to the IMAP/POP3/SMTP serverErrors/Features related to the IMAP/POP3/SMTP serverProtocol: LDAPErrors/Features related to the LDAP serverErrors/Features related to the LDAP serverProtocol: LLMNR/mDNS/NetBIOSErrors/Features related to the LLMNR/mDNS/NetBIOS poisonerErrors/Features related to the LLMNR/mDNS/NetBIOS poisonerProtocol: NTLMErrors/Features related to NTLMErrors/Features related to NTLMProtocol: SMBErrors/Features related to the SMB serverErrors/Features related to the SMB serverType - Enhancement
Milestone
Description
As Is
Every server defines its own hostname, domain name or DNS entries. This can be tedious to configure when targeting multiple protocol servers all at once. This behavior is currently achieved by using the FQDN option - naming is not intuitive and there is no CLI option.
To Be
One single configuration attribute that can be used to specify the host's computer/hostname and domain:
# By default (fallback), the value should be defined in the [Globals] section
[Globals]
Host = "<HOSTNAME>.<DOMAIN>"
# All subsequent options should derive their values from this single configuration option:
# NetBIOSDomainName = Host.split(".", 1)[1].upper()
# DNSHostName = Host.split(".", 1)[0]
# NetBIOSName = Host.split(".", 1)[0][:15].upper()
# DNSDomainName = Host.split(".", 1)[1].lower()There should be a CLI option too:
sudo dementor -I eth0 -H DC01.contoso.lab
# or
sudo dementor -I eth0 -O Host="DC01.contoso.lab"Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Protocol: HTTPErrors/Features related to the HTTP serverErrors/Features related to the HTTP serverProtocol: IMAP/POP3/SMTPErrors/Features related to the IMAP/POP3/SMTP serverErrors/Features related to the IMAP/POP3/SMTP serverProtocol: LDAPErrors/Features related to the LDAP serverErrors/Features related to the LDAP serverProtocol: LLMNR/mDNS/NetBIOSErrors/Features related to the LLMNR/mDNS/NetBIOS poisonerErrors/Features related to the LLMNR/mDNS/NetBIOS poisonerProtocol: NTLMErrors/Features related to NTLMErrors/Features related to NTLMProtocol: SMBErrors/Features related to the SMB serverErrors/Features related to the SMB serverType - Enhancement