diff --git a/atomics/Indexes/index.yaml b/atomics/Indexes/index.yaml index a06fe771..b1923465 100644 --- a/atomics/Indexes/index.yaml +++ b/atomics/Indexes/index.yaml @@ -46922,15 +46922,10 @@ discovery: Upon execution, avalaible network shares will be displayed in the powershell session supported_platforms: - windows - input_arguments: - computer_name: - description: Computer name to find a mount on. - type: string - default: localhost executor: - command: | - net view \\#{computer_name} - get-smbshare -Name #{computer_name} + command: 'get-smbshare + +' name: powershell - name: View available share drives auto_generated_guid: ab39a04f-0c93-4540-9ff2-83f862c385ae diff --git a/atomics/T1135/T1135.md b/atomics/T1135/T1135.md index 85ffad98..2170b0ed 100644 --- a/atomics/T1135/T1135.md +++ b/atomics/T1135/T1135.md @@ -89,18 +89,12 @@ Upon execution, avalaible network shares will be displayed in the powershell ses -#### Inputs: -| Name | Description | Type | Default Value | -|------|-------------|------|---------------| -| computer_name | Computer name to find a mount on. | string | localhost| - #### Attack Commands: Run with `powershell`! ```powershell -net view \\#{computer_name} -get-smbshare -Name #{computer_name} +get-smbshare ```