Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portscan bug #1779

Open
TheTechromancer opened this issue Sep 17, 2024 · 0 comments
Open

Portscan bug #1779

TheTechromancer opened this issue Sep 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@TheTechromancer
Copy link
Collaborator

2024-09-17 13:55:44,266 [ERROR] bbot.scanner scanner.py:1203 Error in portscan.handle_batch(): /root/bbot/bbot/core/helpers/misc.py:230:split_host_port(): split_port() failed to parse netloc
 "::"                                                                                                                                                                                         
2024-09-17 13:55:44,266 [TRACE] bbot.scanner logger.py:132 Traceback (most recent call last):                                                                                                 
  File "/root/bbot/bbot/scanner/scanner.py", line 1180, in _acatch                                                                                                                            
    yield
  File "/root/bbot/bbot/modules/base.py", line 401, in _handle_batch
    await self.handle_batch(*events)
  File "/root/bbot/bbot/modules/portscan.py", line 110, in handle_batch
    syn_targets, syn_correlator = await self.make_targets(events, self.syn_scanned)
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/bbot/bbot/modules/portscan.py", line 199, in make_targets
    if not scanned_tracker.get(ip):
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/bbot/bbot/scanner/target.py", line 402, in get
    event = make_event(host, dummy=True)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/bbot/bbot/core/event/base.py", line 1655, in make_event
    return event_class(
           ^^^^^^^^^^^^
  File "/root/bbot/bbot/core/event/base.py", line 1101, in __init__
    super().__init__(*args, **kwargs)
  File "/root/bbot/bbot/core/event/base.py", line 1087, in __init__
    if is_subdomain(self.host):
       ^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/bbot/bbot/core/helpers/misc.py", line 84, in is_subdomain
    d, _ = split_host_port(d)
           ^^^^^^^^^^^^^^^^^^
  File "/root/bbot/bbot/core/helpers/misc.py", line 230, in split_host_port
    raise ValueError(f'split_port() failed to parse netloc "{netloc}"')
ValueError: split_port() failed to parse netloc "::"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant