Skip to content

Commit

Permalink
Merge branch 'main' into fix-tests-workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ocervell committed Dec 3, 2024
2 parents cdb0b0b + 935ee65 commit ef426da
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions secator/tasks/naabu.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,9 @@ def before_init(self):
for ix, input in enumerate(self.inputs):
if input == 'localhost':
self.inputs[ix] = '127.0.0.1'

@staticmethod
def on_item(self, item):
if item.host == '127.0.0.1':
item.host = 'localhost'
return item

0 comments on commit ef426da

Please sign in to comment.