lolbinarycat
lolbinarycat
here's a prototype script that outputs metadata urls for a given vulnerability ``` #!/usr/bin/env fish set -l cveId $argv[1] set -l cpeCriteriaMatchList (curl 'https://services.nvd.nist.gov/rest/json/cves/2.0?cveId='$cveId | jq -r '.vulnerabilities.[].cve.configurations.[].nodes.[].cpeMatch.[].matchCriteriaId') for matchCriteriaId...
and here's another quick script, this time for extracting the source urls from a derivation. ```fish #!/usr/bin/env fish function scrape_drv if test (count $argv) = 0 return end scrape_drv (nix...
the advantage of the second approach is it fits the way vulnix currently works better, acting on store derivations instead of package attrsets.
possibly also of use for the second case: https://git.envs.net/binarycat/nixpkgs-resolve-mirror quickly and safely translates mirror:// urls into their http equivalents. there is also the showURLs option, but executing a possibly compromised...
i suppose it would, if the database contains such captions.
i just want an elegant way to use rust in makefiles, as far as i can tell, there really isn't one right now
@weihanglo it works, but it also builds the project in the current dir, and it only prints the version number if the build is successful. which is a problem, because...
> From what I understand, this seems to be a problem, and the build should not be performed if it only outputs the version. from `cargo rustc --help`: > Compile...
> From reading the issue description, there seems to be two different output you want: no, just the rustc version is enough for my usecase > > * Get the...
> Not mean to turn this down, but Cargo is cautious of adding new flags, since once they've added they stay like forever. A specialized flag for only one purpose...