Skip to content

Commit 66050dd

Browse files
authored
%s placeholder mssing (#1740)
1 parent 6bfe539 commit 66050dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

impacket/examples/ntlmrelayx/attacks/ldapattack.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ def get_next_serial(server, zone):
872872

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

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

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

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

0 commit comments

Comments
 (0)