This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # Run an arbitary script on the machine | |
| # Where the git repo is, optionally could be set from outside ENV? Not sure how that would work in cron | |
| GIT_DIR=<put your code location here> | |
| cd $GIT_DIR | |
| exit 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #lang racket/base | |
| (require quickscript) | |
| (require racket/string) | |
| (require net/url) | |
| (require json) | |
| (define LAST-30-CVES-ENDPOINT "https://cve.circl.lu/api/last") | |
| (define SPECIFIC-CVE-ENDPOINT "https://cve.circl.lu/api/cve/") ; e.g. https://cve.circl.lu/api/cve/CVE-2010-3333 | |
| (define CVE-REGEXP #px"CVE-\\d{4}-\\d{4}") |
OlderNewer