{"id":18852682,"url":"https://github.com/n0kovo/random-agent","last_synced_at":"2026-02-04T17:30:16.370Z","repository":{"id":188523806,"uuid":"678909983","full_name":"n0kovo/random-agent","owner":"n0kovo","description":"Simply output a random user-agent. Use it with tools that don't have a --random-agent flag. Like `random-agent` or $(random-agent)","archived":false,"fork":false,"pushed_at":"2023-08-16T00:57:27.000Z","size":1441,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-30T17:43:43.441Z","etag":null,"topics":["appsec","bug-bounty","bug-bounty-tools","bugbounty","bugbounty-tool","bugbountytools","fuzzer","fuzzing","infosec","infosectools","pentesting","pentesting-tools","redteam-tools","web-app-security","webfuzzer"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/n0kovo.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":"2023-08-15T17:02:44.000Z","updated_at":"2024-11-21T21:58:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"389ceacf-2368-4121-ad91-5a828e12cfce","html_url":"https://github.com/n0kovo/random-agent","commit_stats":null,"previous_names":["n0kovo/random-agent"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0kovo%2Frandom-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0kovo%2Frandom-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0kovo%2Frandom-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0kovo%2Frandom-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/n0kovo","download_url":"https://codeload.github.com/n0kovo/random-agent/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239793108,"owners_count":19697893,"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":["appsec","bug-bounty","bug-bounty-tools","bugbounty","bugbounty-tool","bugbountytools","fuzzer","fuzzing","infosec","infosectools","pentesting","pentesting-tools","redteam-tools","web-app-security","webfuzzer"],"created_at":"2024-11-08T03:41:02.668Z","updated_at":"2026-02-04T17:30:16.306Z","avatar_url":"https://github.com/n0kovo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# random-agent\n\n### What?\n This simply outputs a random user-agent (with match and filter arguments).\n\n### Why?\n Many web security tools have a `--random-agent` feature.\u003cbr\u003e\n However, some don't, and I find that annoying.\u003cbr\u003e\n This solves that problem ✨\n\n### How?\n- ```shell\n  curl -A \"`random-agent`\" https://example.com\n  ```\n\n- ```shell\n  ffuf -w wordlist.txt https://example.com/FUZZ -H \"User-Agent: $(random-agent -m chrome)\"\n  ```\n\n- ```shell\n  wfuzz -w common.txt --hc 404 -H \"$(random-agent -m chrome -f android)\" http://testphp.vulnweb.com/FUZZ\n  ```\nand so on :)\n\n- `-m string` / `--match string` only returns user agents matching `string`\n- `-f string` / `--filter string` excludes user agents matching `string`\n\u003cbr\u003e\u003cbr\u003eBoth arguments can be passed several times.\n\n### Cool!\nRight?? Run this and you're good to Go:\n```shell\ngo install github.com/n0kovo/random-agent@latest\n```\n\n\u003e [!NOTE]\n\u003e - The user-agent.txt file is embedded in the binary on build, so it's fully portable. If you want to edit or provide your own user-agent file, just clone the repo, edit `user-agents.txt` and run `go build .`.\n\u003e - Hack the planet\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn0kovo%2Frandom-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn0kovo%2Frandom-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn0kovo%2Frandom-agent/lists"}