diff --git a/SUMMARY.md b/SUMMARY.md index 6957e39..630e226 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -85,6 +85,7 @@ * [Steal Microsoft Teams Cookies](smb-protocol/steal-microsoft-teams-cookies.md) * [🆕 Impersonate logged-on Users](smb-protocol/impersonate-logged-on-users.md) * [🆕 Change User Password](smb-protocol/change-user-password.md) +* [🆕 Add User Group](smb-protocol/add-user-group.md) * [🆕 Dump User Local Security Questions](smb-protocol/dump-user-local-security-questions.md) ## LDAP protocol diff --git a/smb-protocol/add-user-group.md b/smb-protocol/add-user-group.md new file mode 100644 index 0000000..058d81f --- /dev/null +++ b/smb-protocol/add-user-group.md @@ -0,0 +1,17 @@ +# 🆕 Add User Group + +If a user with capabilities such as AddMember, AddSelf, etc. has control, this module can add or remove users from the target group. + +### Add User to Group + +Only need to specify target user and target group name. + + +```bash +nxc smb -u user -p pass -M add-group -o USER=TargetUser Group=TargetGroup +``` + +If want to remove the target user to group, just need to specify REMOVE true value. +```bash +nxc smb -u user -p pass -M add-group -o USER=TargetUser Group=TargetGroup REMOVE=True +```