1.
Add(MainForm,14189840,182,203)
{
Width=874
Height=471
Color=-16777204
Caption="Windows Authenticate"
BorderStyle=3
Position=1
}
Add(Button,2266488,245,203)
{
Left=5
Top=10
Width=105
Caption="Получить JSON"
link(onClick,4794102:doString,[])
}
Add(Memo,2538246,489,203)
{
Left=4
Top=40
Width=860
Height=400
Color=-16777201
Ctl3D=1
ScrollBars=3
}
Add(WinExec,11401622,364,189)
{
FileName="powershell"
Mode=0
Action="runas"
Point(doConsoleExec)
Point(onConsoleResult)
Point(onConsoleError)
link(onConsoleResult,9340663:doWork2,[])
link(onConsoleError,9340663:doWork3,[(410,216)])
}
Add(FormatStr,4794102,301,203)
{
DataCount=1
Mask="$cred = Get-Credential\r\nInvoke-WebRequest -Uri '%1' -Credential $cred\r\n\r\n"
link(onFString,11401622:doConsoleExec,[])
link(Str1,817807:Text,[])
}
Add(HubEx,9340663,406,203)
{
link(onEvent,13018108:doCharset,[])
}
Add(VisualStrings,817807,301,133)
{
Lines=#35:https://сервер:9443/auth/nego/token|
Width=242
}
Add(Charset,13018108,427,203)
{
link(onCharset,2538246:doAdd,[])
}
Add(MainForm,14189840,196,168)
{
Width=874
Height=471
Color=-16777204
Caption="Windows Authenticate"
BorderStyle=3
Position=1
}
Add(Button,2266488,259,168)
{
Left=5
Top=10
Width=105
Caption="Получить JSON"
link(onClick,4794102:doString,[])
}
Add(Memo,2538246,503,168)
{
Left=4
Top=40
Width=860
Height=400
Color=-16777201
Ctl3D=1
ScrollBars=3
}
Add(WinExec,11401622,378,154)
{
FileName="powershell"
Mode=0
Action="runas"
Point(doConsoleExec)
Point(onConsoleResult)
Point(onConsoleError)
link(onConsoleResult,9340663:doWork2,[])
link(onConsoleError,9340663:doWork3,[(424,181)])
}
Add(FormatStr,4794102,315,168)
{
DataCount=1
Mask="$wc = New-Object System.Net.WebClient\r\n$wc.UseDefaultCredentials = $true\r\n$wc.DownloadString('%1')\r\n\r\n"
link(onFString,11401622:doConsoleExec,[])
link(Str1,9583259:Text,[])
}
Add(HubEx,9340663,420,168)
{
link(onEvent,13018108:doCharset,[])
}
Add(Charset,13018108,441,168)
{
link(onCharset,2538246:doAdd,[])
}
Add(VisualStrings,9583259,315,112)
{
Lines=#35:https://сервер:9443/auth/nego/token|
Width=242
}