Skip to content

Frazer.it

Projects and Life…

Menu
  • Main Site
  • Blog Home
  • Guides
  • Life
  • Misc
  • Projects
  • Security
Menu

sbAPIScan – What is it?

Posted on February 16, 2022February 11, 2022 by Frazer

If you have taken a look at my projects section recently, you’ll notice I have a new project and it’s not web-based. Wtf?! I know right.. I’m pushing the boat out.

As I have the URL shortener project – from time to time I’ll sometimes get spammed with a load of URLs being created that could be deemed as potentially harmful. 99% of the time, those links are in fact phishing links. While I have been manually doing research on the URLs and then adding them to my auto-removal script, I did some Google-fu and stumbled upon the Google Safe Browsing Database. It makes sense that Google would have their own database considering the fact that they flag malicious URLs directly in their browser when you try to visit them.

If you take a look at the Google Safe Browsing Transparency page, you can perform a single search for a domain and it will return a result of whether it is malicious or not. This was great, I could fire a URL through this page and check it. As time went on, the URL Shortener was gaining more and more created links and with it an increase in spam – so I had to look into something a bit better than manually checking URLs. With some more Google-fu, it turned out that in the Cloud Console, you could use the Google Safe Browsing API to not only lookup in bulk, but return the values in bulk. On top of this, the limit at which you could check was so high, that I could easily throw a thousand URLs at it within less than a minute and have the status returned.

This is where the program was born. I’m not great with naming things so I kept it conventional and it’s called “sbAPIScan”. I’ve worked on the basis that I’d like to provide it for general use to the public (assuming the user has their own API key) and therefore I’ve uploaded version 1.0.0 to GitHub as of yesterday.

I would love to hear any feedback from anyone that decides to use it. Especially if that means improving it or fixing bugs.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • End of Year (2022)
  • Halloween Special
  • Project Closures
  • Summer Time
  • Why I Invested in Cazoo

Categories

  • Guides
  • Health
  • Life
  • Misc
  • Projects
  • Security

Recent Comments

  • Captain’s Log – Frazer.it on Scam Alert: Wetherspoon’s Fan Page
  • Sylvia on Scam Phishing Links in Your Google Calendar
  • Value My Website – Followup Post – Frazer.it on Value My Website – One Year On
  • Frazer on Post Op #3
  • Todd on Post Op #3

Archives

  • December 2022
  • October 2022
  • August 2022
  • July 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • July 2021
  • December 2020
  • November 2020
  • May 2020
  • March 2020
  • January 2020
  • December 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • April 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • May 2017

Tag Cloud

2020 2021 2022 blog code colitis coronavirus covid-19 covid19 email february getting started Google guide happy new year health holiday ileostomy j-pouch january jpouch life new year pancolitis phishing project projects scam scammer security site starting stoma student students summer surgery tech technology uc ulcerative colitis useful value my website website word health organisation
© 2023 Frazer.it