Вверх ↑
Ответов: 21
Рейтинг: 0
#1: 2019-12-16 18:16:31 ЛС | профиль | цитата
Подскажите пожалуйста, что я делаю не так? (Необходима авторизация)(Извиняюсь за посторонний сайт)

Add(MainForm,2953706,21,105)
{
Width=376
}
Add(MultiElement,4324847,231,77)
{
link(Data1,7156572:Text,[(237,72)(223,72)])
link(Data2,8867859:Text,[(244,72)(258,72)])
}
BEGIN_SDK
Add(EditMulti,12968705,21,21)
{
WorkCount=1
DataCount=2
VarCount=1
link(doWork1,942016:doEvent1,[(64,27)(64,72)])
link(Var1,3825484:Result,[(27,193)(137,193)])
}
Add(StrCat,5500783,131,66)
{
Str1="name="
link(Str2,12968705:Data1,[(144,44)(27,44)])
}
Add(StrCat,15655964,166,94)
{
Str1="password="
link(onStrCat,15387616:In,[])
link(Str2,12968705:Data2,[(179,58)(34,58)])
}
Add(Hub,942016,107,66)
{
link(onEvent1,5500783:doStrCat,[])
link(onEvent2,15655964:doStrCat,[(128,79)(128,100)])
}
Add(StrCatDelim,3825484,131,133)
{
Delimiter="&"
link(Str1,5500783:Result,[])
link(Str2,15655964:Result,[(144,129)(172,129)])
}
Add(LineBreak,8770164,90,133)
{
Caption="SC1"
link(Out,3825484:doStrCatDlm,[])
Primary=[15387616,120,-39]
}
END_SDK
Add(Button,4749496,21,56)
{
Left=5
Top=65
link(onClick,6887516:doEvent1,[])
}
Add(Edit,7156572,217,35)
{
Left=10
Top=10
Text="Имя"
}
Add(Edit,8867859,252,35)
{
Left=10
Top=35
Text="Пароль"
}
Add(HTTP_PostBuilder,2851490,231,119)
{
URL="http://mpets.mobi/login"
Host="mpets.mobi"
Referer="mpets.mobi"
Point(Referer)
link(onBuild,12060081:doLoadString,[])
link(Content,4324847:Var1,[])
}
Add(Hub,6887516,63,56)
{
link(onEvent1,4324847:doWork1,[(103,62)(103,83)])
link(onEvent2,15758960:doLoadString,[(95,69)(95,125)])
}
Add(HTTPClient,12060081,280,119)
{
Method=1
Referer="mpets.mobi"
EncType=1
Decompress=1
CookieManager="1"
Point(RawHeaders)
Point(Referer)
link(onHeadersAvail,11056905:doData,[])
link(Referer,15141087:getVar,[])
}
Add(RichEdit,8885747,378,119)
{
Left=65
Top=10
Width=280
Height=230
ScrollBars=2
}
Add(DoData,11056905,329,119)
{
link(onEventData,8885747:doAdd,[])
link(Data,6469280:Var,[])
}
Add(LineBreak,15685041,294,162)
{
Caption="RHA"
Type=1
link(Data,12060081:RawHeaders,[])
Primary=[6469280,35,-70]
}
Add(CookieManager,15193226,21,14)
{
Name="1"
}
Add(LineBreakEx,15141087,294,77)
{
Caption="URLA"
Type=2
}
Add(LineBreakEx,4951211,119,161)
{
Caption="URLA"
Type=3
link(_Data,15758960:CurrentURL,[])
}
Add(HTTPClient,15758960,105,119)
{
URL="mpets.mobi"
CookieManager="1"
Point(CurrentURL)
link(onHeadersAvail,2603293:doEvent1,[])
}
Add(Memo,4758772,182,119)
{
Left=700
Top=375
link(onChange,2851490:doBuild,[])
}
Add(Hub,2603293,152,119)
{
link(onEvent1,4758772:doAdd,[])
link(onEvent2,4758772:doClear,[])
}

карма: 0

0