Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Rubeus/lib/krb_structures/KrbCredInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ 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);
flags = (Interop.TicketFlags)BitConverter.ToInt64(tempBytes, 0);
break;
case 4:
authtime = s.Sub[0].GetTime();
Expand Down Expand Up @@ -213,4 +213,4 @@ public AsnElt Encode()

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