Skip to content

Commit

Permalink
Merge branch 'dev' into custom-ua
Browse files Browse the repository at this point in the history
  • Loading branch information
liquidsec authored Jan 21, 2025
2 parents 3b0cdb9 + 949aa7d commit 13cdc27
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 78 deletions.
4 changes: 2 additions & 2 deletions bbot/modules/baddns_direct.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async def handle_event(self, event):
"direct_mode": True,
}

CNAME_direct_instance = CNAME_direct_module(event.host, **kwargs)
CNAME_direct_instance = CNAME_direct_module(str(event.host), **kwargs)
if await CNAME_direct_instance.dispatch():
results = CNAME_direct_instance.analyze()
if results and len(results) > 0:
Expand Down Expand Up @@ -78,7 +78,7 @@ async def filter_event(self, event):
if event.type == "URL":
if event.scope_distance > 0:
self.debug(
f"Rejecting {event.host} due to not being in scope (scope distance: {str(event.scope_distance)})"
f"Rejecting {event.host} due to not being in scope (scope distance: {event.scope_distance})"
)
return False
if "cdn-cloudflare" not in event.tags:
Expand Down
Loading

0 comments on commit 13cdc27

Please sign in to comment.