{"id":25102879,"url":"https://github.com/secoats/spraygen","last_synced_at":"2025-04-02T07:12:13.102Z","repository":{"id":266305989,"uuid":"371985875","full_name":"secoats/spraygen","owner":"secoats","description":"Login Spray Generator. Create common username permutations as wordlist.","archived":false,"fork":false,"pushed_at":"2021-05-29T16:13:55.000Z","size":30,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T21:36:21.883Z","etag":null,"topics":["pentesting","python3","spray","usernames"],"latest_commit_sha":null,"homepage":"","language":"Python","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/secoats.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-29T13:54:21.000Z","updated_at":"2024-04-16T07:29:34.000Z","dependencies_parsed_at":"2024-12-03T21:15:26.025Z","dependency_job_id":null,"html_url":"https://github.com/secoats/spraygen","commit_stats":null,"previous_names":["secoats/spraygen"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secoats%2Fspraygen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secoats%2Fspraygen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secoats%2Fspraygen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secoats%2Fspraygen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/secoats","download_url":"https://codeload.github.com/secoats/spraygen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246769980,"owners_count":20830771,"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":["pentesting","python3","spray","usernames"],"created_at":"2025-02-07T21:33:19.966Z","updated_at":"2025-04-02T07:12:13.080Z","avatar_url":"https://github.com/secoats.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SprayGen\n\n![SprayGen](./img.png)\n\nThis is a small script that I wrote in order to automate the annoying part of spray attacks. It creates common username permutations as a wordlist.\n\n## Usage\n\n```default\nusage: spraygen.py [-h] [-i INPUT] [-o OUTPUT] [-d DOMAIN] [-v] [-l] [-u] [-e] [-c] [-n]\n\nLogin Spray Generator\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -i INPUT, --input INPUT\n                        File with names in \"Firstname Lastname\" format in each line. Single name is allowed as well.\n  -o OUTPUT, --output OUTPUT\n                        Output filename\n  -d DOMAIN, --domain DOMAIN\n                        Domain to use for email style usernames\n  -v, --verbose         Print all the steps\n  -l, --lower           Only lowercase\n  -u, --upper           Only uppercase\n  -e, --emailonly       Only create email addresses\n  -c, --nocolor         Turn off color\n  -n, --nologo          Don't print ascii logo\n\n```\n\nThere are no library requirements. Use Python 3.x\n\n## Examples\n\n```bash\n# Basic example\nspraygen.py -i names.txt -o spraylist.txt\nspraygen.py -i names.txt\n```\nOmitting the output filename will print the created names in the terminal directly.\n\nYou can also generate email-style usernames (e.g. `j.smith@domain.com`) using a supplied domain name:\n\n```bash\n# Create emails and regular usernames\nspraygen.py -i names.txt -d test.local -o spraylist.txt\n```\n\nIf you only want email addresses and nothing else, then use the `-e` / `--emailonly` parameter:\n\n```bash\n# Create only emails\nspraygen.py -i names.txt -d test.local -o spraylist.txt -e\n```\n\nIt is highly recommended to use the `-l` / `--lower` parameter in order to decrease the number of results. Email addresses are also usually lowercase anyway.\n\n```bash\n# only lowercase usernames\nspraygen.py -i names.txt -o spraylist.txt --lower\n\n# only lowercase emails\nspraygen.py -i names.txt -o spraylist.txt -d mydomain.com -el\n```\n\n## Input\n\nExpected input file format:\n\n```default\nMax Musterman\nEli Vance\nMegatron\nSteve Urban\nadmin\n```\n\nSo either `\"Firstname Lastname\"` or just a single `\"Username\"` in each line.\n\nI did not really optimize this thing, so if you have a large number of input names, then you might want to use some better solution.\n\nFor example, the output for the first user in that list would be:\n\n```default\nm-max\nm-musterman\nm.max\nm.musterman\nmax\nmax-musterman\nmax.musterman\nmaxmusterman\nmmax\nmmusterman\nmusterman\nmusterman-max\nmusterman.max\nmustermanmax\nM-MAX\nM-MUSTERMAN\nM-Max\nM-Musterman\nM.MAX\nM.MUSTERMAN\nM.Max\nM.Musterman\nMAX\nMAX-MUSTERMAN\nMAX.MUSTERMAN\nMAXMUSTERMAN\nMMAX\nMMUSTERMAN\nMMax\nMMusterman\nMUSTERMAN\nMUSTERMAN-MAX\nMUSTERMAN.MAX\nMUSTERMANMAX\nMax\nMax-Musterman\nMax.Musterman\nMaxMusterman\nMusterman\nMusterman-Max\nMusterman.Max\nMustermanMax\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecoats%2Fspraygen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsecoats%2Fspraygen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecoats%2Fspraygen/lists"}