addcomputer.py, impacket-addcomputer: add page (#19696)

Co-authored-by: Ivan Baluta <50071699+ivanbaluta@users.noreply.github.com>
This commit is contained in:
Machiavelli
2025-12-02 06:48:40 +02:00
committed by GitHub
parent 170e4a8b43
commit 66e9362b85
2 changed files with 35 additions and 0 deletions
+28
View File
@@ -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}}`
+7
View File
@@ -0,0 +1,7 @@
# impacket-addcomputer
> This command is an alias of `addcomputer.py`.
- View documentation for the original command:
`tldr addcomputer.py`