mirror of
https://github.com/lgandx/Responder.git
synced 2025-08-20 21:33:31 -07:00
Merge 2737c8b356
into 398a1fce31
This commit is contained in:
commit
10405f5549
2 changed files with 16 additions and 1 deletions
|
@ -80,6 +80,13 @@ CaptureMultipleCredentials = On
|
|||
; domain\popo, domain\zozo. Recommended value: On, capture everything.
|
||||
CaptureMultipleHashFromSameHost = On
|
||||
|
||||
[Machine Info]
|
||||
|
||||
;Prefix for the Machine name
|
||||
Machine-Name-Prefix = WIN
|
||||
; Custom Domain name, include .local or .com etc.
|
||||
Domain-Name =
|
||||
|
||||
[HTTP Server]
|
||||
|
||||
; Set to On to always serve the custom EXE
|
||||
|
|
10
settings.py
10
settings.py
|
@ -293,11 +293,19 @@ class Settings:
|
|||
self.MDNSTLD = ['.LOCAL']
|
||||
self.DontRespondToName = [x+y for x in self.DontRespondToName_ for y in ['']+self.MDNSTLD]
|
||||
#Generate Random stuff for one Responder session
|
||||
self.MachineName = 'WIN-'+''.join([random.choice('ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789') for i in range(11)])
|
||||
machine_name_prefix = config.get("Machine Info", "Machine-Name-Prefix")
|
||||
|
||||
self.MachineName = machine_name_prefix+'-'+''.join([random.choice('ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789') for i in range(11)])
|
||||
|
||||
self.Username = ''.join([random.choice('ABCDEFGHIJKLMNOPQRSTUVWXYZ') for i in range(6)])
|
||||
self.Domain = ''.join([random.choice('ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789') for i in range(4)])
|
||||
self.DHCPHostname = ''.join([random.choice('ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789') for i in range(9)])
|
||||
self.DomainName = self.Domain + '.LOCAL'
|
||||
|
||||
custom_domain_name = config.get("Machine Info", "Domain-Name")
|
||||
if custom_domain_name != "":
|
||||
self.DomainName = custom_domain_name
|
||||
|
||||
self.MachineNego = ''.join([random.choice('ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789') for i in range(9)]) +'$@'+self.DomainName
|
||||
self.RPCPort = random.randrange(45000, 49999)
|
||||
# Auto Ignore List
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue