How to exclude machine writeups from google search results?

Type your comment> @doubleu said:

When searching for specific exploits, I often encounter the HTB writeup for the exact machine I’m working on, especially on retired machines, is there any way to exclude it from my search results without actually impairing the results?

Best I can do is dork like this:

somesoftware v1.0 exploit -htb -writeup

If I forgot, I just fling my eyes and exit the tab, hopefully haven’t read anything, if I did, then the experience of the whole box is now ruined.

Do you guys have a better method of doing this? It’s just annoying.

sudo apt install exploitdb

Now you have the entire exploitdb database on your local machine. If you are running Kali it is already installed by default.