{"id":41399913,"url":"https://github.com/ynori7/hulksmash","last_synced_at":"2026-01-23T13:05:44.521Z","repository":{"id":57572781,"uuid":"349930260","full_name":"ynori7/hulksmash","owner":"ynori7","description":"A very easy-to-use library for building a custom brute-force requester for QA purposes","archived":false,"fork":false,"pushed_at":"2025-05-08T10:55:25.000Z","size":50,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-08T11:43:38.811Z","etag":null,"topics":["bruteforce","qa","qatools","security","security-tools"],"latest_commit_sha":null,"homepage":"","language":"Go","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/ynori7.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,"zenodo":null}},"created_at":"2021-03-21T07:38:06.000Z","updated_at":"2025-05-08T10:55:29.000Z","dependencies_parsed_at":"2024-06-20T03:03:16.656Z","dependency_job_id":"015cf31d-60fc-40fb-84f1-99110836be55","html_url":"https://github.com/ynori7/hulksmash","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/ynori7/hulksmash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynori7%2Fhulksmash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynori7%2Fhulksmash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynori7%2Fhulksmash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynori7%2Fhulksmash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ynori7","download_url":"https://codeload.github.com/ynori7/hulksmash/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynori7%2Fhulksmash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28692738,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T11:01:27.039Z","status":"ssl_error","status_checked_at":"2026-01-23T11:00:26.909Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["bruteforce","qa","qatools","security","security-tools"],"created_at":"2026-01-23T13:05:44.438Z","updated_at":"2026-01-23T13:05:44.503Z","avatar_url":"https://github.com/ynori7.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hulk Smash [![GoDoc](https://godoc.org/github.com/ynori7/hulksmash?status.png)](https://godoc.org/github.com/ynori7/hulksmash) [![Go Report Card](https://goreportcard.com/badge/ynori7/hulksmash)](https://goreportcard.com/report/github.com/ynori7/hulksmash)\n\n![HulkSmash Logo](hulksmash.png)\n\nThis is a very easy-to-use library for building a custom brute-force requester for QA purposes. This\ntool can be useful, for example, for performance and load testing or for testing your rate-limiter. This tool\nautomatically adds randomized headers to anonymize the request such as `X-Forwarded-For` and `User-Agent`.\n\nThis tool is to be used only for benign purposes! \n\n## Usage\nTo use it, simply import `\"github.com/ynori7/hulksmash\"`. Then construct a request builder, which is a \nfunction to get the request you want to perform. This request builder accepts an index in case you want to \nsend requests to a variety of endpoints, with varying payloads, or with a cachebreaker. Then you simply \ncreate your smasher instance and tell it to start smashing.\n\n```go\nrequestBuilder := func(item string) (*http.Request, error) {\n    return http.NewRequest(http.MethodGet, url, nil)\n}\n\nhulksmash.NewSmasher(hulksmash.WithIterations(5)).Smash(context.Background(), requestBuilder)\n```\n\nThe smasher comes with some configurable options with safe defaults. Here is a list of the options:\n\n| Option        | Description           | Default  |\n| ------------- |:-------------| -----|\n| WithClient     | Allows you to override the HTTP Client | hulksmash's http.NewClient() |\n| WithWorkerCount      | Sets the number of workers which will send requests in parallel      |   1 |\n| WithErrorFunc | Function which is called in case of an error while performing the request      |    Simply logs it to stdout |\n| WithSuccessResponseCallback | Function which is called in case of a successful request | Simply logs the http status code and response body |\n| WithIterations | The number of calls to make | 1 |\n| WithStartIndex | The start index to use when iterating. Can be useful if you want to resume a previous experiment | 0 |\n| WithAnonymizeRequests | Can be used to disable the logic to automatically add headers to make reqeusts look more organic | true |\n| WithSequenceFunc | Can be used to specify the way the iteration sequence should be built, for example numeric or alphanumeric. Some presets are available in the sequence package | sequence.Numeric |\n\nA basic and advanced example can be found in [example](example).\n\n## Attribution\nIcon from [Sujud.icon](https://www.iconfinder.com/MUHrist) ([CC BY 3.0](https://creativecommons.org/licenses/by/3.0/))\n\nUses `refraction-networking/utls` to randomize the TCP Hello fingerprint.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fynori7%2Fhulksmash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fynori7%2Fhulksmash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fynori7%2Fhulksmash/lists"}