Skip to content

Commit

Permalink
%s placeholder mssing (#1740)
Browse files Browse the repository at this point in the history
  • Loading branch information
m8r1us authored May 3, 2024
1 parent 6bfe539 commit 66050dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions impacket/examples/ntlmrelayx/attacks/ldapattack.py
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ def get_next_serial(server, zone):

LOG.info('Adding `A` record `%s` pointing to `%s` at `%s`' % (a_record_name, ipaddr, a_record_dn))
if not self.client.add(a_record_dn, ['top', 'dnsNode'], a_record_data):
LOG.error('Failed to add `A` record: ' % str(self.client.result))
LOG.error('Failed to add `A` record: %s' % str(self.client.result))
return

LOG.info('Added `A` record `%s`. DON\'T FORGET TO CLEANUP (set `dNSTombstoned` to `TRUE`, set `dnsRecord` to a NULL byte)' % a_record_name)
Expand All @@ -894,7 +894,7 @@ def get_next_serial(server, zone):

LOG.info('Adding `NS` record `%s` pointing to `%s` at `%s`' % (ns_record_name, ns_record_value, ns_record_dn))
if not self.client.add(ns_record_dn, ['top', 'dnsNode'], ns_record_data):
LOG.error('Failed to add `NS` record `wpad`: ' % str(self.client.result))
LOG.error('Failed to add `NS` record `wpad`: %s' % str(self.client.result))
return

LOG.info('Added `NS` record `%s`. DON\'T FORGET TO CLEANUP (set `dNSTombstoned` to `TRUE`, set `dnsRecord` to a NULL byte)' % ns_record_name)
Expand Down

0 comments on commit 66050dd

Please sign in to comment.