Skip to content

Commit

Permalink
PingCastle 2.8.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vletoux committed Feb 23, 2020
1 parent a49c7f8 commit 9e237ef
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 11 deletions.
8 changes: 5 additions & 3 deletions Data/CompromiseGraphData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,9 @@ public class SingleCompromiseGraphNodeData
public string Name { get; set; }
[XmlAttribute]
public string Type { get; set; }

[XmlIgnore]

[IgnoreDataMember]
[XmlIgnore]
public bool IsTypeAUser
{
get
Expand All @@ -330,7 +331,8 @@ public bool IsTypeAUser
public bool Critical { get; set; }
// used when building the structure
[XmlIgnore]
public ADItem ADItem { get; set; }
[IgnoreDataMember]
internal ADItem ADItem { get; set; }
}

[XmlType("link")]
Expand Down
8 changes: 4 additions & 4 deletions Healthcheck/HealthcheckAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3334,10 +3334,10 @@ private void ExtractGPOAudit(string path, GPO GPO, ADDomainInfo domainInfo)
{
using (TextReader tr = new StreamReader(path))
{
string line = tr.ReadLine();
// skip first line
if (line != null)
line = tr.ReadLine();
// skip first line
string line = tr.ReadLine();
if (line == null)
return;
while ((line = tr.ReadLine()) != null)
{
var b = line.Split(',');
Expand Down
2 changes: 1 addition & 1 deletion Healthcheck/Rules/HeatlcheckRulePrivilegedSchemaAdmins.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class HeatlcheckRulePrivilegedSchemaAdmins : RuleBase<HealthcheckData>
{
foreach (HealthCheckGroupData group in healthcheckData.PrivilegedGroups)
{
if (group.GroupName == "Schema Admins")
if (group.GroupName == "Schema Administrators")
{
if (group.NumberOfMember > 0)
{
Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
// Numéro de build
// Révision
//
[assembly: AssemblyVersion("2.8.0.0")]
[assembly: AssemblyFileVersion("2.8.0.0")]
[assembly: AssemblyVersion("2.8.1.0")]
[assembly: AssemblyFileVersion("2.8.1.0")]
2 changes: 1 addition & 1 deletion Report/ReportHealthCheckSingle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1097,9 +1097,9 @@ private void GenerateSummary(int index, SingleCompromiseGraphData data)

if (data.Dependancies.Count != 0)
{
Add("<td>");
for (int i = 0; i < data.Dependancies.Count; i++)
{
Add("<td>");
var d = data.Dependancies[i];
if (i > 0)
Add("<br>");
Expand Down

0 comments on commit 9e237ef

Please sign in to comment.