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

Add missing domain id value in subscan #1069

Merged
merged 1 commit into from
Nov 23, 2023
Merged

Add missing domain id value in subscan #1069

merged 1 commit into from
Nov 23, 2023

Conversation

psyray
Copy link
Contributor

@psyray psyray commented Nov 22, 2023

Related to #1041

In database there is a lot of endpoints which does not have a target_domain_id value.
It generates a lot of duplicates and can cause scan to fail, bad count (see #1041) and a lot of side effects
image

This PR fix missing domain_id value while launching a subscan

This fix definitively #1040

For those who wants to correctly count their endpoints previously scanned on target page, you need to update the target id of endpoints in the database

UPDATE public."startScan_endpoint"
set target_domain_id=1
where http_url like '%http_urls_to_update_here%'

@psyray psyray self-assigned this Nov 22, 2023
@psyray psyray added bug Something isn't working release/2.0.2 and removed bug Something isn't working labels Nov 22, 2023
@yogeshojha yogeshojha merged commit 6c1ec31 into yogeshojha:master Nov 23, 2023
3 of 5 checks passed
@psyray psyray deleted the fix-domain-id-missing branch December 11, 2023 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants