Skip to content

Commit

Permalink
changing some verbiage in output, add output of issuer identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglas Bienstock authored and Douglas Bienstock committed Mar 19, 2019
1 parent e439479 commit 253f734
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions ADFSDump/About.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public static void ShowInfo()
Console.WriteLine(" / ___ |/ /_/ / __/ ___/ / /_/ / /_/ / / / / / / /_/ /");
Console.WriteLine("/_/ |_/_____/_/ /____/_____/\\__,_/_/ /_/ /_/ .___/ ");
Console.WriteLine(" /_/ ");
Console.WriteLine("Created by @doughsec");
Console.WriteLine("\r\n");
}

Expand Down
9 changes: 9 additions & 0 deletions ADFSDump/ReadDB.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,15 @@ private static Dictionary<string, RelyingParty>.ValueCollection ReadWid(string d
XmlNode encryptedPfx = signingToken.GetElementsByTagName("EncryptedPfx")[0];
Console.WriteLine("[-] Encrypted Token Signing Key Begin\r\n{0}\r\n[-] Encrypted Token Signing Key End\r\n", encryptedPfx.InnerText);
}

Console.WriteLine("## Reading The Issuer Identifier");

XmlElement issuer = root.GetElementsByTagName("Issuer")[0] as XmlElement;
if (issuer != null)
{
XmlNode issuerAddress = issuer.GetElementsByTagName("Address")[0];
Console.WriteLine("[-] Issuer Identifier: {0}", issuerAddress.InnerText);
}
}
reader.Close();

Expand Down
2 changes: 1 addition & 1 deletion ADFSDump/RelyingPartyTrust.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public override string ToString()
Sign-In Endpoint: {FederationEndpoint}
Signature Algorithm: {SignatureAlgorithm}
SamlResponseSignatureType: {SamlResponseSignatureType};
Identity: {Identity}
Identifier: {Identity}
Access Policy: {AccessPolicy}
Access Policy Parameter: {AccessPolicyParam}
Expand Down

0 comments on commit 253f734

Please sign in to comment.