<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Как быстро и незаметно обмениваться информацией в локальной сети?]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=10559&amp;type=atom" />
	<updated>2023-04-27T22:53:07Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=10559</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как быстро и незаметно обмениваться информацией в локальной сети?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157951#p157951" />
			<content type="html"><![CDATA[<p>С кодом по ссылке проще получается: <a href="http://forum.script-coding.com/viewtopic.php?pid=156731#p156731">http://forum.script-coding.com/viewtopi … 31#p156731</a>.</p>]]></content>
			<author>
				<name><![CDATA[john_dease]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42972</uri>
			</author>
			<updated>2023-04-27T22:53:07Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157951#p157951</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как быстро и незаметно обмениваться информацией в локальной сети?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157936#p157936" />
			<content type="html"><![CDATA[<p>Этого делать не нужно.<br />Точно также, как не нужно использовать данный код в продакшене.<br />Если вам тяжело разбираться в гет-пост запросах, переходите на пайтон - там куча готовых библиотек.<br />Или читайте алгоритм и переносите на ахк.<br />Например:<br /><a href="https://github.com/mxrch/GitFive/blob/178b69687c20f2b4d86fd7a66bba11e1f33e443f/gitfive/lib/objects.py#L187">https://github.com/mxrch/GitFive/blob/1 … ts.py#L187</a></p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2023-04-26T11:38:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157936#p157936</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как быстро и незаметно обмениваться информацией в локальной сети?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157935#p157935" />
			<content type="html"><![CDATA[<p>Чтоб наверняка - неизвестно же, какого может недоставать.</p>]]></content>
			<author>
				<name><![CDATA[john_dease]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42972</uri>
			</author>
			<updated>2023-04-26T11:34:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157935#p157935</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как быстро и незаметно обмениваться информацией в локальной сети?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157934#p157934" />
			<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-26T11:31:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157934#p157934</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как быстро и незаметно обмениваться информацией в локальной сети?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157933#p157933" />
			<content type="html"><![CDATA[<p>Добавил после логина - тоже не помогает:<br /></p><div class="codebox"><pre><code>RTxt := HTTP.ResponseText
if InStr(RTxt, &quot;Device verification&quot;) {
   InputBox, verification, Github device verification, Введите код подтверждения`, пришедший на почту,,380,150
   If ErrorLevel
      Exit
   Else {

   loop
   {
      HTTP.Open(&quot;POST&quot;, &quot;https://github.com/sessions/verified-device&quot;, true)
      HTTP.SetRequestHeader(&quot;User-Agent&quot;, &quot;Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36&quot;)
      HTTP.SetRequestHeader(&quot;Pragma&quot;, &quot;no-cache&quot;)
      HTTP.SetRequestHeader(&quot;Cache-Control&quot;, &quot;no-cache, no-store&quot;)
      HTTP.SetRequestHeader(&quot;If-Modified-Since&quot;, &quot;Sat, 1 Jan 2000 00:00:00 GMT&quot;)
      ;HTTP.SetRequestHeader(&quot;Content-Type&quot;, &quot;application/json&quot;)
      HTTP.SetRequestHeader(&quot;path&quot;, &quot;/sessions/verified-device&quot;)
      HTTP.SetRequestHeader(&quot;scheme&quot;, &quot;https&quot;)
      HTTP.SetRequestHeader(&quot;accept&quot;, &quot;text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9&quot;)
      ;HTTP.SetRequestHeader(&quot;accept-encoding&quot;, &quot;gzip, deflate, br&quot;)
      HTTP.SetRequestHeader(&quot;accept-language&quot;, &quot;ru-RU,ru;q=0.9&quot;)
      HTTP.SetRequestHeader(&quot;cache-control&quot;, &quot;max-age=0&quot;)
      HTTP.SetRequestHeader(&quot;origin&quot;, &quot;https://github.com&quot;)
      HTTP.SetRequestHeader(&quot;referer&quot;, &quot;https://github.com/sessions/verified-device&quot;)
      HTTP.SetRequestHeader(&quot;sec-ch-ua&quot;, &quot;&quot;&quot; Not A;Brand&quot;&quot;;v=&quot;&quot;99&quot;&quot;, &quot;&quot;Chromium&quot;&quot;;v=&quot;&quot;102&quot;&quot;&quot;)
      HTTP.SetRequestHeader(&quot;sec-ch-ua-mobile&quot;, &quot;?0&quot;)
      HTTP.SetRequestHeader(&quot;sec-ch-ua-platform&quot;, &quot;&quot;&quot;Windows&quot;&quot;&quot;)
      HTTP.SetRequestHeader(&quot;sec-fetch-dest&quot;, &quot;document&quot;)
      HTTP.SetRequestHeader(&quot;sec-fetch-mode&quot;, &quot;navigate&quot;)
      HTTP.SetRequestHeader(&quot;sec-fetch-site&quot;, &quot;same-origin&quot;)
      HTTP.SetRequestHeader(&quot;sec-fetch-user&quot;, &quot;?1&quot;)
      HTTP.SetRequestHeader(&quot;upgrade-insecure-requests&quot;, &quot;1&quot;)

      HTTP.Send(&quot;authenticity_token=&quot; . match1 . &quot;&amp;otp=&quot; . verification)
      try {
         HTTP.WaitForResponse()
         ;if (HTTP.ResponseText != &quot;&quot;)
         break
      }
      catch {
         sleep 5000
      }
   }
   }
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[john_dease]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42972</uri>
			</author>
			<updated>2023-04-26T11:28:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157933#p157933</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как быстро и незаметно обмениваться информацией в локальной сети?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157932#p157932" />
			<content type="html"><![CDATA[<p>Не знаю.<br />У меня такого не приходит.<br />Смотрите, что отправляется в броузере при запросе о подтверждении и тоже самое сделайте в скрипте.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2023-04-26T10:58:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157932#p157932</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как быстро и незаметно обмениваться информацией в локальной сети?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157931#p157931" />
			<content type="html"><![CDATA[<p>Точнее: в браузере надо будет подтвердить уже другой код - не тот, что пришел в скрипте.</p>]]></content>
			<author>
				<name><![CDATA[john_dease]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42972</uri>
			</author>
			<updated>2023-04-26T10:51:30Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157931#p157931</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как быстро и незаметно обмениваться информацией в локальной сети?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157930#p157930" />
			<content type="html"><![CDATA[<p>А как его подтвердить через скрипт? Если подтвердить в браузере - то в браузере я войду, но не через скрипт.</p>]]></content>
			<author>
				<name><![CDATA[john_dease]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42972</uri>
			</author>
			<updated>2023-04-26T10:50:07Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157930#p157930</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как быстро и незаметно обмениваться информацией в локальной сети?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157929#p157929" />
			<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-26T10:47:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157929#p157929</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как быстро и незаметно обмениваться информацией в локальной сети?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157928#p157928" />
			<content type="html"><![CDATA[<p>Открыл страницу после логина - там просят подтвердить код из имейла &quot;Device Verification Code&quot;.</p>]]></content>
			<author>
				<name><![CDATA[john_dease]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42972</uri>
			</author>
			<updated>2023-04-26T10:43:44Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157928#p157928</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как быстро и незаметно обмениваться информацией в локальной сети?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157927#p157927" />
			<content type="html"><![CDATA[<p>Значит что-то делаете не так.<br />Я не писал этот скрипт для использования конечным юзером, то есть:<br />1) Проверяйте, после выполнения логина, вы залогинены или нет.<br />2) Возможно данный гист нельзя редактировать и поэтому вас перенаправляет в логин.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2023-04-26T10:22:40Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157927#p157927</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как быстро и незаметно обмениваться информацией в локальной сети?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157926#p157926" />
			<content type="html"><![CDATA[<p>Имелось в виду, что добавлял и просто логин, и в полном виде - с данными имейла.</p>]]></content>
			<author>
				<name><![CDATA[john_dease]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42972</uri>
			</author>
			<updated>2023-04-26T10:20:00Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157926#p157926</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как быстро и незаметно обмениваться информацией в локальной сети?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157925#p157925" />
			<content type="html"><![CDATA[<p>В логин надо вписывать ваш username, а не имейл или часть имейла.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2023-04-26T09:10:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157925#p157925</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как быстро и незаметно обмениваться информацией в локальной сети?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157924#p157924" />
			<content type="html"><![CDATA[<p>Видимо, скрипт не логинится. Если сразу после метки &quot;login&quot;, вставить &quot;msgbox login&quot; - то скрипт после нажатия F11 снова и снова переходит к метке логина.</p>]]></content>
			<author>
				<name><![CDATA[john_dease]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42972</uri>
			</author>
			<updated>2023-04-26T08:55:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157924#p157924</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как быстро и незаметно обмениваться информацией в локальной сети?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157922#p157922" />
			<content type="html"><![CDATA[<p>А у меня никак. Оправлял в секретный гист, в несекретный, менял аккаунты, в логин добавлял &quot;@yandex.ru&quot; и без - как в прошлый раз новые записи не создаются.</p>]]></content>
			<author>
				<name><![CDATA[john_dease]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42972</uri>
			</author>
			<updated>2023-04-26T08:12:23Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157922#p157922</id>
		</entry>
</feed>
