{"id":21816773,"url":"https://github.com/rtfmkiesel/msolsprayng","last_synced_at":"2025-03-30T01:42:40.710Z","repository":{"id":166646321,"uuid":"632133302","full_name":"rtfmkiesel/msolsprayng","owner":"rtfmkiesel","description":"A password spraying tool for Microsoft accounts (Azure/M365)","archived":false,"fork":false,"pushed_at":"2023-09-16T22:05:55.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T04:01:32.616Z","etag":null,"topics":["azure","golang","m365","microsoft","pentesting"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rtfmkiesel.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-04-24T19:27:01.000Z","updated_at":"2024-08-12T20:31:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"9ecbf6b7-629b-4b4c-9366-2bbaa720351e","html_url":"https://github.com/rtfmkiesel/msolsprayng","commit_stats":null,"previous_names":["rtfmkiesel/msolsprayng"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtfmkiesel%2Fmsolsprayng","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtfmkiesel%2Fmsolsprayng/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtfmkiesel%2Fmsolsprayng/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtfmkiesel%2Fmsolsprayng/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rtfmkiesel","download_url":"https://codeload.github.com/rtfmkiesel/msolsprayng/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246266252,"owners_count":20749754,"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":["azure","golang","m365","microsoft","pentesting"],"created_at":"2024-11-27T15:36:34.126Z","updated_at":"2025-03-30T01:42:40.691Z","avatar_url":"https://github.com/rtfmkiesel.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# msolsprayng\nThis is a Golang port of [github.com/dafthack/MSOLSpray](https://github.com/dafthack/MSOLSpray). This tool will spray one password against a list of Microsoft accounts. Since Microsoft's GraphQL endpoint is very verbose, we get error codes back that can give us information about the login process / account state. Below is a list of error codes. All error codes can be found [here](https://docs.microsoft.com/en-us/azure/active-directory/develop/reference-aadsts-error-codes).\n\n\n| Code        | Meaning                                                      |\n|-------------|--------------------------------------------------------------|\n| AADSTS50126 | Invalid Password                                             |\n| AADSTS50128 | Tenant not found                                             |\n| AADSTS50059 | Tenant not found                                             |\n| AADSTS50034 | User does not exist                                          |\n| AADSTS50079 | Password correct but MFA present                             |\n| AADSTS50076 | Password correct but MFA present                             |\n| AADSTS50158 | Password correct but MFA \u0026 Conditional Access Policy present |\n| AADSTS53003 | Password correct but Conditional Access Policy present       |\n| AADSTS50053 | Account locked                                               |\n| AADSTS50057 | Account disabled                                             |\n| AADSTS50055 | Password correct but expired                                 |\n\n## Installation\n### Binaries\nDownload the pre built binaries [here](https://github.com/rtfmkiesel/msolsprayng/releases).\n\n### With go\n```bash\ngo install github.com/rtfmkiesel/msolsprayng@latest\n```\n\n## Build from source\n```bash\ngit clone https://github.com/rtfmkiesel/msolsprayng\ncd msolsprayng\n# to build binary in the current directory\ngo build -ldflags=\"-s -w\" .\n# to build \u0026 install binary into GOPATH/bin\ngo install .\n```\n\n## Usage\n```\nmsolsprayng [OPTIONS]\n\t\nOptions:\n    -u, --users              \u003cstring\u003e    Path to file containing E-Mail addresses to be sprayed\n    -p, --password-file      \u003cstring\u003e    Path to file containing the password to spray (will use first line)\n    -P, --Password           \u003cstring\u003e    Password to spray (argument)\n\n    -o, --outfile            \u003cstring\u003e    Path to the logfile\n    -j, --json                           Format output as JSON (default: false)\n    -v, --verbose                        Enable verbose output (default: false)\n\n    -w, --workers            \u003cint\u003e       Amount of workers / \"threads\" (default: 1, max 3)\n    -h, --help                           Prints this text\n```\n\n## Legal\n**I'm not responsible if your IP address get blocked by Microsoft.** Additionally, this code is provided for educational use only. If you engage in any illegal activity the author does not take any responsibility for it. By using this code, you agree with these terms.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtfmkiesel%2Fmsolsprayng","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frtfmkiesel%2Fmsolsprayng","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtfmkiesel%2Fmsolsprayng/lists"}