mirror of
https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite.git
synced 2025-12-25 17:29:02 +00:00
- updated winpeas tests
- updated CI-winpeas_build_test.yml
This commit is contained in:
@@ -11,7 +11,25 @@ namespace winPEAS.Tests
|
||||
{
|
||||
try
|
||||
{
|
||||
string[] args = new string[] { "systeminfo", "userinfo", "networkinfo", "servicesinfo","processinfo" };
|
||||
string[] args = new string[] {
|
||||
"systeminfo", "networkinfo", "servicesinfo", "processinfo", "applicationsinfo", "browserinfo", "debug"
|
||||
};
|
||||
Program.Main(args);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Assert.Fail($"Exception thrown: {e.Message}");
|
||||
}
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void ShouldDisplayHelp()
|
||||
{
|
||||
try
|
||||
{
|
||||
string[] args = new string[] {
|
||||
"help",
|
||||
};
|
||||
Program.Main(args);
|
||||
}
|
||||
catch (Exception e)
|
||||
|
||||
Reference in New Issue
Block a user