{"id":16641972,"url":"https://github.com/crabtree/defeway-toolbox","last_synced_at":"2026-04-25T09:37:31.344Z","repository":{"id":36184885,"uuid":"222155669","full_name":"crabtree/defeway-toolbox","owner":"crabtree","description":null,"archived":false,"fork":false,"pushed_at":"2025-12-27T18:25:23.000Z","size":81,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-29T17:27:59.514Z","etag":null,"topics":["dvr","scanner"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crabtree.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-16T20:30:59.000Z","updated_at":"2025-12-27T18:25:19.000Z","dependencies_parsed_at":"2023-01-16T23:14:08.168Z","dependency_job_id":null,"html_url":"https://github.com/crabtree/defeway-toolbox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/crabtree/defeway-toolbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crabtree%2Fdefeway-toolbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crabtree%2Fdefeway-toolbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crabtree%2Fdefeway-toolbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crabtree%2Fdefeway-toolbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crabtree","download_url":"https://codeload.github.com/crabtree/defeway-toolbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crabtree%2Fdefeway-toolbox/sbom","scorecard":{"id":307042,"data":{"date":"2025-08-11","repo":{"name":"github.com/crabtree/defeway-toolbox","commit":"a66ba1436065aae969fe6cd623c671dee1db4542"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/go.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/crabtree/defeway-toolbox/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/crabtree/defeway-toolbox/go.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T22:20:10.715Z","repository_id":36184885,"created_at":"2025-08-17T22:20:10.715Z","updated_at":"2025-08-17T22:20:10.715Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32257755,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T09:15:33.318Z","status":"ssl_error","status_checked_at":"2026-04-25T09:15:31.997Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dvr","scanner"],"created_at":"2024-10-12T07:48:26.432Z","updated_at":"2026-04-25T09:37:31.299Z","avatar_url":"https://github.com/crabtree.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Defeway Toolbox\r\n\r\n[![Maintainability](https://api.codeclimate.com/v1/badges/25cd6143e39b5d2c5caa/maintainability)](https://codeclimate.com/github/crabtree/defeway-toolbox/maintainability)\r\n[![Go Report Card](https://goreportcard.com/badge/github.com/crabtree/defeway-toolbox)](https://goreportcard.com/report/github.com/crabtree/defeway-toolbox)\r\n\r\n## Build defeway-download binary\r\n\r\n```\r\ngo build -o defewaydownload ./cmd/download\r\n```\r\n\r\n## Use defeway-download binary\r\n\r\nUsage of `defewaydownload` binary:\r\n\r\n- `-addr value` - IP address of the DVR\r\n- `-chan value` - channel id, you can specify multiple channels, optional when `-file` specified\r\n- `-concurrent int` - the number of concurrent workers (default 1)\r\n- `-date value` - date in format YYYY-MM-DD (eg. 2019-01-01)\r\n- `-end value` - recordings end time\r\n- `-file string` - path to the XML file with a list of recordings to download\r\n- `-no-keep-alives` - do not keep connections alive\r\n- `-output string` - path to the downloads directory\r\n- `-overwrite` - overwrite existing files\r\n- `-password string` - password for the DVR (default empty)\r\n- `-port int` - port of the DVR (default 60001)\r\n- `-preview` - limit the length of the downloads to about 1 minute\r\n- `-start value` - recordings strat time\r\n- `-timeout timespan` - the timeout parameter for the HTTP client (default 5s)\r\n- `-tls-skip-verify` - skip TLS verification\r\n- `-type value` - recording type, you can specify multiple types, optional when `-file` specified\r\n- `-username string` - username for the DVR (default \"admin\")\r\n\r\n## Build defeway-scan binary\r\n\r\n```\r\ngo build -o defewayscan ./cmd/scan\r\n```\r\n\r\n## Use defeway-scan binary:\r\n\r\nUsage of `defewayscan` binary:\r\n\r\n- `-addr value` - IP address from which the scanner should start its job\r\n- `-concurrent int` - the number of concurrent workers (default 1)\r\n- `-logdir string` - path to the logs directory\r\n- `-mask value` - network mask (eg. 255.255.255.0)\r\n- `-port value` - the port of the DVR to scan, you can specify multiple ports\r\n- `-password string` - password for the DVR (default empty)\r\n- `-timeout timespan` - the timeout parameter for the HTTP client (default 5s)\r\n- `-tls-skip-verify` - skip TLS verification\r\n- `-username string` - username for the DVR (default \"admin\")\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrabtree%2Fdefeway-toolbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrabtree%2Fdefeway-toolbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrabtree%2Fdefeway-toolbox/lists"}