Generate docs from job=generate_and_commit_guids_and_docs branch=master [skip ci]
This commit is contained in:
parent
678d9c5444
commit
2ecb4a4f84
@@ -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
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user