This is the absolute minimum for the "#spammers and shitty click scammers section" in your hosts file.
Copy the content to your own hosts file. Do not overwrite your hosts file! You probably have something useful there.
Works in Linux.
Microsft Windows? No idea. Stop using Bills Gates shitware.