IntelOwl icon indicating copy to clipboard operation
IntelOwl copied to clipboard

Update phishstats base URL

Open mlodic opened this issue 11 months ago • 20 comments

The new URL is https://api.phishstats.info/api/phishing. Now we are using "https://phishstats.info:2096/api" which fails.

For more info see: https://phishstats.info/api-docs.

A new migration is required for this.

mlodic avatar Jan 04 '26 17:01 mlodic

@mlodic can I take this?

shihabhasan0161 avatar Jan 05 '26 03:01 shihabhasan0161

thanks! will submit a pr soon.

shihabhasan0161 avatar Jan 05 '26 16:01 shihabhasan0161

@mlodic can I work on this issue.

I verified the PhishStats documentation, and the base URL has indeed changed to https://api.phishstats.info/api/. I will update the URL constant in the analyzer and verify the fix using the TestPhishStats test suite before submitting the PR.

Jay-Dosi avatar Jan 08 '26 13:01 Jay-Dosi

I'm currently working on it, should be done today or within tomorrow. @Jay-Dosi I will ping you if I can't finish it by tomorrow.

shihabhasan0161 avatar Jan 08 '26 16:01 shihabhasan0161

@mlodic Sorry about the delay. It's done here #3184. It took me a little bit of time to just setup the environment in my desktop lol.

shihabhasan0161 avatar Jan 09 '26 21:01 shihabhasan0161

@shihabhasan0161 you need to read the issue text....I explicitly said that a new migration is required but you just changed a string in the code...don't waste our time, thank you

mlodic avatar Jan 10 '26 08:01 mlodic

@mlodic, could I please be assigned to work on this issue?

H4CK3R01P avatar Jan 10 '26 10:01 H4CK3R01P

@mlodic, Could please assign it to me , I said it earlier

Jay-Dosi avatar Jan 10 '26 12:01 Jay-Dosi

@Jay-Dosi I’m getting to it now, and could you please take a look at the other issues?

H4CK3R01P avatar Jan 10 '26 13:01 H4CK3R01P

@Jay-Dosi you already have a task assigned, you must complete it before getting another assignment, that's what is written to the official rules. Also, this is not a race and we really discourage this kind of behavior. Open source is meant to be collaborative and we don't tolerate childish behavior.

please @H4CK3R01P follow the contribution rules and open a PR once you get your work done

mlodic avatar Jan 10 '26 17:01 mlodic

@Jay-Dosi you already have a task assigned, you must complete it before getting another assignment, that's what is written to the official rules. Also, this is not a race and we really discourage this kind of behavior. Open source is meant to be collaborative and we don't tolerate childish behavior.

please @H4CK3R01P follow the contribution rules and open a PR once you get your work done

sure @mlodic

H4CK3R01P avatar Jan 11 '26 19:01 H4CK3R01P

Hi @mlodic I’d like to work on this issue if it’s still available.
Please let me know if it’s okay to proceed.

Thanks!

Gagan144-blip avatar Jan 12 '26 01:01 Gagan144-blip

hey @mlodic can you please review my pr

aryan19926 avatar Jan 14 '26 16:01 aryan19926

Hey @aryan19926, the issue has not been assigned to you. Please follow the official contribution guidelines.

fgibertoni avatar Jan 18 '26 09:01 fgibertoni

hey @mlodic can you please assign me this issue

aryan19926 avatar Jan 18 '26 09:01 aryan19926

Hey @aryan19926, the issue has not been assigned to you. Please follow the official contribution guidelines.

Okay thanks, Also if you can assign me this issue as well, that would be helpful

aryan19926 avatar Jan 18 '26 09:01 aryan19926

if you keep being so pushy, you'll be banned from the project, stay respectful

mlodic avatar Jan 18 '26 10:01 mlodic

if you keep being so pushy, you'll be banned from the project, stay respectful

Sure , will keep this in mind

aryan19926 avatar Jan 18 '26 10:01 aryan19926

Hi @mlodic,

I would like to work on this issue. My plan to address it is as follows:

  1. Update the PhishStats analyzer to use the new base URL https://api.phishstats.info/api.
  2. Create a new migration to add a configurable url parameter and update any existing configurations.
  3. Verify and update the test_phishstats.py unit tests to ensure they match the response structure of the new API endpoint.

Please let me know if this approach aligns with your expectations.

NikhilRaikwar avatar Jan 29 '26 17:01 NikhilRaikwar

Hi @mlodic, I have completed the task.

I've updated the PhishStats analyzer to use the new API base URL (https://api.phishstats.info/api) and created the required migration (0171_phishstats_url.py) to handle the configuration change.

I also verified the new API response format and updated the unit tests accordingly (e.g., updating country to countrycode to match the actual API response).

I have submitted the PR https://github.com/intelowlproject/IntelOwl/pull/3247 with these changes. Please review it when you get a chance. Thanks!

NikhilRaikwar avatar Jan 29 '26 19:01 NikhilRaikwar