Skip to content
Snippets Groups Projects
Commit 955b54c6 authored by Anders Slaaen's avatar Anders Slaaen
Browse files

n

parent 58b82efb
No related branches found
No related tags found
No related merge requests found
...@@ -36,10 +36,14 @@ if( !(Test-Path -Path "C:\flag.txt")) { ...@@ -36,10 +36,14 @@ if( !(Test-Path -Path "C:\flag.txt")) {
do { do {
try{ try{
<RDPMembers> # Adds users to the rdp member group <RDPMembers> # Adds users to the rdp member group
} catch{ } catch{
$added = $false $added = $false
$i = $i+1 $i = $i+1
} }
} while($i -lt 10) } while($i -lt 10)
$Newwork = New-Object -ComObject "Wscript.Network"
$Network.MapNetWorkDrive("S:", "\\192.168.0.2\share")
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment