Skip to content

Commit

Permalink
try to viol fa
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyash86 committed Jun 21, 2023
1 parent d2d7d9b commit 361598e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion WebGoat.NET/Data/BlogEntryRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,17 @@ public List<BlogEntry> GetTopBlogEntries(int numberOfEntries, int startPosition)
.Skip(startPosition)
.Take(numberOfEntries);

new System.Net.IPAddress(startPosition);
blogEntries = check(numberOfEntries, startPosition, blogEntries);

return blogEntries.ToList();
}

private IQueryable<BlogEntry> check(int numberOfEntries, int startPosition, IQueryable<BlogEntry> blogEntries)
{
if(numberOfEntries > startPosition)
return blogEntries;

return null;
}
}
}

0 comments on commit 361598e

Please sign in to comment.