这是indexloc提供的服务,不要输入任何密码
Skip to content

Subfinder outputs newlines within crtsh domains #658

@Cgboal

Description

@Cgboal

Describe the bug
Subfinder seems to parse multi-line domains incorrectly from crt.sh, resulting in newlines being present in the domain names.

Subfinder version
2.5.4 and 2.4.9

Complete command you used to reproduce this

❯ subfinder -d onsecurity.io -oJ -silent | jq
{
  "host": "r2.onsecurity.io",
  "input": "onsecurity.io",
  "source": "alienvault"
}
{
  "host": "help.onsecurity.io",
  "input": "onsecurity.io",
  "source": "alienvault"
}
{
  "host": "r.onsecurity.io",
  "input": "onsecurity.io",
  "source": "alienvault"
}
{
  "host": "app.onsecurity.io\nonsecurity.io\npartner.app.onsecurity.io",
  "input": "onsecurity.io",
  "source": "crtsh"
}
{
  "host": "partners.uat.dev.onsecurity.io\nuat.dev.onsecurity.io\nuat.dev.onsecurity.io",
  "input": "onsecurity.io",
  "source": "crtsh"
}

If you want me to fix this i'm happy to do so if it'll lead to faster resolution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: CompletedNothing further to be done with this issue. Awaiting to be closed.Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions