Sinderella / epherousa

1 stars 0 forks source link

CVE parsing buggy #48

Open Sinderella opened 7 years ago

Sinderella commented 7 years ago

What if the phrase contains "cve"?

https://github.com/Sinderella/epherousa/blob/master/epherousa/__init__.py#L104

ngkogkos commented 7 years ago

Danieeeeel. Yeah I know I think we discussed about this again? Using the proper regex in that place to match CVE. I think even if we take of the -p arg, knowing if user searched by CVE or phrase will be useful for some functionality, so we definitely need to somehow know if the user provided a CVE.

Sinderella commented 7 years ago

Keep -p but change CVE regex to the right format