{"id":22014706,"url":"https://github.com/neuralegion/wafalyzer","last_synced_at":"2025-07-22T03:05:48.695Z","repository":{"id":40663246,"uuid":"290234575","full_name":"NeuraLegion/wafalyzer","owner":"NeuraLegion","description":"Web Application Firewall (WAF) Detector","archived":false,"fork":false,"pushed_at":"2023-03-13T09:52:28.000Z","size":142,"stargazers_count":34,"open_issues_count":0,"forks_count":10,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-05-25T17:04:44.725Z","etag":null,"topics":["cli","crystal","detection","fingerprinting","firewall","shard","waf"],"latest_commit_sha":null,"homepage":"","language":"Crystal","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/NeuraLegion.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":"2020-08-25T14:16:50.000Z","updated_at":"2024-09-25T12:00:15.000Z","dependencies_parsed_at":"2024-05-02T20:12:14.432Z","dependency_job_id":null,"html_url":"https://github.com/NeuraLegion/wafalyzer","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/NeuraLegion/wafalyzer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeuraLegion%2Fwafalyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeuraLegion%2Fwafalyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeuraLegion%2Fwafalyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeuraLegion%2Fwafalyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NeuraLegion","download_url":"https://codeload.github.com/NeuraLegion/wafalyzer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeuraLegion%2Fwafalyzer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266417096,"owners_count":23925301,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cli","crystal","detection","fingerprinting","firewall","shard","waf"],"created_at":"2024-11-30T04:17:20.248Z","updated_at":"2025-07-22T03:05:48.660Z","avatar_url":"https://github.com/NeuraLegion.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wafalyzer ![Build Status](https://github.com/NeuraLegion/wafalyzer/workflows/CI/badge.svg) [![Releases](https://img.shields.io/github/release/NeuraLegion/wafalyzer.svg)](https://github.com/NeuraLegion/wafalyzer/releases) [![License](https://img.shields.io/github/license/NeuraLegion/wafalyzer.svg)](https://github.com/NeuraLegion/wafalyzer/blob/master/LICENSE)\n\nWafalyzer is a firewall detection utility, which attempts to determine what WAF (if any) is in the front of a web application. It does that by means of passive analysis of the HTTP response metadata (status, headers, body) and if that fails, issuing additional requests with popular malicious payloads in order to (eventually) trigger WAF's response.\n\n## Installation\n\n### Shard\n\n1. Add the dependency to your `shard.yml`:\n\n   ```yaml\n   dependencies:\n     wafalyzer:\n       github: NeuraLegion/wafalyzer\n   ```\n\n2. Run `shards install`\n\n### CLI\n\n1. Run `shards build`\n2. 🐗\n\n## Usage\n\nWafalyzer can be used as both - shard and/or standalone CLI utility.\n\n### Shard\n\n```crystal\nrequire \"wafalyzer\"\n\n# See `Wafalyzer::Settings` for all available options.\nWafalyzer.configure do |settings|\n  settings.use_random_user_agent = true\nend\n\n# See `Wafalyzer.detect` for all available options.\nWafalyzer.detect(\n  url: \"https://www.apple.com\",\n  method: \"POST\",\n)\n# =\u003e [#\u003cWafalyzer::Waf::Akamai\u003e]\n```\n\n### CLI\n\n```console\n$ ./bin/wafalyzer -m POST -r https://www.apple.com\n```\n\nAll of the flags can be listed by, passing `--help`.\n\n```console\n$ ./bin/wafalyzer --help\n```\n\nYou can use `LOG_LEVEL` env variable to set the desired\nlogs severity at runtime.\n\n```console\n$ LOG_LEVEL=debug ./bin/wafalyzer https://github.com\n```\n\n## Development\n\nRun specs with:\n\n```\ncrystal spec\n```\n\n## Contributing\n\n1. Fork it (\u003chttps://github.com/NeuraLegion/wafalyzer/fork\u003e)\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n\n## Contributors\n\n- [Sijawusz Pur Rahnama](https://github.com/Sija) - creator and maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneuralegion%2Fwafalyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneuralegion%2Fwafalyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneuralegion%2Fwafalyzer/lists"}