{"id":48242995,"url":"https://github.com/botsarefuture/security_c","last_synced_at":"2026-04-04T20:20:30.461Z","repository":{"id":212943800,"uuid":"732669416","full_name":"botsarefuture/security_c","owner":"botsarefuture","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-06T17:36:29.000Z","size":8,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-06T20:55:30.271Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/botsarefuture.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":"security.sh","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-17T13:09:37.000Z","updated_at":"2023-12-17T13:10:15.000Z","dependencies_parsed_at":"2023-12-18T15:00:12.724Z","dependency_job_id":"a1413678-5ece-41c6-a67c-a89789c5b66f","html_url":"https://github.com/botsarefuture/security_c","commit_stats":null,"previous_names":["botsarefuture/security_c"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/botsarefuture/security_c","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botsarefuture%2Fsecurity_c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botsarefuture%2Fsecurity_c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botsarefuture%2Fsecurity_c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botsarefuture%2Fsecurity_c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/botsarefuture","download_url":"https://codeload.github.com/botsarefuture/security_c/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botsarefuture%2Fsecurity_c/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31412502,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"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":[],"created_at":"2026-04-04T20:20:29.761Z","updated_at":"2026-04-04T20:20:30.449Z","avatar_url":"https://github.com/botsarefuture.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Security Check Script\n\nThis script performs various security checks on a Linux server, including user listing, log file integrity check, fail2ban status, virus scan, and rootkit scan.\n\n## Installation\n\n1. **Clone the Repository:**\n   ```bash\n   git clone https://github.com/botsarefuture/security_c.git\n   cd security-check-script\n   ```\n\n2. **Make the Script Executable:**\n   ```bash\n   chmod +x script.sh\n   ```\n\n3. **Run the Script:**\n   ```bash\n   ./script.sh\n   ```\n\n## Script Overview\n\n1. **Check Users:**\n   Lists the users on the server.\n\n2. **Check Log File Integrity:**\n   Checks if a specified log file has been manipulated.\n\n3. **Check fail2ban Status:**\n   Checks if fail2ban is up and running, and installs it if not.\n\n4. **Run Virus Scan:**\n   Uses clamscan to perform a virus scan on the entire system.\n\n5. **Run Rootkit Scan:**\n   Uses rkhunter to perform a rootkit scan.\n\n6. **Save Results:**\n   Saves the results of all checks to a text file (`security_check_results.txt`).\n\n## Notes\n\n- Some tasks may require elevated privileges. Ensure you run the script with `sudo` or as the root user when needed.\n- Adjust the paths and configuration in the script based on your system.\n\n## One line command\n```bash\nbash -c \"$(curl -fsSL https://raw.githubusercontent.com/botsarefuture/security_c/main/script.sh)\"\n```\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\nFeel free to contribute, open issues, or provide feedback!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbotsarefuture%2Fsecurity_c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbotsarefuture%2Fsecurity_c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbotsarefuture%2Fsecurity_c/lists"}