https://github.com/TheManticoreProject/goLAPS
Go setter/getter for property ms-Mcs-AdmPwd used by LAPS.
https://github.com/TheManticoreProject/goLAPS
Last synced: about 1 month ago
JSON representation
Go setter/getter for property ms-Mcs-AdmPwd used by LAPS.
- Host: GitHub
- URL: https://github.com/TheManticoreProject/goLAPS
- Owner: p0dalirius
- Created: 2024-03-30T19:26:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-02T06:32:45.000Z (over 1 year ago)
- Last Synced: 2024-12-18T18:50:12.021Z (10 months ago)
- Language: Go
- Homepage: https://podalirius.net/
- Size: 9.1 MB
- Stars: 12
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README

A simple way to read and write LAPS passwords from linux.
![]()
![]()
![]()
This script is a go setter/getter for property `ms-Mcs-AdmPwd` used by LAPS inspired by [@swisskyrepo](https://github.com/swisskyrepo/)'s [SharpLAPS](https://github.com/swisskyrepo/SharpLAPS) in C#.
Require (either):
* Account with `ExtendedRight` or `GenericRead` to get LAPS passwords
* Account with `ExtendedRight` or `GenericWrite` to set LAPS passwords
* Domain Admin privileges## Usage
```
__ ___ ____ _____
____ _____ / / / | / __ \/ ___/
/ __ `/ __ \/ / / /| | / /_/ /\__ \
/ /_/ / /_/ / /___/ ___ |/ ____/___/ /
\__, /\____/_____/_/ |_/_/ /____/ v1.2
/____/ @podalirius_[!] Option -host is required.
Usage of ./bin/goLAPS:
-debug
Debug mode
-domain string
(FQDN) domain to authenticate to.
-hashes string
NT/LM hashes, format is LMhash:NThash.
-host string
IP Address of the domain controller or KDC (Key Distribution Center) for Kerberos. If omitted it will use the domain part (FQDN) specified in the identity parameter.
-password string
password to authenticate with.
-port int
Port number to connect to LDAP server.
-quiet
Show no information at all.
-use-ldaps
Use LDAPS instead of LDAP.
-username string
User to authenticate as.
```## Contributing
Pull requests are welcome. Feel free to open an issue if you want to add other features.