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

URLs that do not start with https?:// #316

Closed
panzukai opened this issue Dec 1, 2023 · 1 comment
Closed

URLs that do not start with https?:// #316

panzukai opened this issue Dec 1, 2023 · 1 comment

Comments

@panzukai
Copy link

panzukai commented Dec 1, 2023

I have noticed in my usage that researchers may simply report a url in the form: domain[.]tld/someURI

The extractIOC function is not returning these in the iocs.urls array. Just getting domain in the domains array.

Could add another option for strictURLs maybe that makes the https?:// part of the regex optional if the option is set to false. Or simply make it optional without an option setting.

@ninoseki
Copy link
Owner

ninoseki commented Dec 2, 2023

Literally it's not a URL and the protocol is missing.
So it's impossible to infer it.

@ninoseki ninoseki closed this as not planned Won't fix, can't repro, duplicate, stale Dec 12, 2023
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

No branches or pull requests

2 participants