{"id":21657547,"url":"https://github.com/dfw1n/bash-software-scanner","last_synced_at":"2026-04-05T22:02:52.017Z","repository":{"id":182217412,"uuid":"580988278","full_name":"DFW1N/bash-software-scanner","owner":"DFW1N","description":"This script is a simple tool that allows you to download a package from a URL, scan it for malware using ClamAV, and extract it.","archived":false,"fork":false,"pushed_at":"2022-12-22T03:06:12.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T07:07:19.725Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DFW1N.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-12-22T01:12:07.000Z","updated_at":"2024-04-18T18:45:56.000Z","dependencies_parsed_at":"2023-07-19T06:49:07.765Z","dependency_job_id":null,"html_url":"https://github.com/DFW1N/bash-software-scanner","commit_stats":null,"previous_names":["dfw1n/bash-software-scanner"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DFW1N%2Fbash-software-scanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DFW1N%2Fbash-software-scanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DFW1N%2Fbash-software-scanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DFW1N%2Fbash-software-scanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DFW1N","download_url":"https://codeload.github.com/DFW1N/bash-software-scanner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244554884,"owners_count":20471316,"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":"2024-11-25T09:26:55.896Z","updated_at":"2025-12-31T00:08:25.690Z","avatar_url":"https://github.com/DFW1N.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Package Downloader and Scanner\n\nThis script is a simple tool that allows you to download a package from a URL, scan it for malware using ClamAV, and extract it.\n\n---\n\n## Features\n\n- Support for multiple file extensions: `tar.gz`, `zip`, `bz2`, `xz`, `rar`, `exe`.\n- Support for multiple operating systems: macOS, Linux (Debian-based and Red Hat-based).\n- Automatic installation of ClamAV and Wine if they are not already installed.\n- Automatic installation of unzip and unrar if they are not already installed.\n- Verbose output of the ClamAV scan.\n- Colorful and intuitive output messages with icons.\n- Error handling for missing package URL and unsupported file extensions.\n\n---\n\n## Usage\n\nTo use the script, simply provide the URL of the package as the first command line argument:\n\n```bash\n./software-scanner.sh https://example.com/package.tar.gz\n```\n\n---\n\n## Examples\n\nHere are some examples of valid package URLs:\n\n    https://example.com/package.tar.gz\n    https://example.com/package.zip\n    https://example.com/package.bz2\n    https://example.com/package.xz\n    https://example.com/package.rar\n    https://example.com/package.exe\n    file:///path/to/local/package-2.0.tar.bz2\n    ftp://ftp.example.com/package-1.1.zip\n\n---\n\n## Requirements\n\n    Bash shell\n    cURL\n    ClamAV (installed automatically if not present)\n    Wine (installed automatically if not present for .exe files)\n    unzip (installed automatically if not present for .zip files)\n    unrar (installed automatically if not present for .rar files)\n\n---\n\n## Output Example\n\nExample of an output that has been scanned and ClamAV has not found any viruses or threats in.\n\n```bash\n----------- SCAN SUMMARY -----------\nArchive:  main.zip\n80704b5a848c87e35814a2dc4d0a30a6cc7bf139\n   creating: /tmp/package/Villain-main/\n   creating: /tmp/package/Villain-main/Core/\n  inflating: /tmp/package/Villain-main/Core/common.py  \n   creating: /tmp/package/Villain-main/Core/payload_templates/\n   creating: /tmp/package/Villain-main/Core/payload_templates/linux/\n  inflating: /tmp/package/Villain-main/Core/payload_templates/linux/http_payload  \n  inflating: /tmp/package/Villain-main/Core/payload_templates/linux/https_payload  \n   creating: /tmp/package/Villain-main/Core/payload_templates/windows/\n  inflating: /tmp/package/Villain-main/Core/payload_templates/windows/disable_ssl_check  \n  inflating: /tmp/package/Villain-main/Core/payload_templates/windows/http_payload  \n  inflating: /tmp/package/Villain-main/Core/payload_templates/windows/http_payload_outfile  \n  inflating: /tmp/package/Villain-main/Core/payload_templates/windows/https_payload  \n  inflating: /tmp/package/Villain-main/Core/payload_templates/windows/https_payload_outfile  \n  inflating: /tmp/package/Villain-main/Core/settings.py  \n  inflating: /tmp/package/Villain-main/Core/villain_core.py  \n  inflating: /tmp/package/Villain-main/LICENSE.md  \n  inflating: /tmp/package/Villain-main/README.md  \n  inflating: /tmp/package/Villain-main/Usage_Guide.md  \n  inflating: /tmp/package/Villain-main/Villain.py  \n  inflating: /tmp/package/Villain-main/requirements.txt  \n\n----------- SCAN SUMMARY -----------\nKnown viruses: 8646208\nEngine version: 0.103.6\nScanned directories: 6\nScanned files: 15\nInfected files: 0\nData scanned: 0.16 MB\nData read: 0.09 MB (ratio 1.91:1)\nTime: 11.216 sec (0 m 11 s)\nStart Date: 2022:12:22 13:01:10\nEnd Date:   2022:12:22 13:01:21\n[✔] No threats detected in main.zip\n[✔] Deleting temporary directoy package\n[✔] The package main has been extracted.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfw1n%2Fbash-software-scanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfw1n%2Fbash-software-scanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfw1n%2Fbash-software-scanner/lists"}