Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
James Forshaw committed May 26, 2017
1 parent dd60c20 commit a69bbf8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion NtApiDotNet/NtToken.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1766,7 +1766,7 @@ public Sid PrimaryGroup
/// <summary>
/// Get the token's default DACL
/// </summary>
public Acl DefaultDalc
public Acl DefaultDacl
{
get
{
Expand Down
4 changes: 2 additions & 2 deletions NtApiDotNet/SecurityDescriptor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public SecurityDescriptor(NtToken token) : this()
{
Owner = new SecurityDescriptorSid(token.Owner, true);
Group = new SecurityDescriptorSid(token.PrimaryGroup, true);
Dacl = token.DefaultDalc;
Dacl = token.DefaultDacl;
if (token.IntegrityLevel< TokenIntegrityLevel.Medium)
{
Sacl = new Acl();
Expand Down Expand Up @@ -219,7 +219,7 @@ public SecurityDescriptor(NtObject base_object, NtToken token, bool is_directory
creator_sd = new SecurityDescriptor();
creator_sd.Owner = new SecurityDescriptorSid(token.Owner, false);
creator_sd.Group = new SecurityDescriptorSid(token.PrimaryGroup, false);
creator_sd.Dacl = token.DefaultDalc;
creator_sd.Dacl = token.DefaultDacl;
}

NtType type = NtType.GetTypeByName(base_object.NtTypeName);
Expand Down
2 changes: 1 addition & 1 deletion TokenViewer/TokenForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ private void UpdateTokenData()
txtPrimaryGroup.Text = _token.PrimaryGroup.Name;
txtOwner.Text = _token.Owner.Name;

Acl defdacl = _token.DefaultDalc;
Acl defdacl = _token.DefaultDacl;
if (!defdacl.NullAcl)
{
foreach (Ace ace in defdacl)
Expand Down

0 comments on commit a69bbf8

Please # to comment.