<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Авторизация на сайтах с использованием WinHttpRequest]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=9381&amp;type=atom" />
	<updated>2023-05-08T19:28:04Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=9381</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Авторизация на сайтах с использованием WinHttpRequest]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=158104#p158104" />
			<content type="html"><![CDATA[<p>Но надо еще referer отправлять.<br />Больше всего меня удивляет для чего они оставили эту возможность заходить.<br />Может быть для каких-нибудь внутренних дел...</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2023-05-08T19:28:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=158104#p158104</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Авторизация на сайтах с использованием WinHttpRequest]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=158081#p158081" />
			<content type="html"><![CDATA[<p>У меня всё работает.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2023-05-07T01:11:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=158081#p158081</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Авторизация на сайтах с использованием WinHttpRequest]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=158080#p158080" />
			<content type="html"><![CDATA[<p>Возвращает буквенно-числовой код, но все равно не логинится. Пробовал прописывать в обоих случаях <strong>lg_h</strong> и <strong>lg_domain_h</strong>, так как не понял какой из них точно правильный. Указывал имейл или номер телефона и то же самое на втором аккаунте.</p>]]></content>
			<author>
				<name><![CDATA[john_dease]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42972</uri>
			</author>
			<updated>2023-05-07T00:54:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=158080#p158080</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Авторизация на сайтах с использованием WinHttpRequest]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=158079#p158079" />
			<content type="html"><![CDATA[<p>Проверьте, что вам возвращает регулярка и всё поймёте.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2023-05-07T00:01:18Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=158079#p158079</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Авторизация на сайтах с использованием WinHttpRequest]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=158078#p158078" />
			<content type="html"><![CDATA[<p>То есть, с <strong>lg_h</strong> во втором случае должно работать? У меня не работает.</p>]]></content>
			<author>
				<name><![CDATA[john_dease]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42972</uri>
			</author>
			<updated>2023-05-06T23:53:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=158078#p158078</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Авторизация на сайтах с использованием WinHttpRequest]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=158077#p158077" />
			<content type="html"><![CDATA[<p>Кстати, код из 134 поста не работает потому что:<br /></p><div class="quotebox"><blockquote><p>RegexMatch(HTTP.ResponseText, &quot;s)name=&quot;&quot;ip_h&quot;&quot; value=&quot;&quot;(.+?)&quot;&quot;.+?name=&quot;&quot;<strong>lg_h</strong>&quot;&quot; value=&quot;&quot;(.+?)&quot;&quot;&quot;, match)<br />PostData := &quot;act=login&amp;role=al_frame&amp;expire=&amp;recaptcha=&amp;captcha_sid=&amp;captcha_key=&amp;_origin=https`%3A`%2F`%2Fvk.com&amp;ip_h=&quot; match1 &quot;&amp;<strong>lg_domain_h</strong>=&quot; match2 &quot;&amp;email=&quot; email &quot;&amp;pass=&quot; password</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2023-05-06T22:10:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=158077#p158077</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Авторизация на сайтах с использованием WinHttpRequest]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157685#p157685" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>Куки должны автоматом посылаться.</p></blockquote></div><p>Да, но это, как я понимаю, в пределах использования одного объекта. Можно дополнительно сохранять их для отправки в новой сессии, тогда меньше логиниться придётся.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2023-04-18T15:41:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157685#p157685</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Авторизация на сайтах с использованием WinHttpRequest]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157683#p157683" />
			<content type="html"><![CDATA[<p>Так мы и обсуждаем, а вы только создаёте путанницу, так-как ваш пример в одну строчку не cможет залогиниться к vk.com.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2023-04-18T13:45:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157683#p157683</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Авторизация на сайтах с использованием WinHttpRequest]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157682#p157682" />
			<content type="html"><![CDATA[<p>AHK: Авторизация на сайтах с использованием WinHttpRequest<br />тут вопрос обсуждается - логин к vk.com. обсуждайте</p>]]></content>
			<author>
				<name><![CDATA[EV]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40256</uri>
			</author>
			<updated>2023-04-18T13:18:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157682#p157682</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Авторизация на сайтах с использованием WinHttpRequest]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157681#p157681" />
			<content type="html"><![CDATA[<p>Тут вопрос обсуждается - логин к vk.com.<br />Ваш основной язык русский?</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2023-04-18T13:05:55Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157681#p157681</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Авторизация на сайтах с использованием WinHttpRequest]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157680#p157680" />
			<content type="html"><![CDATA[<p>AHK: Авторизация на сайтах с использованием WinHttpRequest?</p>]]></content>
			<author>
				<name><![CDATA[EV]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40256</uri>
			</author>
			<updated>2023-04-18T13:01:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157680#p157680</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Авторизация на сайтах с использованием WinHttpRequest]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157679#p157679" />
			<content type="html"><![CDATA[<p>Что отправить, что сохранить, при чём тут рутрекер?</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2023-04-18T12:57:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157679#p157679</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Авторизация на сайтах с использованием WinHttpRequest]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157678#p157678" />
			<content type="html"><![CDATA[<p><strong>Malcev</strong><br />Сохранить и отправить, в одну строку. Вместо <br /></p><div class="codebox"><pre><code>WebRequest := ComObjCreate(&quot;WinHttp.WinHttpRequest.5.1&quot;)
WebRequest.Open(&quot;POST&quot;, url)
WebRequest.SetRequestHeader(&quot;Content-Type&quot;,&quot;application/x-www-form-urlencoded&quot;)
WebRequest.Send(loginBody)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[EV]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40256</uri>
			</author>
			<updated>2023-04-18T12:53:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157678#p157678</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Авторизация на сайтах с использованием WinHttpRequest]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157677#p157677" />
			<content type="html"><![CDATA[<p>Куки должны автоматом посылаться.<br /><a href="https://learn.microsoft.com/en-us/windows/win32/winhttp/cookie-handling-in-winhttp?redirectedfrom=MSDN">https://learn.microsoft.com/en-us/windo … dfrom=MSDN</a></p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2023-04-18T12:40:18Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157677#p157677</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Авторизация на сайтах с использованием WinHttpRequest]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157676#p157676" />
			<content type="html"><![CDATA[<p>Да, я бы добавил User-Agent и отправку куков.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2023-04-18T12:37:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157676#p157676</id>
		</entry>
</feed>
