{"id":13845431,"url":"https://github.com/shmilylty/vhost_password_decrypt","last_synced_at":"2025-09-01T13:42:39.475Z","repository":{"id":43601265,"uuid":"437816811","full_name":"shmilylty/vhost_password_decrypt","owner":"shmilylty","description":"vhost password decrypt","archived":false,"fork":false,"pushed_at":"2024-10-09T05:34:17.000Z","size":14,"stargazers_count":244,"open_issues_count":0,"forks_count":62,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-03T21:13:12.270Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/shmilylty.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-12-13T09:47:36.000Z","updated_at":"2025-03-23T08:55:50.000Z","dependencies_parsed_at":"2024-12-18T06:03:00.016Z","dependency_job_id":"aaf4bfed-e8b5-44f6-bf32-e0e8c43de686","html_url":"https://github.com/shmilylty/vhost_password_decrypt","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/shmilylty%2Fvhost_password_decrypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shmilylty%2Fvhost_password_decrypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shmilylty%2Fvhost_password_decrypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shmilylty%2Fvhost_password_decrypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shmilylty","download_url":"https://codeload.github.com/shmilylty/vhost_password_decrypt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248617466,"owners_count":21134191,"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":[],"created_at":"2024-08-04T17:03:24.106Z","updated_at":"2025-04-12T18:45:58.007Z","avatar_url":"https://github.com/shmilylty.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# vhost_password_decrypt\n\n## Where is symkey.dat\nWindows：C:\\ProgramData\\VMware\\vCenterServer\\cfg\\vmware-vpx\\ssl\\symkey.dat\n\nLinux：/etc/vmware-vpx/ssl/symkey.dat\n\n## Where is postgres user password\nWindows: C:\\ProgramData\\VMware\\vCenterServer\\cfg\\vmware-vps\\vcdb.properties\n\nLinux：\n/etc/vmware-vpx/vcdb.properties\n/etc/vmware/service-state/vpxd/vcdb.properties\n\n## Where is psql\nWindows: C:\\Program Files\\VMware\\vCenter Server\\vPostgres\\bin\\psql.exe\n\nLinux: /opt/vmware/vpostgres/9.3/bin/psql\n\n## export \npsql -h 127.0.0.1 -p 5432 -U vc -d VCDB -c \"select ip_address,user_name,password from vpx_host;\" \u003e password.enc\n\n## How to use\n\npip3 install pycryptodome\n\npython3 decrypt.py symkey.dat password.enc password.txt\n\n![image](https://user-images.githubusercontent.com/24275308/145789863-3911ce8b-b6e1-4114-b051-1cb0c4df5068.png)\n\n\n# How this might help during a pentest / tutorial \nsee the end -\u003e https://pentera.io/blog/information-disclosure-in-vmware-vcenter/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshmilylty%2Fvhost_password_decrypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshmilylty%2Fvhost_password_decrypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshmilylty%2Fvhost_password_decrypt/lists"}