{"id":34638782,"url":"https://github.com/generoi/detect-exploits","last_synced_at":"2026-05-22T23:31:26.636Z","repository":{"id":147858642,"uuid":"40426244","full_name":"generoi/detect-exploits","owner":"generoi","description":"Detect common exploit patterns in Drupal and Wordpress","archived":false,"fork":false,"pushed_at":"2015-08-13T02:57:09.000Z","size":148,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-12-26T06:16:16.568Z","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/generoi.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}},"created_at":"2015-08-09T05:15:50.000Z","updated_at":"2021-02-20T14:08:01.000Z","dependencies_parsed_at":"2023-04-03T11:02:04.435Z","dependency_job_id":null,"html_url":"https://github.com/generoi/detect-exploits","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/generoi/detect-exploits","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generoi%2Fdetect-exploits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generoi%2Fdetect-exploits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generoi%2Fdetect-exploits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generoi%2Fdetect-exploits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/generoi","download_url":"https://codeload.github.com/generoi/detect-exploits/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/generoi%2Fdetect-exploits/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33376049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-22T21:56:13.512Z","status":"ssl_error","status_checked_at":"2026-05-22T21:56:10.769Z","response_time":265,"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":"2025-12-24T17:13:15.443Z","updated_at":"2026-05-22T23:31:26.620Z","avatar_url":"https://github.com/generoi.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# detect-exploits [![Build Status](https://travis-ci.org/generoi/detect-exploits.svg)](https://travis-ci.org/generoi/detect-exploits)\n\nA simple bash script to scan for exploits in WordPress and Drupal.\n\n## Dependencies\n\nModern GNU grep and GNU find.\n\n## Install\n\n```bash\nmake install\n```\n\n## Usage\n\n```bash\ndetect-exploits [OPTION]... DIR\nA simple bash script to scan for exploits in WordPress and Drupal.\n\n Usage:\n   detect-exploits /var/www/drupal\n     Run all scans on the drupal directory.\n\n   detect-exploits --scan-keywords /var/www/drupal\n     Run the keywords scan on the drupal directory.\n\n   detect-exploits --owner=foo --group=bar --web-group=baz /var/www/drupal\n     Specify the file ownership fo the permissions scan.\n\n Options:\n  --scan-keywords    Scan for odd keywords within PHP files.\n  --scan-uploads     Scan for odd files in the uploads directory\n  --scan-filenames   Scan for suspicious filenames\n  --scan-duplicates  Scan for duplicate installations\n  --scan-permissions Scan file permissions\n  --owner            The owner of the system files during a file permissions scan.\n                     Defaults to user running the script.\n  --group            The group of the system files during a file permissions scan\n                     Defaults to user running the script.\n  --web-group        The web server group for generated files during a file permissions scan\n                     Defaults to www-data, apache, or httpd.\n  -f, --force        Skip all user interaction\n  -q, --quiet        Quiet (no output)\n  -v, --verbose      Output more\n  -h, --help         Display this help and exit\n      --version      Output version information and exit\n```\n\n## Running tests\n\nInstall the development dependencies\n\n```bash\nmake dev-install\n```\n\nRun all the tests using:\n\n```bash\nmake test\n```\n\nOr you can cherry pick tests using bats directly\n\n```bash\nbats test/*.bats\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeneroi%2Fdetect-exploits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeneroi%2Fdetect-exploits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeneroi%2Fdetect-exploits/lists"}