Skip to content

Commit

Permalink
added newpac to silver command
Browse files Browse the repository at this point in the history
  • Loading branch information
0xe7 authored Sep 22, 2023
1 parent 3596d62 commit 945ffab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Rubeus/Commands/Silver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public void Execute(Dictionary<string, string> arguments)
string resourceGroupSid = "";
List<int> resourceGroups = null;
Interop.PacUserAccountControl uac = Interop.PacUserAccountControl.NORMAL_ACCOUNT;
bool newPac = arguments.ContainsKey("/newpac");

string domain = "";
string dc = "";
Expand Down Expand Up @@ -500,7 +501,7 @@ public void Execute(Dictionary<string, string> arguments)
resourceGroupSid,
resourceGroups,
uac,
false,
newPac,
extendedUpnDns,
outfile,
ptt,
Expand Down

0 comments on commit 945ffab

Please sign in to comment.