This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
readonly HttpToSocks5Proxy Socks5Proxy = new HttpToSocks5Proxy("proxyAddress", 1080); | |
TcpClient TcpOverSocks5ClientConnectionHandler(string address, int port) | |
{ | |
string connectMessage = string.Format( | |
"CONNECT {0} HTTP/1.1\r\nHost: {0}\r\n\r\n", | |
address + ":" + port); | |
byte[] connectMessageBytes = Encoding.UTF8.GetBytes(connectMessage); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------------------------------------------------------------------------------------------- | |
-- LGS_script_template.lua | |
--------------------------------------------------------------------------------------------- | |
-- Version: 2019-04-19 | |
-- Author: Egor Skriptunoff | |
-- | |
-- | |
-- This is a template for "Logitech Gaming Software" script file. | |
-- Four useful features are implemented here: | |
-- |