Skip to content

bug: Subdomains not showing in target/subdomains tab #990

@psyray

Description

@psyray

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When displaying Subdomains in Target tab, a Datatable JS error is showing, loader stay and list is empty
I've compared with the Scans / Subdomains tab and the Ajax query that retrieve subdomains list in Target/Subdomains tab does not exists, so It generates the Datatable error

  • Target tab
    image

  • Scan tab
    image

Expected Behavior

Subdomains should be listed in the Target / Subdomains tabs

Steps To Reproduce

  1. Do a scan
  2. Go to Target / Subdomains tab
  3. No subdomain listed and no API call
  4. Got to Scan / Subdomains tab
  5. Subdomains are listed and API call is correct

Environment

- reNgine: 2.0
- OS: Debian 3.10
- Python: 3.10
- Docker Engine: 24.0.1
- Docker Compose: 1.29.2
- Browser: FF 118

Anything else?

I've looked into the JS code for the 2 tabs (Target and Scan) , did some modification, but the API call is not coming
Looks like the modification was done by @ocervell
image

I'm trying to investigate

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions