module Pocbrowser

Defined in:

main.cr
pocbrowser/cli.cr
pocbrowser/config.cr
pocbrowser/runner.cr
pocbrowser/scrapers/cvebase.cr
pocbrowser/scrapers/dispach.cr
pocbrowser/scrapers/exploitdb.cr
pocbrowser/scrapers/github.cr
pocbrowser/scrapers/youtube.cr
pocbrowser/validator.cr

Constant Summary

ALLOWED_MODES = ["yt", "gh", "cb", "ed"]

Allowed crawlers for CVE presented in CLI

APPNAME = "pocbrowser"

Application name

MODE_TO_SCRAPER = {"yt" => Pocbrowser::YoutubeScraper.new, "gh" => Pocbrowser::GithubScraper.new, "cb" => Pocbrowser::CveBaseScraper.new, "ed" => Pocbrowser::ExploitDBScraper.new}
VERSION = {{ (`shards version /srv/crystaldoc.info/github-5amu-pocbrowser-1.0.2/src/pocbrowser`).chomp.stringify }}

Get version at compile time in /shard.yml