We teach an online course and would like to issue takedown notices if source code for our projects are made publicly available.
Is there a way to automate a periodic online search for any code that matches files that we have saved on disk? Currently we use Google Alerts and manually feed in keywords, but this is too noisy, and we need to manually feed in results to be ignored once a match is found (using
-site:url-of-found-results). Eventually, we end up with long unwieldy search strings.
Ideally, when we add code to our "protected source list", the solution would find "unique identifiers" which currently don't exist on the Internet, and only search for those identifiers, triggering when found.
If found, an alert should be triggered. We would like to mark results as
false positive so that we don't get repeated alerts.