blurts-server icon indicating copy to clipboard operation
blurts-server copied to clipboard

Missing logos Mac 2022 Edition

Open pdehaan opened this issue 2 years ago • 1 comments

Finally ran the missing logos script from my new laptop:

npx pdehaan/blurts-missing-logos

API: https://fx-breach-alerts.herokuapp.com/hibp/breaches
CDN: https://fx-breach-alerts.herokuapp.com

[
  {
    "logo": "https://fx-breach-alerts.herokuapp.com/img/logos/ABFRL.png",
    "details": "https://fx-breach-alerts.herokuapp.com/breach-details/ABFRL",
    "status": 404
  },
  {
    "logo": "https://fx-breach-alerts.herokuapp.com/img/logos/CyberServe.png",
    "details": "https://fx-breach-alerts.herokuapp.com/breach-details/CyberServe",
    "status": 404
  },
  {
    "logo": "https://fx-breach-alerts.herokuapp.com/img/logos/Doxbin.png",
    "details": "https://fx-breach-alerts.herokuapp.com/breach-details/Doxbin",
    "status": 404
  },
  {
    "logo": "https://fx-breach-alerts.herokuapp.com/img/logos/GunsDotCom.png",
    "details": "https://fx-breach-alerts.herokuapp.com/breach-details/GunsDotCom",
    "status": 404
  },
  {
    "logo": "https://fx-breach-alerts.herokuapp.com/img/logos/ShockGore.png",
    "details": "https://fx-breach-alerts.herokuapp.com/breach-details/ShockGore",
    "status": 404
  }
]

Not sure why we have a couple red herrings in there. I definitely see the ABFRL.png and CyberServe.png and Doxbin.png images on the breach details page, but maybe my script is incorrectly checking a branch instead of the CDN, so there might be something else at play.

If I specify the CDN, I only see the latter two missing breach logos (but that also breaks the details links, which are decidedly NOT on the CDN, so I definitely have some bugs in my trash code):

npx pdehaan/blurts-missing-logos -c

API: https://monitor.firefox.com/hibp/breaches
CDN: https://monitor.cdn.mozilla.net

[
  {
    "logo": "https://monitor.cdn.mozilla.net/img/logos/GunsDotCom.png",
    "details": "https://monitor.cdn.mozilla.net/breach-details/GunsDotCom",
    "status": 404
  },
  {
    "logo": "https://monitor.cdn.mozilla.net/img/logos/ShockGore.png",
    "details": "https://monitor.cdn.mozilla.net/breach-details/ShockGore",
    "status": 404
  }
]

pdehaan avatar Mar 14 '22 19:03 pdehaan

Well, in the case of ABFRL.png, I see it in the https://github.com/mozilla/blurts-server/blob/main-kanary/public/img/logos/ABFRL.png branch (and CDN), but not in the https://github.com/mozilla/blurts-server/tree/main/public/img/logos branch; which might explain it.

pdehaan avatar Mar 14 '22 19:03 pdehaan