{"id":26647324,"url":"https://github.com/pkgforge-security/scopeview","last_synced_at":"2025-03-24T23:51:44.330Z","repository":{"id":280931409,"uuid":"943651435","full_name":"pkgforge-security/scopeview","owner":"pkgforge-security","description":"Filters in scope and out of scope urls (subdomains) from stdin [Maintainer=@Azathothas]","archived":false,"fork":false,"pushed_at":"2025-03-06T03:54:20.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-06T04:28:38.136Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/pkgforge-security.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-06T03:45:56.000Z","updated_at":"2025-03-06T03:55:15.000Z","dependencies_parsed_at":"2025-03-06T04:28:42.898Z","dependency_job_id":"6f517350-ba57-47a6-b4be-81d745f46760","html_url":"https://github.com/pkgforge-security/scopeview","commit_stats":null,"previous_names":["pkgforge-security/scopeview"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkgforge-security%2Fscopeview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkgforge-security%2Fscopeview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkgforge-security%2Fscopeview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkgforge-security%2Fscopeview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pkgforge-security","download_url":"https://codeload.github.com/pkgforge-security/scopeview/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245372354,"owners_count":20604490,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-03-24T23:51:43.621Z","updated_at":"2025-03-24T23:51:44.295Z","avatar_url":"https://github.com/pkgforge-security.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"### ℹ️ About\nSlightly revamped vesion of TomNomNom's [scopeview](https://github.com/pkgforge-security/scopeview) in bash.\u003cbr\u003e\nSupports `scope` in **any file**, **anywhere** without any ***Installatiion / Deps***\u003cbr\u003e\nIf you want a better tool, consider using [Inscope]((https://github.com/pkgforge-security/scopeview)) directly.\n\n### 🖳 Installation\n- This is single shell script, so it can be downloaded or piped to bash directly.\n\n### 🧰 Usage\n\u003e - Generate a **`.scope`** file using [scopegen](https://github.com/pkgforge-security/scopegen)\n\u003e ```bash\n\u003e ➼ cat inscope-domains.txt\n\u003e        example.com\n\u003e        example.org\n\u003e        abc.example.com\n\u003e ➼ cat outscope-domains.txt\n\u003e        oos.example.com\n\u003e        oos.abc.example.org\n\u003e  ```\n\u003e  Then,\n\u003e  ```bash \n\u003e  ➼ scopegen -t inscope-domains.txt -in \u0026\u0026 scopegen -t outscope-domains.txt -os | tee -a .scope\n\u003e  ``` \n\u003e  ```bash \n\u003e ➼ cat .scope\n\u003e        .*\\.example\\.com$\n\u003e        .*\\.example\\.org$\n\u003e        .*\\.abc\\.example\\.com$\n\u003e        !.*oos\\.example\\.com$\n\u003e        !.*oos\\.abc\\.example\\.org$\n\u003e  ```\n- #### Once you have a `.scope`\n```bash\n!# Without using any options\n!# This assumes there is a **`.scope`** file in your working directory or cwd's parent.\ncat your-data-to-be-filtered.ext | scopeview\n!# Or Via STDIN\ncat your-data-to-be-filtered.ext | bash \u003c(curl -qfsSL \"https://raw.githubusercontent.com/pkgforge-security/scopeview/main/scopeview.sh\")\n\n!# Using -s \ncat your-data-to-be-filtered.ext | scopeview -s .scope-file\n!# Or Via STDIN\ncat your-data-to-be-filtered.ext | bash \u003c(curl -qfsSL \"https://raw.githubusercontent.com/pkgforge-security/scopeview/main/scopeview.sh\") -s .scope-file\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkgforge-security%2Fscopeview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpkgforge-security%2Fscopeview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkgforge-security%2Fscopeview/lists"}