bbot 2.3.0.5401rc0__py3-none-any.whl → 2.3.0.5404rc0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of bbot might be problematic. Click here for more details.

bbot/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # version placeholder (replaced by poetry-dynamic-versioning)
2
- __version__ = "v2.3.0.5401rc"
2
+ __version__ = "v2.3.0.5404rc"
3
3
 
4
4
  from .scanner import Scanner, Preset
@@ -73,6 +73,7 @@ class DNSResolve(BaseInterceptModule):
73
73
  if blacklisted:
74
74
  return False, "it has a blacklisted DNS record"
75
75
 
76
+ # DNS resolution for hosts that aren't IPs
76
77
  if not event_is_ip:
77
78
  # if the event is within our dns search distance, resolve the rest of our records
78
79
  if main_host_event.scope_distance < self._dns_search_distance:
@@ -82,9 +83,9 @@ class DNSResolve(BaseInterceptModule):
82
83
  event_data_changed = await self.handle_wildcard_event(main_host_event)
83
84
  if event_data_changed:
84
85
  # since data has changed, we check again whether it's a duplicate
85
- if self.scan.ingress_module.is_incoming_duplicate(event, add=True):
86
+ if event.type == "DNS_NAME" and self.scan.ingress_module.is_incoming_duplicate(event, add=True):
86
87
  if not event._graph_important:
87
- return False, "event was already emitted by its module"
88
+ return False, "it's a DNS wildcard, and its module already emitted a similar wildcard event"
88
89
  else:
89
90
  self.debug(
90
91
  f"Event {event} was already emitted by its module, but it's graph-important so it gets a pass"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bbot
3
- Version: 2.3.0.5401rc0
3
+ Version: 2.3.0.5404rc0
4
4
  Summary: OSINT automation for hackers.
5
5
  Home-page: https://github.com/blacklanternsecurity/bbot
6
6
  License: GPL-3.0
@@ -1,4 +1,4 @@
1
- bbot/__init__.py,sha256=TROxeibhKpm03QcygA_8McoE6ZzlkeXlbspdy0AXtqM,130
1
+ bbot/__init__.py,sha256=-cLt53eqldL4aPsPc2YgOHGI6b7vEurC-gMjbWuRB1s,130
2
2
  bbot/cli.py,sha256=xPTXsZr8FGmI3N6e3gjo9i9E2u-Ih2Sr4MQU6RTxnj8,10434
3
3
  bbot/core/__init__.py,sha256=l255GJE_DvUnWvrRb0J5lG-iMztJ8zVvoweDOfegGtI,46
4
4
  bbot/core/config/__init__.py,sha256=zYNw2Me6tsEr8hOOkLb4BQ97GB7Kis2k--G81S8vofU,342
@@ -122,7 +122,7 @@ bbot/modules/internal/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
122
122
  bbot/modules/internal/aggregate.py,sha256=csWYIt2fUp9K_CRxP3bndUMIjpNIh8rmBubp5Fr1-nc,395
123
123
  bbot/modules/internal/base.py,sha256=BXO4Hc7XKaAOaLzolF3krJX1KibPxtek2GTQUgnCHk0,387
124
124
  bbot/modules/internal/cloudcheck.py,sha256=WVW5gQQhnJmTb1_wl4MjM_HUNQIKS8kIQFNKdaAGJiY,4754
125
- bbot/modules/internal/dnsresolve.py,sha256=BJFuKFO8JykvKaXq2x9dbIUCbME4SFJPyhiZhnrFiKQ,15219
125
+ bbot/modules/internal/dnsresolve.py,sha256=EhZ9KI-cC4P0uIn09Qy7kpPhWU2seeOt-uYLsHqrcO4,15336
126
126
  bbot/modules/internal/excavate.py,sha256=18173N5g9xUZKwAPrvR6Y9Vm3WK_174s9YYBvSnqeZo,51527
127
127
  bbot/modules/internal/speculate.py,sha256=1UX5YKCfUnJ4EV8suHSAdq1Y2decEjIV88LQ8-VQcRQ,9260
128
128
  bbot/modules/internetdb.py,sha256=Edg0Z84dH8dPTZMd7RlzvYBYNq8JHs_ns_ldnFxwRKo,5415
@@ -414,8 +414,8 @@ bbot/wordlists/raft-small-extensions-lowercase_CLEANED.txt,sha256=ZSIVebs7ptMvHx
414
414
  bbot/wordlists/top_open_ports_nmap.txt,sha256=LmdFYkfapSxn1pVuQC2LkOIY2hMLgG-Xts7DVtYzweM,42727
415
415
  bbot/wordlists/valid_url_schemes.txt,sha256=0B_VAr9Dv7aYhwi6JSBDU-3M76vNtzN0qEC_RNLo7HE,3310
416
416
  bbot/wordlists/wordninja_dns.txt.gz,sha256=DYHvvfW0TvzrVwyprqODAk4tGOxv5ezNmCPSdPuDUnQ,570241
417
- bbot-2.3.0.5401rc0.dist-info/LICENSE,sha256=GzeCzK17hhQQDNow0_r0L8OfLpeTKQjFQwBQU7ZUymg,32473
418
- bbot-2.3.0.5401rc0.dist-info/METADATA,sha256=AAe90wxjF1jfpB25a7yDBkUMa1lwWp7BEtrhux7SaaY,17949
419
- bbot-2.3.0.5401rc0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
420
- bbot-2.3.0.5401rc0.dist-info/entry_points.txt,sha256=cWjvcU_lLrzzJgjcjF7yeGuRA_eDS8pQ-kmPUAyOBfo,38
421
- bbot-2.3.0.5401rc0.dist-info/RECORD,,
417
+ bbot-2.3.0.5404rc0.dist-info/LICENSE,sha256=GzeCzK17hhQQDNow0_r0L8OfLpeTKQjFQwBQU7ZUymg,32473
418
+ bbot-2.3.0.5404rc0.dist-info/METADATA,sha256=oZRtFdalyEuSwLkG3CV8YudjhxKSQxNlhWvTYEYmd9U,17949
419
+ bbot-2.3.0.5404rc0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
420
+ bbot-2.3.0.5404rc0.dist-info/entry_points.txt,sha256=cWjvcU_lLrzzJgjcjF7yeGuRA_eDS8pQ-kmPUAyOBfo,38
421
+ bbot-2.3.0.5404rc0.dist-info/RECORD,,