From b9e49e4548ff46919d27b1a0643f1c8985a1c518 Mon Sep 17 00:00:00 2001 From: Vincent Rose Date: Wed, 25 Aug 2021 18:43:39 -0700 Subject: [PATCH] Output Function - turn strict off (#207) * proof of concept of an output depth parameter * remove output depth and instead allow arbitrary input for output function * revert * revert --- empire/server/common/modules.py | 2 +- .../powershell/collection/get_sql_column_sample_data.yaml | 2 +- .../collection/vaults/add_keepass_config_trigger.yaml | 2 +- .../powershell/collection/vaults/find_keepass_config.yaml | 2 +- .../collection/vaults/get_keepass_config_trigger.yaml | 2 +- .../server/modules/powershell/collection/vaults/keethief.yaml | 2 +- .../collection/vaults/remove_keepass_config_trigger.yaml | 2 +- .../modules/powershell/credentials/get_lapspasswords.yaml | 2 +- .../modules/powershell/credentials/invoke_kerberoast.yaml | 2 +- empire/server/modules/powershell/credentials/tokens.yaml | 2 +- .../modules/powershell/credentials/vault_credential.yaml | 2 +- .../modules/powershell/lateral_movement/invoke_psexec.yaml | 2 +- .../modules/powershell/lateral_movement/invoke_smbexec.yaml | 2 +- .../modules/powershell/management/downgrade_account.yaml | 2 +- .../powershell/management/mailraider/disable_security.yaml | 2 +- .../powershell/management/mailraider/get_emailitems.yaml | 2 +- .../powershell/management/mailraider/get_subfolders.yaml | 2 +- .../modules/powershell/management/mailraider/mail_search.yaml | 2 +- .../modules/powershell/management/mailraider/search_gal.yaml | 2 +- .../modules/powershell/management/mailraider/send_mail.yaml | 2 +- .../modules/powershell/management/mailraider/view_email.yaml | 2 +- empire/server/modules/powershell/management/phant0m.yaml | 2 +- empire/server/modules/powershell/management/timestomp.yaml | 2 +- .../modules/powershell/persistence/misc/add_netuser.yaml | 2 +- .../server/modules/powershell/persistence/misc/get_ssps.yaml | 2 +- empire/server/modules/powershell/privesc/getsystem.yaml | 2 +- empire/server/modules/powershell/privesc/gpp.yaml | 2 +- empire/server/modules/powershell/privesc/mcafee_sitelist.yaml | 2 +- .../server/modules/powershell/privesc/powerup/allchecks.yaml | 2 +- .../modules/powershell/privesc/powerup/find_dllhijack.yaml | 2 +- .../powershell/privesc/powerup/service_exe_restore.yaml | 2 +- .../powershell/privesc/powerup/service_exe_useradd.yaml | 2 +- .../modules/powershell/privesc/powerup/service_useradd.yaml | 2 +- .../modules/powershell/privesc/powerup/write_dllhijacker.yaml | 2 +- empire/server/modules/powershell/privesc/privesccheck.yaml | 2 +- empire/server/modules/powershell/privesc/sherlock.yaml | 2 +- empire/server/modules/powershell/recon/find_fruit.yaml | 2 +- empire/server/modules/powershell/recon/http_login.yaml | 2 +- .../situational_awareness/host/antivirusproduct.yaml | 2 +- .../situational_awareness/host/applockerstatus.yaml | 2 +- .../situational_awareness/host/computerdetails.yaml | 2 +- .../powershell/situational_awareness/host/dnsserver.yaml | 2 +- .../situational_awareness/host/findtrusteddocuments.yaml | 2 +- .../powershell/situational_awareness/host/get_pathacl.yaml | 2 +- .../powershell/situational_awareness/host/get_proxy.yaml | 2 +- .../powershell/situational_awareness/host/get_uaclevel.yaml | 2 +- .../powershell/situational_awareness/host/hostrecon.yaml | 2 +- .../powershell/situational_awareness/network/arpscan.yaml | 2 +- .../network/get_kerberos_service_ticket.yaml | 2 +- .../powershell/situational_awareness/network/get_spn.yaml | 2 +- .../network/get_sql_instance_domain.yaml | 2 +- .../situational_awareness/network/get_sql_server_info.yaml | 2 +- .../powershell/situational_awareness/network/portscan.yaml | 2 +- .../network/powermad/get_adidns_permission.yaml | 2 +- .../network/powermad/get_adidns_zone.yaml | 2 +- .../network/powerview/find_foreign_group.yaml | 2 +- .../network/powerview/find_foreign_user.yaml | 2 +- .../network/powerview/find_gpo_computer_admin.yaml | 2 +- .../network/powerview/find_gpo_location.yaml | 2 +- .../network/powerview/find_localadmin_access.yaml | 2 +- .../network/powerview/find_managed_security_group.yaml | 2 +- .../network/powerview/get_cached_rdpconnection.yaml | 2 +- .../situational_awareness/network/powerview/get_computer.yaml | 2 +- .../network/powerview/get_dfs_share.yaml | 2 +- .../network/powerview/get_domain_controller.yaml | 2 +- .../network/powerview/get_domain_policy.yaml | 2 +- .../network/powerview/get_domain_trust.yaml | 2 +- .../network/powerview/get_fileserver.yaml | 2 +- .../situational_awareness/network/powerview/get_forest.yaml | 4 ++-- .../network/powerview/get_forest_domain.yaml | 2 +- .../situational_awareness/network/powerview/get_gpo.yaml | 2 +- .../network/powerview/get_gpo_computer.yaml | 2 +- .../situational_awareness/network/powerview/get_group.yaml | 2 +- .../network/powerview/get_group_member.yaml | 2 +- .../network/powerview/get_localgroup.yaml | 2 +- .../situational_awareness/network/powerview/get_loggedon.yaml | 2 +- .../network/powerview/get_object_acl.yaml | 2 +- .../situational_awareness/network/powerview/get_ou.yaml | 2 +- .../network/powerview/get_rdp_session.yaml | 2 +- .../situational_awareness/network/powerview/get_session.yaml | 2 +- .../situational_awareness/network/powerview/get_site.yaml | 2 +- .../situational_awareness/network/powerview/get_subnet.yaml | 2 +- .../network/powerview/get_subnet_ranges.yaml | 2 +- .../situational_awareness/network/powerview/get_user.yaml | 2 +- .../network/powerview/map_domain_trust.yaml | 2 +- .../network/powerview/process_hunter.yaml | 2 +- .../network/powerview/set_ad_object.yaml | 2 +- .../situational_awareness/network/powerview/share_finder.yaml | 2 +- .../situational_awareness/network/powerview/user_hunter.yaml | 2 +- .../powershell/situational_awareness/network/reverse_dns.yaml | 2 +- .../powershell/situational_awareness/network/smblogin.yaml | 2 +- 91 files changed, 92 insertions(+), 92 deletions(-) diff --git a/empire/server/common/modules.py b/empire/server/common/modules.py index 8cd914547..cab6a8eca 100644 --- a/empire/server/common/modules.py +++ b/empire/server/common/modules.py @@ -249,7 +249,7 @@ def _generate_script_powershell(self, module: PydanticModule, params: Dict, obfu option_strings = [] # This is where the code goes for all the modules that do not have a custom generate function. for key, value in params.items(): - if key.lower() != "agent" and key.lower() != "computername" and key.lower() != "outputfunction": + if key.lower() not in ["agent", "computername", "outputfunction"]: if value and value != '': if value.lower() == "true": # if we're just adding a switch diff --git a/empire/server/modules/powershell/collection/get_sql_column_sample_data.yaml b/empire/server/modules/powershell/collection/get_sql_column_sample_data.yaml index 4f1907508..cf1de5403 100644 --- a/empire/server/modules/powershell/collection/get_sql_column_sample_data.yaml +++ b/empire/server/modules/powershell/collection/get_sql_column_sample_data.yaml @@ -44,7 +44,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/collection/vaults/add_keepass_config_trigger.yaml b/empire/server/modules/powershell/collection/vaults/add_keepass_config_trigger.yaml index b203b28f9..6a7ef30ac 100644 --- a/empire/server/modules/powershell/collection/vaults/add_keepass_config_trigger.yaml +++ b/empire/server/modules/powershell/collection/vaults/add_keepass_config_trigger.yaml @@ -37,7 +37,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/collection/vaults/find_keepass_config.yaml b/empire/server/modules/powershell/collection/vaults/find_keepass_config.yaml index df7f283c1..b15e775d2 100644 --- a/empire/server/modules/powershell/collection/vaults/find_keepass_config.yaml +++ b/empire/server/modules/powershell/collection/vaults/find_keepass_config.yaml @@ -24,7 +24,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/collection/vaults/get_keepass_config_trigger.yaml b/empire/server/modules/powershell/collection/vaults/get_keepass_config_trigger.yaml index debe3a7a8..cf5a02b2d 100644 --- a/empire/server/modules/powershell/collection/vaults/get_keepass_config_trigger.yaml +++ b/empire/server/modules/powershell/collection/vaults/get_keepass_config_trigger.yaml @@ -24,7 +24,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/collection/vaults/keethief.yaml b/empire/server/modules/powershell/collection/vaults/keethief.yaml index 6c7b33b94..c30f0eab8 100644 --- a/empire/server/modules/powershell/collection/vaults/keethief.yaml +++ b/empire/server/modules/powershell/collection/vaults/keethief.yaml @@ -24,7 +24,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/collection/vaults/remove_keepass_config_trigger.yaml b/empire/server/modules/powershell/collection/vaults/remove_keepass_config_trigger.yaml index 19d21882f..5f3b4a62d 100644 --- a/empire/server/modules/powershell/collection/vaults/remove_keepass_config_trigger.yaml +++ b/empire/server/modules/powershell/collection/vaults/remove_keepass_config_trigger.yaml @@ -23,7 +23,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/credentials/get_lapspasswords.yaml b/empire/server/modules/powershell/credentials/get_lapspasswords.yaml index f565584ce..b3ed28a6e 100644 --- a/empire/server/modules/powershell/credentials/get_lapspasswords.yaml +++ b/empire/server/modules/powershell/credentials/get_lapspasswords.yaml @@ -23,7 +23,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/credentials/invoke_kerberoast.yaml b/empire/server/modules/powershell/credentials/invoke_kerberoast.yaml index 95b08c215..6a212ed06 100644 --- a/empire/server/modules/powershell/credentials/invoke_kerberoast.yaml +++ b/empire/server/modules/powershell/credentials/invoke_kerberoast.yaml @@ -61,7 +61,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/credentials/tokens.yaml b/empire/server/modules/powershell/credentials/tokens.yaml index 42c2de439..a9835941e 100644 --- a/empire/server/modules/powershell/credentials/tokens.yaml +++ b/empire/server/modules/powershell/credentials/tokens.yaml @@ -70,7 +70,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/credentials/vault_credential.yaml b/empire/server/modules/powershell/credentials/vault_credential.yaml index b9a8588bb..bd29cb1ae 100644 --- a/empire/server/modules/powershell/credentials/vault_credential.yaml +++ b/empire/server/modules/powershell/credentials/vault_credential.yaml @@ -23,7 +23,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/lateral_movement/invoke_psexec.yaml b/empire/server/modules/powershell/lateral_movement/invoke_psexec.yaml index 8e5e65398..1fda23abe 100644 --- a/empire/server/modules/powershell/lateral_movement/invoke_psexec.yaml +++ b/empire/server/modules/powershell/lateral_movement/invoke_psexec.yaml @@ -71,7 +71,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/lateral_movement/invoke_smbexec.yaml b/empire/server/modules/powershell/lateral_movement/invoke_smbexec.yaml index c3131ac82..ece845dab 100644 --- a/empire/server/modules/powershell/lateral_movement/invoke_smbexec.yaml +++ b/empire/server/modules/powershell/lateral_movement/invoke_smbexec.yaml @@ -85,7 +85,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/management/downgrade_account.yaml b/empire/server/modules/powershell/management/downgrade_account.yaml index e7506a942..4989d2f3a 100644 --- a/empire/server/modules/powershell/management/downgrade_account.yaml +++ b/empire/server/modules/powershell/management/downgrade_account.yaml @@ -39,7 +39,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/management/mailraider/disable_security.yaml b/empire/server/modules/powershell/management/mailraider/disable_security.yaml index 1d1f31514..83170a2d6 100644 --- a/empire/server/modules/powershell/management/mailraider/disable_security.yaml +++ b/empire/server/modules/powershell/management/mailraider/disable_security.yaml @@ -41,7 +41,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/management/mailraider/get_emailitems.yaml b/empire/server/modules/powershell/management/mailraider/get_emailitems.yaml index 4af9e2ac0..29d44cbb6 100644 --- a/empire/server/modules/powershell/management/mailraider/get_emailitems.yaml +++ b/empire/server/modules/powershell/management/mailraider/get_emailitems.yaml @@ -31,7 +31,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/management/mailraider/get_subfolders.yaml b/empire/server/modules/powershell/management/mailraider/get_subfolders.yaml index e05692820..119fce995 100644 --- a/empire/server/modules/powershell/management/mailraider/get_subfolders.yaml +++ b/empire/server/modules/powershell/management/mailraider/get_subfolders.yaml @@ -27,7 +27,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/management/mailraider/mail_search.yaml b/empire/server/modules/powershell/management/mailraider/mail_search.yaml index b29a3c95b..af724a1fc 100644 --- a/empire/server/modules/powershell/management/mailraider/mail_search.yaml +++ b/empire/server/modules/powershell/management/mailraider/mail_search.yaml @@ -48,7 +48,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/management/mailraider/search_gal.yaml b/empire/server/modules/powershell/management/mailraider/search_gal.yaml index 99950c4c3..a86ad744b 100644 --- a/empire/server/modules/powershell/management/mailraider/search_gal.yaml +++ b/empire/server/modules/powershell/management/mailraider/search_gal.yaml @@ -44,7 +44,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/management/mailraider/send_mail.yaml b/empire/server/modules/powershell/management/mailraider/send_mail.yaml index 97f919b4a..8bfe05292 100644 --- a/empire/server/modules/powershell/management/mailraider/send_mail.yaml +++ b/empire/server/modules/powershell/management/mailraider/send_mail.yaml @@ -54,7 +54,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/management/mailraider/view_email.yaml b/empire/server/modules/powershell/management/mailraider/view_email.yaml index e3e5a5575..a226ad95b 100644 --- a/empire/server/modules/powershell/management/mailraider/view_email.yaml +++ b/empire/server/modules/powershell/management/mailraider/view_email.yaml @@ -32,7 +32,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/management/phant0m.yaml b/empire/server/modules/powershell/management/phant0m.yaml index 84d9f2873..7877c41d7 100644 --- a/empire/server/modules/powershell/management/phant0m.yaml +++ b/empire/server/modules/powershell/management/phant0m.yaml @@ -23,7 +23,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/management/timestomp.yaml b/empire/server/modules/powershell/management/timestomp.yaml index dc3e41ee9..daa3376e3 100644 --- a/empire/server/modules/powershell/management/timestomp.yaml +++ b/empire/server/modules/powershell/management/timestomp.yaml @@ -46,7 +46,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/persistence/misc/add_netuser.yaml b/empire/server/modules/powershell/persistence/misc/add_netuser.yaml index 29f0e7715..7f5ea680f 100644 --- a/empire/server/modules/powershell/persistence/misc/add_netuser.yaml +++ b/empire/server/modules/powershell/persistence/misc/add_netuser.yaml @@ -43,7 +43,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/persistence/misc/get_ssps.yaml b/empire/server/modules/powershell/persistence/misc/get_ssps.yaml index 0837ccfb4..bc7ff076f 100644 --- a/empire/server/modules/powershell/persistence/misc/get_ssps.yaml +++ b/empire/server/modules/powershell/persistence/misc/get_ssps.yaml @@ -22,7 +22,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/privesc/getsystem.yaml b/empire/server/modules/powershell/privesc/getsystem.yaml index ffad7628e..154528902 100644 --- a/empire/server/modules/powershell/privesc/getsystem.yaml +++ b/empire/server/modules/powershell/privesc/getsystem.yaml @@ -47,7 +47,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/privesc/gpp.yaml b/empire/server/modules/powershell/privesc/gpp.yaml index 17cfcf5bd..43122e55e 100644 --- a/empire/server/modules/powershell/privesc/gpp.yaml +++ b/empire/server/modules/powershell/privesc/gpp.yaml @@ -23,7 +23,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/privesc/mcafee_sitelist.yaml b/empire/server/modules/powershell/privesc/mcafee_sitelist.yaml index 959f59555..d1a9e6cf8 100644 --- a/empire/server/modules/powershell/privesc/mcafee_sitelist.yaml +++ b/empire/server/modules/powershell/privesc/mcafee_sitelist.yaml @@ -23,7 +23,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/privesc/powerup/allchecks.yaml b/empire/server/modules/powershell/privesc/powerup/allchecks.yaml index 735e5197e..5ea29b2e1 100644 --- a/empire/server/modules/powershell/privesc/powerup/allchecks.yaml +++ b/empire/server/modules/powershell/privesc/powerup/allchecks.yaml @@ -27,7 +27,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/privesc/powerup/find_dllhijack.yaml b/empire/server/modules/powershell/privesc/powerup/find_dllhijack.yaml index 4b42d78f4..647ed6dc4 100644 --- a/empire/server/modules/powershell/privesc/powerup/find_dllhijack.yaml +++ b/empire/server/modules/powershell/privesc/powerup/find_dllhijack.yaml @@ -40,7 +40,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/privesc/powerup/service_exe_restore.yaml b/empire/server/modules/powershell/privesc/powerup/service_exe_restore.yaml index fc376c9b7..f7a47b345 100644 --- a/empire/server/modules/powershell/privesc/powerup/service_exe_restore.yaml +++ b/empire/server/modules/powershell/privesc/powerup/service_exe_restore.yaml @@ -35,7 +35,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/privesc/powerup/service_exe_useradd.yaml b/empire/server/modules/powershell/privesc/powerup/service_exe_useradd.yaml index c38b0ded0..2c672e78c 100644 --- a/empire/server/modules/powershell/privesc/powerup/service_exe_useradd.yaml +++ b/empire/server/modules/powershell/privesc/powerup/service_exe_useradd.yaml @@ -44,7 +44,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/privesc/powerup/service_useradd.yaml b/empire/server/modules/powershell/privesc/powerup/service_useradd.yaml index d8fe391a2..4c0126daa 100644 --- a/empire/server/modules/powershell/privesc/powerup/service_useradd.yaml +++ b/empire/server/modules/powershell/privesc/powerup/service_useradd.yaml @@ -44,7 +44,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/privesc/powerup/write_dllhijacker.yaml b/empire/server/modules/powershell/privesc/powerup/write_dllhijacker.yaml index c5db76e63..8c096d3c4 100644 --- a/empire/server/modules/powershell/privesc/powerup/write_dllhijacker.yaml +++ b/empire/server/modules/powershell/privesc/powerup/write_dllhijacker.yaml @@ -66,7 +66,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/privesc/privesccheck.yaml b/empire/server/modules/powershell/privesc/privesccheck.yaml index 7beb611c1..1422b7d77 100644 --- a/empire/server/modules/powershell/privesc/privesccheck.yaml +++ b/empire/server/modules/powershell/privesc/privesccheck.yaml @@ -30,7 +30,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/privesc/sherlock.yaml b/empire/server/modules/powershell/privesc/sherlock.yaml index 6a182325b..d18cf89f2 100644 --- a/empire/server/modules/powershell/privesc/sherlock.yaml +++ b/empire/server/modules/powershell/privesc/sherlock.yaml @@ -22,7 +22,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/recon/find_fruit.yaml b/empire/server/modules/powershell/recon/find_fruit.yaml index b7eb95a87..eec607f64 100644 --- a/empire/server/modules/powershell/recon/find_fruit.yaml +++ b/empire/server/modules/powershell/recon/find_fruit.yaml @@ -55,7 +55,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/recon/http_login.yaml b/empire/server/modules/powershell/recon/http_login.yaml index 3d840c2b0..a7253bb84 100644 --- a/empire/server/modules/powershell/recon/http_login.yaml +++ b/empire/server/modules/powershell/recon/http_login.yaml @@ -58,7 +58,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/host/antivirusproduct.yaml b/empire/server/modules/powershell/situational_awareness/host/antivirusproduct.yaml index b1b6a9513..069cbee12 100644 --- a/empire/server/modules/powershell/situational_awareness/host/antivirusproduct.yaml +++ b/empire/server/modules/powershell/situational_awareness/host/antivirusproduct.yaml @@ -27,7 +27,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/host/applockerstatus.yaml b/empire/server/modules/powershell/situational_awareness/host/applockerstatus.yaml index c0306ddc2..438006b56 100644 --- a/empire/server/modules/powershell/situational_awareness/host/applockerstatus.yaml +++ b/empire/server/modules/powershell/situational_awareness/host/applockerstatus.yaml @@ -33,7 +33,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/host/computerdetails.yaml b/empire/server/modules/powershell/situational_awareness/host/computerdetails.yaml index 15e315d13..bee98533f 100644 --- a/empire/server/modules/powershell/situational_awareness/host/computerdetails.yaml +++ b/empire/server/modules/powershell/situational_awareness/host/computerdetails.yaml @@ -47,7 +47,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/host/dnsserver.yaml b/empire/server/modules/powershell/situational_awareness/host/dnsserver.yaml index 0dbf32c77..6d68a893b 100644 --- a/empire/server/modules/powershell/situational_awareness/host/dnsserver.yaml +++ b/empire/server/modules/powershell/situational_awareness/host/dnsserver.yaml @@ -23,7 +23,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/host/findtrusteddocuments.yaml b/empire/server/modules/powershell/situational_awareness/host/findtrusteddocuments.yaml index 4eb8fc1de..2577481e7 100644 --- a/empire/server/modules/powershell/situational_awareness/host/findtrusteddocuments.yaml +++ b/empire/server/modules/powershell/situational_awareness/host/findtrusteddocuments.yaml @@ -25,7 +25,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/host/get_pathacl.yaml b/empire/server/modules/powershell/situational_awareness/host/get_pathacl.yaml index 8bbc680ff..180dae645 100644 --- a/empire/server/modules/powershell/situational_awareness/host/get_pathacl.yaml +++ b/empire/server/modules/powershell/situational_awareness/host/get_pathacl.yaml @@ -26,7 +26,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/host/get_proxy.yaml b/empire/server/modules/powershell/situational_awareness/host/get_proxy.yaml index 03e720ad0..24da8982f 100644 --- a/empire/server/modules/powershell/situational_awareness/host/get_proxy.yaml +++ b/empire/server/modules/powershell/situational_awareness/host/get_proxy.yaml @@ -27,7 +27,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/host/get_uaclevel.yaml b/empire/server/modules/powershell/situational_awareness/host/get_uaclevel.yaml index 14626d8b1..f748bb562 100644 --- a/empire/server/modules/powershell/situational_awareness/host/get_uaclevel.yaml +++ b/empire/server/modules/powershell/situational_awareness/host/get_uaclevel.yaml @@ -22,7 +22,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/host/hostrecon.yaml b/empire/server/modules/powershell/situational_awareness/host/hostrecon.yaml index aec27d57a..e321121ac 100644 --- a/empire/server/modules/powershell/situational_awareness/host/hostrecon.yaml +++ b/empire/server/modules/powershell/situational_awareness/host/hostrecon.yaml @@ -25,7 +25,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/arpscan.yaml b/empire/server/modules/powershell/situational_awareness/network/arpscan.yaml index 4ab55ef31..d0c5fa040 100644 --- a/empire/server/modules/powershell/situational_awareness/network/arpscan.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/arpscan.yaml @@ -30,7 +30,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/get_kerberos_service_ticket.yaml b/empire/server/modules/powershell/situational_awareness/network/get_kerberos_service_ticket.yaml index 8702b54f9..ebe20a07c 100644 --- a/empire/server/modules/powershell/situational_awareness/network/get_kerberos_service_ticket.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/get_kerberos_service_ticket.yaml @@ -35,7 +35,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/get_spn.yaml b/empire/server/modules/powershell/situational_awareness/network/get_spn.yaml index 5ee0b631a..bd0823a62 100644 --- a/empire/server/modules/powershell/situational_awareness/network/get_spn.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/get_spn.yaml @@ -31,7 +31,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/get_sql_instance_domain.yaml b/empire/server/modules/powershell/situational_awareness/network/get_sql_instance_domain.yaml index f3f5ed938..8692bb610 100644 --- a/empire/server/modules/powershell/situational_awareness/network/get_sql_instance_domain.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/get_sql_instance_domain.yaml @@ -55,7 +55,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/get_sql_server_info.yaml b/empire/server/modules/powershell/situational_awareness/network/get_sql_server_info.yaml index 69502e845..e1c579e40 100644 --- a/empire/server/modules/powershell/situational_awareness/network/get_sql_server_info.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/get_sql_server_info.yaml @@ -39,7 +39,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/portscan.yaml b/empire/server/modules/powershell/situational_awareness/network/portscan.yaml index 0b66e9f2f..a8c7dfc4a 100644 --- a/empire/server/modules/powershell/situational_awareness/network/portscan.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/portscan.yaml @@ -71,7 +71,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powermad/get_adidns_permission.yaml b/empire/server/modules/powershell/situational_awareness/network/powermad/get_adidns_permission.yaml index 51af5e5f1..8166622a0 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powermad/get_adidns_permission.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powermad/get_adidns_permission.yaml @@ -51,7 +51,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powermad/get_adidns_zone.yaml b/empire/server/modules/powershell/situational_awareness/network/powermad/get_adidns_zone.yaml index 8b49d9a2d..a38430d1f 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powermad/get_adidns_zone.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powermad/get_adidns_zone.yaml @@ -46,7 +46,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/find_foreign_group.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/find_foreign_group.yaml index 992e4037f..3655435cd 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/find_foreign_group.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/find_foreign_group.yaml @@ -70,7 +70,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/find_foreign_user.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/find_foreign_user.yaml index 95b495576..1f5773075 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/find_foreign_user.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/find_foreign_user.yaml @@ -70,7 +70,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/find_gpo_computer_admin.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/find_gpo_computer_admin.yaml index c354da562..0a8922df9 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/find_gpo_computer_admin.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/find_gpo_computer_admin.yaml @@ -64,7 +64,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/find_gpo_location.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/find_gpo_location.yaml index 1e2b36929..14e4e93ed 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/find_gpo_location.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/find_gpo_location.yaml @@ -64,7 +64,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/find_localadmin_access.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/find_localadmin_access.yaml index b7dd8b2f9..68def9974 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/find_localadmin_access.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/find_localadmin_access.yaml @@ -80,7 +80,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/find_managed_security_group.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/find_managed_security_group.yaml index fa73dc056..09c57618d 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/find_managed_security_group.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/find_managed_security_group.yaml @@ -56,7 +56,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/get_cached_rdpconnection.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/get_cached_rdpconnection.yaml index 9940ce19d..fb10de797 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/get_cached_rdpconnection.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/get_cached_rdpconnection.yaml @@ -27,7 +27,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/get_computer.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/get_computer.yaml index 9a9f60e6f..e4856e467 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/get_computer.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/get_computer.yaml @@ -103,7 +103,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/get_dfs_share.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/get_dfs_share.yaml index d2093be18..db0b4185e 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/get_dfs_share.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/get_dfs_share.yaml @@ -55,7 +55,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/get_domain_controller.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/get_domain_controller.yaml index fa1376009..ba72e3a20 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/get_domain_controller.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/get_domain_controller.yaml @@ -35,7 +35,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/get_domain_policy.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/get_domain_policy.yaml index 9506c7473..bab1d09b6 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/get_domain_policy.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/get_domain_policy.yaml @@ -42,7 +42,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/get_domain_trust.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/get_domain_trust.yaml index 727dfcc94..7de728d09 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/get_domain_trust.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/get_domain_trust.yaml @@ -77,7 +77,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/get_fileserver.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/get_fileserver.yaml index 4b7233994..5e6f1ba18 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/get_fileserver.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/get_fileserver.yaml @@ -60,7 +60,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/get_forest.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/get_forest.yaml index 3ece3cb16..74d108ccf 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/get_forest.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/get_forest.yaml @@ -27,7 +27,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json @@ -38,7 +38,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/get_forest_domain.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/get_forest_domain.yaml index ed23df4d8..c4f105ad3 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/get_forest_domain.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/get_forest_domain.yaml @@ -26,7 +26,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/get_gpo.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/get_gpo.yaml index 3c71b2bed..89850e862 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/get_gpo.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/get_gpo.yaml @@ -88,7 +88,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/get_gpo_computer.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/get_gpo_computer.yaml index 52ae31f30..5536cd1a5 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/get_gpo_computer.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/get_gpo_computer.yaml @@ -37,7 +37,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/get_group.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/get_group.yaml index 4460975d6..580fcf75b 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/get_group.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/get_group.yaml @@ -88,7 +88,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/get_group_member.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/get_group_member.yaml index f6581e4ce..8e8ca50bd 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/get_group_member.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/get_group_member.yaml @@ -80,7 +80,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/get_localgroup.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/get_localgroup.yaml index c4fd55140..abf55b8b3 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/get_localgroup.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/get_localgroup.yaml @@ -45,7 +45,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/get_loggedon.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/get_loggedon.yaml index 336f83bba..97cd8cb41 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/get_loggedon.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/get_loggedon.yaml @@ -27,7 +27,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/get_object_acl.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/get_object_acl.yaml index d21d5d765..2a6f5980e 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/get_object_acl.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/get_object_acl.yaml @@ -80,7 +80,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/get_ou.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/get_ou.yaml index f8b574e3b..7e4d2d36e 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/get_ou.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/get_ou.yaml @@ -78,7 +78,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/get_rdp_session.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/get_rdp_session.yaml index ac32e415e..3fbdf015e 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/get_rdp_session.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/get_rdp_session.yaml @@ -28,7 +28,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/get_session.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/get_session.yaml index 350f911e7..2d4e14715 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/get_session.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/get_session.yaml @@ -27,7 +27,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/get_site.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/get_site.yaml index ad56bdc1c..c82c94b8b 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/get_site.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/get_site.yaml @@ -78,7 +78,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/get_subnet.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/get_subnet.yaml index a3b001adb..ca7b03242 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/get_subnet.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/get_subnet.yaml @@ -82,7 +82,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/get_subnet_ranges.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/get_subnet_ranges.yaml index 05f3bd307..473673e09 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/get_subnet_ranges.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/get_subnet_ranges.yaml @@ -31,7 +31,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/get_user.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/get_user.yaml index 2c316a1bb..b984edb4c 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/get_user.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/get_user.yaml @@ -107,7 +107,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/map_domain_trust.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/map_domain_trust.yaml index b1932892a..1fe1570e6 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/map_domain_trust.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/map_domain_trust.yaml @@ -75,7 +75,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'ConvertTo-Csv -NoTypeInformation' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/process_hunter.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/process_hunter.yaml index de3fb6482..ab3465f7b 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/process_hunter.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/process_hunter.yaml @@ -125,7 +125,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/set_ad_object.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/set_ad_object.yaml index e3d3bb9e0..0abb56295 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/set_ad_object.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/set_ad_object.yaml @@ -81,7 +81,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/share_finder.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/share_finder.yaml index 61e84e17b..ccf9b5863 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/share_finder.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/share_finder.yaml @@ -86,7 +86,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/powerview/user_hunter.yaml b/empire/server/modules/powershell/situational_awareness/network/powerview/user_hunter.yaml index 485c91b8d..a2086b70d 100644 --- a/empire/server/modules/powershell/situational_awareness/network/powerview/user_hunter.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/powerview/user_hunter.yaml @@ -139,7 +139,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/reverse_dns.yaml b/empire/server/modules/powershell/situational_awareness/network/reverse_dns.yaml index a6d32076d..8d1f09853 100644 --- a/empire/server/modules/powershell/situational_awareness/network/reverse_dns.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/reverse_dns.yaml @@ -30,7 +30,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json diff --git a/empire/server/modules/powershell/situational_awareness/network/smblogin.yaml b/empire/server/modules/powershell/situational_awareness/network/smblogin.yaml index f9d582103..63d9aa648 100644 --- a/empire/server/modules/powershell/situational_awareness/network/smblogin.yaml +++ b/empire/server/modules/powershell/situational_awareness/network/smblogin.yaml @@ -46,7 +46,7 @@ options: description: PowerShell's output function to use ("Out-String", "ConvertTo-Json", "ConvertTo-Csv", "ConvertTo-Html", "ConvertTo-Xml"). required: false value: 'Out-String' - strict: true + strict: false suggested_values: - Out-String - ConvertTo-Json