{"id":13840729,"url":"https://github.com/kerbyj/goLazagne","last_synced_at":"2025-07-11T09:33:02.946Z","repository":{"id":38984865,"uuid":"161554613","full_name":"kerbyj/goLazagne","owner":"kerbyj","description":"Go library for credentials recovery ","archived":false,"fork":false,"pushed_at":"2022-09-07T13:00:28.000Z","size":229,"stargazers_count":214,"open_issues_count":4,"forks_count":40,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-09-25T09:05:29.706Z","etag":null,"topics":["chrome","credential-manager","credentials-gathering","firefox","golang","golang-library","hack","password-manager","password-recovery","password-retrieval","password-safety","penetration-testing","pentest-tool","pentesting-windows","security","summer-of-hack"],"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/kerbyj.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":"2018-12-12T22:47:25.000Z","updated_at":"2024-09-24T16:58:38.000Z","dependencies_parsed_at":"2023-01-17T18:15:26.145Z","dependency_job_id":null,"html_url":"https://github.com/kerbyj/goLazagne","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerbyj%2FgoLazagne","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerbyj%2FgoLazagne/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerbyj%2FgoLazagne/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerbyj%2FgoLazagne/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kerbyj","download_url":"https://codeload.github.com/kerbyj/goLazagne/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225712669,"owners_count":17512455,"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":["chrome","credential-manager","credentials-gathering","firefox","golang","golang-library","hack","password-manager","password-recovery","password-retrieval","password-safety","penetration-testing","pentest-tool","pentesting-windows","security","summer-of-hack"],"created_at":"2024-08-04T17:00:54.134Z","updated_at":"2024-11-21T10:30:42.201Z","avatar_url":"https://github.com/kerbyj.png","language":"Go","funding_links":[],"categories":["Go","Go (531)"],"sub_categories":[],"readme":"# goLazagne\r\n\r\n\u003cp align=\"center\"\u003e\r\n  \u003cimg src=\"https://github.com/kerbyj/goLazagne/raw/master/images/mascot.jpeg\" width=\"600\"\u003e\r\n\u003c/p\u003e\r\n\r\n---\r\n## ⚠ Disclaimer\r\n\r\n1. All information provided in this project is for educational purposes only and can not be used for law violation or personal gain.\r\n2. The authors of this project are not responsible for any possible harm caused by the materials of this project.\r\n3. All information in this repository is intended for development of audit tools and help preventing the hack attacks.\r\n4. We believe only in ethical hacking.\r\n---\r\n\r\n## Description\r\n\r\nThe **goLazagne** is an open source library for golang used to retrieve passwords stored on local computer.\r\n\r\nInspired by AlessandroZ [LaZagne](https://github.com/AlessandroZ/LaZagne) project.\r\n\r\n## Install\r\n\r\n```bash\r\ngo get github.com/kerbyj/goLazagne\r\n```\r\n\r\n### Example\r\n\r\n```go\r\npackage main\r\n\r\nimport (\r\n    \"github.com/kerbyj/goLazagne\"\r\n)\r\n\r\nfunc main() {\r\n\r\n    var credentials, _ = goLazagne.ExtractAllData()\r\n    \r\n    println(\"Browser creds:\", len(credentials.BrowserData))\r\n    println(\"Credman creds:\", len(credentials.CredmanData))\r\n    println(\"Wifi creds:\", len(credentials.WifiData))\r\n    \r\n    println(\"\\nEnumerating filesystem. Please wait\")\r\n    \r\n    var interestingFiles = []string{\r\n    \t\t\t\"ovpn\",\r\n    \t\t\t\"ssh\",\r\n    \t\t}\r\n    \r\n    var files = goLazagne.ExtractInterestingFiles(interestingFiles)\r\n    for fileN := range files {\r\n        println(files[fileN])\r\n    }\r\n\r\n}\r\n```\r\n\r\nIf you want to compile this project on Linux system:\r\n\r\n```shell script\r\napt install gcc-multilib\r\napt install gcc-mingw-w64\r\n\r\nCGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ GOOS=windows GOARCH=amd64 go build -buildmode=exe\r\n```\r\n\r\n## Supported features\r\n\r\n* Browsers\r\n\t* Chromium-based\r\n\t* Mozilla Firefox\r\n\t* Internet Explorer and Edge\r\n\r\n* Mail\r\n    * Thunderbird\r\n    * [TBD] Outlook \r\n\r\n* Windows\r\n    * Credential Manager\r\n    \r\n* SysAdmin tools (pre alpha, need more tests)\r\n    * Mobaxterm - user, host:port and associated key\r\n    * Putty - user, host:port and associated key\r\n    * Filezilla - user, host:port and password (encrypted if master password isset)\r\n    * Openssh\r\n\r\n* WiFi passwords\r\n\t\r\n## ToDo (sorted by priority level)\r\n\r\n- [ ] Rewrite Mozilla extractor\r\n- [ ] WPA2 Enterprise. The main difficulty is that we need an privilege escalation. Read more in zc00l [research](https://0x00-0x00.github.io/research/2018/11/06/Recovering-Plaintext-Domain-Credentials-From-WPA2-Enterprise-on-a-compromised-host.html).\r\n- [ ] Windows vault\r\n- [ ] Full outlook support\r\n- [ ] Git \r\n    \r\n## Special thanks\r\n\r\n* [Nikolay Edigaryev](https://github.com/edigaryev) for [credman](https://github.com/kerbyj/goLazagne/blob/master/windows/credman.go) module\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkerbyj%2FgoLazagne","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkerbyj%2FgoLazagne","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkerbyj%2FgoLazagne/lists"}