Skip to content

Commit 12d1d21

Browse files
author
demotedC0der
committed
updated
1 parent 74a2276 commit 12d1d21

File tree

54 files changed

+3171
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+3171
-0
lines changed

.vs/OutProxy (Scraper)/v15/.suo

72 KB
Binary file not shown.

.vs/OutProxy (Scraper)/v15/Server/sqlite3/db.lock

Whitespace-only changes.
Binary file not shown.

OutProxy (Scraper).sln

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.28307.960
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OutProxy (Scraper)", "OutProxy (Scraper)\OutProxy (Scraper).csproj", "{79C3D1DC-0DB6-48F9-8B0C-28B66B00A1AB}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{79C3D1DC-0DB6-48F9-8B0C-28B66B00A1AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{79C3D1DC-0DB6-48F9-8B0C-28B66B00A1AB}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{79C3D1DC-0DB6-48F9-8B0C-28B66B00A1AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{79C3D1DC-0DB6-48F9-8B0C-28B66B00A1AB}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {2354EB47-3400-42FF-93A6-FBC5B63DC99F}
24+
EndGlobalSection
25+
EndGlobal

OutProxy (Scraper)/App.config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>
5+
</startup>
6+
</configuration>

OutProxy (Scraper)/Form1.Designer.cs

Lines changed: 203 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

OutProxy (Scraper)/Form1.cs

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
using System;
2+
using System.IO;
3+
using System.Net;
4+
using System.Windows.Forms;
5+
6+
namespace OutProxy__Scraper_
7+
{
8+
public partial class Form1 : Form
9+
{
10+
11+
12+
int MouseinX = 0, MouseinY = 0;
13+
int MouseX = 0, MouseY = 0;
14+
bool mouseDown;
15+
16+
17+
public Form1()
18+
{
19+
InitializeComponent();
20+
}
21+
22+
private void Form1_Load(object sender, EventArgs e)
23+
{
24+
25+
}
26+
27+
private void Label1_Click(object sender, EventArgs e)
28+
{
29+
Application.Exit();
30+
31+
}
32+
33+
private void Label2_Click(object sender, EventArgs e)
34+
{
35+
this.WindowState = FormWindowState.Minimized;
36+
}
37+
38+
private void Panel2_MouseMove(object sender, MouseEventArgs e)
39+
{
40+
if (mouseDown)
41+
{
42+
MouseX = MousePosition.X - MouseinX;
43+
MouseY = MousePosition.Y - MouseinY;
44+
45+
this.SetDesktopLocation(MouseX, MouseY);
46+
}
47+
}
48+
49+
private void Panel2_MouseUp(object sender, MouseEventArgs e)
50+
{
51+
mouseDown = false;
52+
53+
}
54+
55+
private void CheckBox1_CheckedChanged(object sender, EventArgs e)
56+
{
57+
58+
}
59+
60+
private void CheckBox2_CheckedChanged(object sender, EventArgs e)
61+
{
62+
63+
}
64+
65+
private void Button1_Click(object sender, EventArgs e)
66+
{
67+
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;
68+
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
69+
ServicePointManager.ServerCertificateValidationCallback = (snder, cert, chain, error) => true;
70+
if (CheckBox1.Checked)
71+
{
72+
Directory.CreateDirectory("Scraped Proxies");
73+
string contents = new WebClient().DownloadString("https://api.proxyscrape.com?request=displayproxies&proxytype=http&ssl=no");
74+
Console.WriteLine(contents);
75+
System.IO.File.WriteAllText("Scraped Proxies\\HTTP Proxies.txt", contents);
76+
MessageBox.Show("Done! ");
77+
Console.ReadLine();
78+
}
79+
if(CheckBox2.Checked)
80+
{
81+
Directory.CreateDirectory("Scraped Proxies");
82+
string contents = new WebClient().DownloadString("https://api.proxyscrape.com?request=displayproxies&proxytype=http&ssl=yes");
83+
Console.WriteLine(contents);
84+
System.IO.File.WriteAllText("Scraped Proxies\\HTTP (SSL) Proxies.txt", contents);
85+
MessageBox.Show("Done! ");
86+
Console.ReadLine();
87+
}
88+
if (CheckBox3.Checked)
89+
{
90+
Directory.CreateDirectory("Scraped Proxies");
91+
string contents = new WebClient().DownloadString("https://api.proxyscrape.com?request=displayproxies&proxytype=socks4");
92+
Console.WriteLine(contents);
93+
System.IO.File.WriteAllText("Scraped Proxies\\Socks 4 Proxies.txt", contents);
94+
MessageBox.Show("Done! ");
95+
Console.ReadLine();
96+
}
97+
if(CheckBox4.Checked)
98+
{
99+
Directory.CreateDirectory("Scraped Proxies");
100+
string contents = new WebClient().DownloadString("https://api.proxyscrape.com?request=displayproxies&proxytype=socks5");
101+
Console.WriteLine(contents);
102+
System.IO.File.WriteAllText("Scraped Proxies\\Socks 5 Proxies.txt", contents);
103+
MessageBox.Show("Done! ");
104+
Console.ReadLine();
105+
106+
}
107+
108+
else if(!CheckBox4.Checked && !CheckBox3.Checked && !CheckBox2.Checked && !CheckBox1.Checked)
109+
{
110+
MessageBox.Show("Error");
111+
112+
}
113+
114+
115+
}
116+
117+
private void CheckBox3_CheckedChanged(object sender, EventArgs e)
118+
{
119+
120+
}
121+
122+
private void CheckBox4_CheckedChanged(object sender, EventArgs e)
123+
{
124+
125+
}
126+
127+
private void Panel1_Paint(object sender, PaintEventArgs e)
128+
{
129+
130+
}
131+
132+
private void Panel2_MouseDown(object sender, MouseEventArgs e)
133+
{
134+
mouseDown = true;
135+
MouseinX = MousePosition.X - Bounds.X;
136+
MouseinY = MousePosition.Y - Bounds.Y;
137+
138+
}
139+
}
140+
}

0 commit comments

Comments
 (0)