Skip to content

Instantly share code, notes, and snippets.

@adulau
Created June 10, 2020 15:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adulau/8f4967842a4fb0d3532a9dc925e9c19f to your computer and use it in GitHub Desktop.
Save adulau/8f4967842a4fb0d3532a9dc925e9c19f to your computer and use it in GitHub Desktop.
How to use cve-search - funny command lines

Generate PDFs from a set of CVE found by CPE

curl "http://127.0.0.1:5000/api/search/smiths-medical" | jq -r ".[] | .[].id" | parallel --gnu "python3 cve_doc.py -a http://127.0.0.1:5000/ -c {} >/tmp/{}.asc; cd /tmp; asciidoctor-pdf {}.asc"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment