diff --git a/secator/tasks/naabu.py b/secator/tasks/naabu.py index c9c69c83..a296b981 100644 --- a/secator/tasks/naabu.py +++ b/secator/tasks/naabu.py @@ -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