How to exclude machine writeups from google search results?

For me, it kind of depends on what you are searching for. I’ve never come across a write up for a box by accident.

As an example, if I am doing bitlab and I want to find an exploit for Gitlab https://www.google.com/search?q=gitlab+exploit doesn’t return anything related to HTB, even though the box retired 10 months ago and there are a lot of unlocked write-ups.

It might be worth trying to be more specific in the search terms. For example “somesoftware v1.0 exploitdb”