OP 16 August, 2021 - 07:15 PM
(This post was last modified: 04 August, 2024 - 08:21 PM by sfouh123asdA. Edited 1 time in total.)
Enjoy, wrote this for someone & just decided to make it public. Nothing special, add your API's or github repos as you please.
DON'T FORGET TO LIKE!
Code:
using System;
using System.Net;
namespace proxytoolforant
{
class Program
{
static void Main(string[] args)
{
Console.Title = "Proxy Tool";
Console.Write("[1] HTTP\n");
Console.Write("[2] HTTPS\n");
Console.Write("[3] SOCKS4\n");
Console.Write("[4] SOCKS5\n\n");
Console.Write("Choose an option: ");
string proxy_type = Console.ReadLine();
if (proxy_type.Contains("1"))
{
WebClient HTTPProxy = new WebClient();
HTTPProxy.DownloadFile("https://raw.githubusercontent.com/ShiftyTR/Proxy-List/master/http.txt", "http.txt");
HTTPProxy.DownloadFile("", "");
Environment.Exit(0);
}
if (proxy_type.Contains("2"))
{
WebClient HTTPSProxy = new WebClient();
HTTPSProxy.DownloadFile("https://raw.githubusercontent.com/ShiftyTR/Proxy-List/master/https.txt", "https.txt");
Environment.Exit(0);
}
if (proxy_type.Contains("3"))
{
WebClient SOCKS4PROXY = new WebClient();
SOCKS4PROXY.DownloadFile("https://raw.githubusercontent.com/ShiftyTR/Proxy-List/master/socks4.txt", "socks4.txt");
Environment.Exit(0);
}
if (proxy_type.Contains("4"))
{
WebClient SOCKS5PROXY = new WebClient();
SOCKS5PROXY.DownloadFile("https://raw.githubusercontent.com/ShiftyTR/Proxy-List/master/socks5.txt", "socks5.txt");
Environment.Exit(0);
}
}
}
}
DON'T FORGET TO LIKE!