Skip to content

Commit

Permalink
Merge pull request GhostPack#172 from GhostPack/HarmJ0y-patch-1
Browse files Browse the repository at this point in the history
Update KrbCredInfo.cs
  • Loading branch information
HarmJ0y authored Nov 3, 2023
2 parents 5db3150 + f5d1dca commit 51e2dc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rubeus/lib/krb_structures/KrbCredInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public KrbCredInfo(AsnElt body)
pname = new PrincipalName(s.Sub[0]);
break;
case 3:
UInt32 temp = Convert.ToUInt32(s.Sub[0].GetInteger());
UInt64 temp = Convert.ToUInt64(s.Sub[0].GetInteger());
byte[] tempBytes = BitConverter.GetBytes(temp);
flags = (Interop.TicketFlags)BitConverter.ToInt32(tempBytes, 0);
break;
Expand Down Expand Up @@ -213,4 +213,4 @@ public AsnElt Encode()

// caddr (optional) - skipping for now
}
}
}

0 comments on commit 51e2dc1

Please sign in to comment.