{"id":16683078,"url":"https://github.com/hlts2/gobf","last_synced_at":"2025-08-13T01:05:26.222Z","repository":{"id":57566122,"uuid":"338222460","full_name":"hlts2/gobf","owner":"hlts2","description":"Brute force string generation","archived":false,"fork":false,"pushed_at":"2021-02-17T10:50:25.000Z","size":8,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-02T15:11:44.122Z","etag":null,"topics":["brute-force","bruteforce","bruteforce-password-cracker","golang","library","penetration-testing","security"],"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/hlts2.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}},"created_at":"2021-02-12T04:19:50.000Z","updated_at":"2022-04-07T10:12:07.000Z","dependencies_parsed_at":"2022-08-27T18:40:47.780Z","dependency_job_id":null,"html_url":"https://github.com/hlts2/gobf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hlts2%2Fgobf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hlts2%2Fgobf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hlts2%2Fgobf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hlts2%2Fgobf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hlts2","download_url":"https://codeload.github.com/hlts2/gobf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239073969,"owners_count":19577123,"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":["brute-force","bruteforce","bruteforce-password-cracker","golang","library","penetration-testing","security"],"created_at":"2024-10-12T14:10:16.553Z","updated_at":"2025-02-16T00:32:30.049Z","avatar_url":"https://github.com/hlts2.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gobf\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/hlts2/gobf)](https://goreportcard.com/report/github.com/hlts2/gobf)\n[![GoDoc](http://godoc.org/github.com/hlts2/gobf?status.svg)](http://godoc.org/github.com/hlts2/gobf)\n\ngobf is a simple library that generates brute force string patterns.\n\n\n## Requirement\n\nGo 1.15\n\n## Installing\n\n```\ngo get github.com/hlts2/gobf\n```\n\n## Example\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"log\"\n\n\t\"github.com/hlts2/gobf\"\n)\n\nfunc main() {\n\tbf, err := gobf.New(\n\t\tgobf.WithNumber(true),\n\t\tgobf.WithUpper(true),\n\t\tgobf.WithLower(true),\n\t\tgobf.WithSize(4),\n\t\tgobf.WithConcrencyLimit(1000000),\n\t)\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tlog.Println(\"start to search pattern: s3Df\")\n\n\terr = bf.Do(context.Background(), func(pattern string) {\n\t\tif pattern == \"s3Df\" {\n\t\t\tlog.Printf(\"find: %s\\n\", pattern)\n\t\t}\n\t})\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n}\n```\n\n### Option\n\nYou can use options to change the type of string generated.\n\n```go\n// Generate a pattern of four-letter lowercase and number combinations.\nbf, err := gobf.New(\n  gobf.WithNumber(true),\n  // gobf.WithUpper(true),\n  gobf.WithLower(true),\n  gobf.WithSize(4),\n)\n```\n\n\n## Contribution\n1. Fork it ( https://github.com/hlts2/gobf/fork )\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 new Pull Request\n\n## Author\n[hlts2](https://github.com/hlts2)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhlts2%2Fgobf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhlts2%2Fgobf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhlts2%2Fgobf/lists"}