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

Path queries from URL to Hostname not supported #2579

Closed
Rieven opened this issue Feb 29, 2024 · 0 comments · Fixed by #2662
Closed

Path queries from URL to Hostname not supported #2579

Rieven opened this issue Feb 29, 2024 · 0 comments · Fixed by #2662
Assignees
Labels
bug Something isn't working octopoes Issues related to octopoes 😸 Review/QA feedback Review/QA feedback provided tech-debt
Milestone

Comments

@Rieven
Copy link
Contributor

Rieven commented Feb 29, 2024

When creating a URL object, a hostname object will be created with a reference via web_url.

We create a URL object having:
URL|internet|http://mispo.es/ as primary key this will be the source path

Then. we need the web_url which will reveal the HostnameHTTPURL props which results in:
[
{
"object_type": "HostnameHTTPURL",
"scan_profile": null,
"primary_key": "HostnameHTTPURL|http|internet|mispo.es|80|/",
"network": "Network|internet",
"scheme": "http",
"port": 80,
"path": "/",
"netloc": "Hostname|internet|mispo.es"
}
]

From here we need to continue querying down the line using the netloc to get the Hostname primary_key

From this point we cannot continue with the path using URL.web_url.netloc

image

error logs:
image

@Donnype Donnype self-assigned this Feb 29, 2024
@underdarknl underdarknl added this to the OpenKAT v1.16 milestone Mar 4, 2024
@underdarknl underdarknl added this to KAT Mar 4, 2024
@github-project-automation github-project-automation bot moved this to Incoming features / Need assessment in KAT Mar 4, 2024
@underdarknl underdarknl moved this from Incoming features / Need assessment to Todo (In this sprint) in KAT Mar 4, 2024
@underdarknl underdarknl added bug Something isn't working tech-debt labels Mar 4, 2024
@Donnype Donnype moved this from Todo (In this sprint) to In Progress in KAT Mar 13, 2024
@Donnype Donnype added the octopoes Issues related to octopoes label Mar 14, 2024
@underdarknl underdarknl moved this from In Progress to Review in KAT Mar 18, 2024
@Donnype Donnype moved this from Review to QA review / functional testing in KAT Mar 21, 2024
@stephanie0x00 stephanie0x00 added the 😸 Review/QA feedback Review/QA feedback provided label Mar 25, 2024
@stephanie0x00 stephanie0x00 moved this from QA review / functional testing to In Progress in KAT Mar 26, 2024
@Donnype Donnype moved this from In Progress to QA review / functional testing in KAT Mar 28, 2024
@github-project-automation github-project-automation bot moved this from QA review / functional testing to Done in KAT Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working octopoes Issues related to octopoes 😸 Review/QA feedback Review/QA feedback provided tech-debt
Projects
Archived in project
4 participants