<?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=9989&amp;type=atom" />
	<updated>2018-06-17T14:38:58Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=9989</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Включение прокси сервера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=126103#p126103" />
			<content type="html"><![CDATA[<p>Winhttprequest не использует настройки IE.<br />Вы Winhttprequest перенаправляете в privoxy, а в нем уже можно вроде автоматизировать выдачу прокси.<br />Сам я не пробовал. Нужно читать документацию.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-06-17T14:38:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=126103#p126103</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Включение прокси сервера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=126102#p126102" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><div class="quotebox"><cite>777graf777 пишет:</cite><blockquote><p>программа работает запросами, не использует internet explorer</p></blockquote></div><p>Тогда спрашивайте у авторов программы.<br />Если хотите в несколько потоков работать - пробуйте winhttprequest + мост, типа Privoxy.</p></blockquote></div><p>в том то и дело, что я сам автор программы. используя privoxy&nbsp; я не смогу ведь менять айпи автоматизированно? или это тоже можно делать через реестр?</p>]]></content>
			<author>
				<name><![CDATA[777graf777]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39122</uri>
			</author>
			<updated>2018-06-17T14:27:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=126102#p126102</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Включение прокси сервера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=126101#p126101" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>777graf777 пишет:</cite><blockquote><p>программа работает запросами, не использует internet explorer</p></blockquote></div><p>Тогда спрашивайте у авторов программы.<br />Если хотите в несколько потоков работать - пробуйте winhttprequest + мост, типа Privoxy.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-06-17T14:20:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=126101#p126101</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Включение прокси сервера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=126100#p126100" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>Насчет сервера не пробовал.<br />Лень повторно писать, в этой теме всё расписано.<br />В 20 соообщении - как вписать прокси через реестр и обновить IE.<br />Что именно писать вы можете посмотреть сами изменив в IE настройки socks прокси и посмотрев, что написано в реестре.<br />А Msxml2.XMLHTTP берет настройки с IE.</p></blockquote></div><p>там только&nbsp; в один поток получится что можно работать, а мне хотелось бы сделать чтобы каждый поток работал со своим ip. программа работает запросами, не использует internet explorer</p>]]></content>
			<author>
				<name><![CDATA[777graf777]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39122</uri>
			</author>
			<updated>2018-06-17T14:02:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=126100#p126100</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Включение прокси сервера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=126097#p126097" />
			<content type="html"><![CDATA[<p>Насчет сервера не пробовал.<br />Лень повторно писать, в этой теме всё расписано.<br />В 20 соообщении - как вписать прокси через реестр и обновить IE.<br />Что именно писать вы можете посмотреть сами изменив в IE настройки socks прокси и посмотрев, что написано в реестре.<br />А Msxml2.XMLHTTP берет настройки с IE.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-06-17T12:48:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=126097#p126097</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Включение прокси сервера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=126096#p126096" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>WinHttpRequest, не работает с Socks proxy.<br />Если нужен socks4 используйте Msxml2.XMLHTTP либо wininet.<br />Если выше, то можно через мост, типа Privoxy.</p></blockquote></div><p>попробовал MSXML2.ServerXMLHTTP, не получается подключить socks. Или нужно использовать именно Msxml2.XMLHTTP? Либо я их неправильно подключаю. Будьте добры, черканите команду как ahk поженить с socks</p>]]></content>
			<author>
				<name><![CDATA[777graf777]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39122</uri>
			</author>
			<updated>2018-06-17T12:24:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=126096#p126096</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Включение прокси сервера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=126091#p126091" />
			<content type="html"><![CDATA[<p>WinHttpRequest, не работает с Socks proxy.<br />Если нужен socks4 используйте Msxml2.XMLHTTP либо wininet.<br />Если выше, то можно через мост, типа Privoxy.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-06-17T03:10:53Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=126091#p126091</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Включение прокси сервера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=126089#p126089" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>HttpObj.SetProxy(2, &quot;YourProxy&quot;)</p></blockquote></div><p>такая конструкция поддерживает только HTTP/HTTPS, а как использовать Socks proxy?</p>]]></content>
			<author>
				<name><![CDATA[777graf777]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39122</uri>
			</author>
			<updated>2018-06-16T21:36:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=126089#p126089</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Включение прокси сервера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=110514#p110514" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>А вот Msxml2.XMLHTTP читает.</p></blockquote></div><p>Ага, этот работает.<br /></p><div class="codebox"><pre><code>GetPublicIP() {
    HttpObj := ComObjCreate(&quot;Msxml2.XMLHTTP&quot;)
	Url = https://2ip.ru/ 
    HttpObj.Open(&quot;GET&quot;, Url, 1)
    HttpObj.Send()
	While HttpObj.readyState != 4
		Sleep 100
	RegexMatch(HttpObj.responseText,&quot;Ваш IP адрес:.*&gt;([\d\.]+)&lt;/big&gt;&quot;, match)  
    Return match1
}</code></pre></div><div class="quotebox"><blockquote><p>Минусы прокси-серверов:<br />***<br />необходимость настройки прокси-сервера для каждого приложения либо использование отдельных программ-соксификаторов, например, Proxifier.</p></blockquote></div><p>Вообщем что прокси не для всех программ (соединений), то есть для каждого приложения надо настраивать каким то своим путём, одному в реестр записать, а другому неизвестно что и куда...</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2017-01-04T14:46:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=110514#p110514</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Включение прокси сервера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=110513#p110513" />
			<content type="html"><![CDATA[<p>WinHttp.WinHttpRequest.5.1 не читает настроек IE.<br />Ему нужно отдельно прописывать:<br /></p><div class="codebox"><pre><code>HttpObj.SetProxy(2, &quot;YourProxy&quot;)</code></pre></div><p>А вот Msxml2.XMLHTTP читает.<br />Вот неплохой ликбез:<br /><a href="https://habrahabr.ru/post/190396/">https://habrahabr.ru/post/190396/</a></p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2017-01-04T14:12:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=110513#p110513</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Включение прокси сервера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=110512#p110512" />
			<content type="html"><![CDATA[<p>Кстати не подскажешь как лучше проверить прокси, через браузер например на 2ip.ru определяет новый айпи, а этот код в тоже время возвращает старый:<br /></p><div class="codebox"><pre><code>MsgBox % GetPublicIP()

GetPublicIP() {
    HttpObj := ComObjCreate(&quot;WinHttp.WinHttpRequest.5.1&quot;)
	Url = https://2ip.ru/ 
    HttpObj.Open(&quot;GET&quot;, Url) 
    HttpObj.Send()
    RegexMatch(HttpObj.ResponseText,&quot;Ваш IP адрес:.*&gt;([\d\.]+)&lt;/big&gt;&quot;, match)  
    Return match1
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2017-01-04T13:52:09Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=110512#p110512</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Включение прокси сервера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=110510#p110510" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>Наверное у тебя не стоит галочка use the same proxy for all protocols.</p></blockquote></div><p>Да, сделал, работает.</p><div class="codebox"><pre><code>http=%ip%;https=%ip%;socks=%ip%</code></pre></div><p>С галочкой вроде socks не устанавливаются.</p><div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>Через реестр наверное можно.</p></blockquote></div><p>Спасибо, будет полезно. <br />Видел некоторые проги вроде дают назначить прокси по процессу. Видимо определяют на каких портах сидит процесс, типа netstat, и как то их перенаправляют...</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2017-01-04T13:35:12Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=110510#p110510</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Включение прокси сервера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=110508#p110508" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>оказалось у меня к IP требуется добавлять тип</p></blockquote></div><p>Наверное у тебя не стоит галочка use the same proxy for all protocols.<br /><span class="postimg"><img src="http://lh3.ggpht.com/-qVOPbeQ4yN8/TzyUcRUJMBI/AAAAAAAAFzU/7zSzPdgrR74/How-To-Individually-Change-Proxy-Server-For-Different-Internet-Browser-%252526-How-To-Get-Free-Proxy--%252528Chrome-Internet-Explorer-Safari%252529-1-%2525283%252529%25255B2%25255D.png?imgmax=800" alt="http://lh3.ggpht.com/-qVOPbeQ4yN8/TzyUcRUJMBI/AAAAAAAAFzU/7zSzPdgrR74/How-To-Individually-Change-Proxy-Server-For-Different-Internet-Browser-%252526-How-To-Get-Free-Proxy--%252528Chrome-Internet-Explorer-Safari%252529-1-%2525283%252529%25255B2%25255D.png?imgmax=800" /></span><br /></p><div class="quotebox"><blockquote><p>А не пробовал прокси отдельно для копии IE (ком объекта), и Скайпа?</p></blockquote></div><p>Через реестр наверное можно.<br />Надо создать ветвь:<br /></p><div class="codebox"><pre><code>HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Skype\Phone</code></pre></div><p>И изменять параметры ProxySetting, ProxyAddress.<br />26 стр.<br /><a href="https://download.skype.com/share/business/guides/skype-it-administrators-guide.pdf">https://download.skype.com/share/busine … -guide.pdf</a></p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2017-01-04T13:04:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=110508#p110508</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Включение прокси сервера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=110490#p110490" />
			<content type="html"><![CDATA[<p>Нет, оказалось у меня к IP требуется добавлять тип </p><div class="codebox"><pre><code>https=108.166.171.198:80</code></pre></div><p>, или у меня какой настройки авто определения типа не хватает?</p><p>А не пробовал прокси отдельно для копии IE (ком объекта), и Скайпа?</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2017-01-04T06:05:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=110490#p110490</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Включение прокси сервера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=110482#p110482" />
			<content type="html"><![CDATA[<p>У меня код с 20 поста в IE работает.<br />Может прокси нерабочие?</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2017-01-04T00:24:33Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=110482#p110482</id>
		</entry>
</feed>
