mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
addcomputer.py, impacket-addcomputer: add page (#19696)
Co-authored-by: Ivan Baluta <50071699+ivanbaluta@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# addcomputer.py
|
||||
|
||||
> Add a computer account to domain.
|
||||
> More information: <https://github.com/fortra/impacket>.
|
||||
|
||||
- Add a computer with a specific name and password:
|
||||
|
||||
`addcomputer.py -computer-name {{COMPUTER_NAME$}} -computer-pass {{computer_password}} {{domain}}/{{username}}:{{password}}`
|
||||
|
||||
- Only set a new password on an existing computer:
|
||||
|
||||
`addcomputer.py -no-add -computer-name {{COMPUTER_NAME$}} -computer-pass {{computer_password}} {{domain}}/{{username}}:{{password}}`
|
||||
|
||||
- Delete an existing computer account:
|
||||
|
||||
`addcomputer.py -delete -computer-name {{COMPUTER_NAME$}} {{domain}}/{{username}}:{{password}}`
|
||||
|
||||
- Add computer using Kerberos authentication:
|
||||
|
||||
`addcomputer.py -k -no-pass {{domain}}/{{username}}@{{hostname}}`
|
||||
|
||||
- Add computer via LDAPS (port 636) instead of SAMR (port 445):
|
||||
|
||||
`addcomputer.py -method LDAPS -port 636 {{domain}}/{{username}}:{{password}}`
|
||||
|
||||
- Specify exact domain controller when multiple DCs exist:
|
||||
|
||||
`addcomputer.py -dc-host {{hostname}} {{domain}}/{{username}}:{{password}}`
|
||||
@@ -0,0 +1,7 @@
|
||||
# impacket-addcomputer
|
||||
|
||||
> This command is an alias of `addcomputer.py`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr addcomputer.py`
|
||||
Reference in New Issue
Block a user