Skip to content

bug: Subdomain Discovery Scan Results Put in Wrong Target #1165

@serrapa

Description

@serrapa

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

hello, I have installed rengine 2.0.2. After a subdomain discovery scan on a target, I cannot see the sudomains found on the subdomains tab of the target page, do you know if this problem have been fixed in latest version? I saw this #1053 but don't know if it is related to my problem..

I belive there something wrong (probably because of IDs)... Let's summarize what i did
Added target.com as a target
Added target.it as a target
Added somethingtarget.it as a target

Than I:
run a subdomain discovery scan on target.com
run a subdomain discovery scan on target.it

At this point, I see:
the subdomains found with the first scan in the Subdomain Tab of the Target Page of target.it
the subdomains found with the second scan in the Subdomain Tab of the Target Page of somethingtarget.it

Evidence below:

First, I added 3 targets:
image
After that, I did a scan on xxxd.com and 13 subdomains have been found:
image
Going on the Target Summary -> Subdomains of the target xxxd.com nothing appears:
image
But going to Target Summary -> Subdomains of the target xxxd.it, I can see the result of the single scan I run before (as you may notice above, the target xxxd.it has never been scanned):
image

Expected Behavior

Seeing the result of a scan in the correct target summary page.

Steps To Reproduce

I belive there something wrong (probably because of IDs)... Let's summarize what i did
Added target.com as a target
Added target.it as a target
Added somethingtarget.it as a target

Than I:
run a subdomain discovery scan on target.com
run a subdomain discovery scan on target.it

At this point, I see:
the subdomains found with the first scan in the Subdomain Tab of the Target Page of target.it
the subdomains found with the second scan in the Subdomain Tab of the Target Page of somethingtarget.it

Environment

- reNgine: 2.0.2
- OS: Kali GNU/Linux 2023.4 (installed with WSL)
- Python: 
- Docker Engine: Docker version 24.0.2, build cb74dfc
- Docker Compose: Docker Compose version v2.19.1
- Browser: Google Chrome 120.0.6099.201

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions