For my final year uni project I am scanning firefox addons.
I need to download the .xpi for every possible extension, what is the best way to do this?
Thanks.
For my final year uni project I am scanning firefox addons.
I need to download the .xpi for every possible extension, what is the best way to do this?
Thanks.
You could imagine sending GET requests to Mozilla website, e.g.
https://addons.mozilla.org/api/v4/addons/search/?app=firefox&appversion=83.0&page=1&page_size=50&type=extension
... then get .XPI files thanks to the URL you'll find in the "results" > "current_version".
And then do the same for page 2, ...
It should be easy to automatize (in Python or Bash for example), however you should program some sleep time between two requests in order to avoid overloading Mozilla's servers and / or being blacklisted.