1. Molen07.05.2025 в 17:28от
  2. w4407.05.2025 в 16:20от
Загрузка...

[Source code] Граббер проксей с hideme и best

Тема в разделе "С/С++/Pascal/Delphi", создана пользователем ThepWs, 24.06.2014.

  1. ThepWs

    ThepWs

    Статус:
    Оффлайн
    Регистрация:
    18.03.14
    Сообщения:
    92
    Репутация:
    26 +/-
    Код:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using System.Text.RegularExpressions;
    using ViKing.Engine;
    using ViKing.Engine.Mail;
    using ViKing.Engine.GUI;
    
    namespace Brute
    {
        public partial class Form1 : Form
        {
            public Form1()
            {
                InitializeComponent();
            }
            private void start_Click_1(object sender, EventArgs e)
            {
                try
                {
                    string time = DateTime.Now.ToString("HH_mm");
                    if (hideme.Checked)
                    {
                        string response = Convert.ToString(VkRequest.Request(@"https://hideme.ru/login", "c=" + keybox.Text, XML: true, method: "POST", additionalHeaders: new HTTPHeaderItem("User-Agent", "Mozilla/5.0 (Windows NT 6.1; rv:19.0; WUID=ac3c3ec05351647f1b313c773359a48d; WTB=2938) Gecko/20100101 Firefox/19.0")).Headers);
                        if (response.Contains("302 Found"))
                        {
                            string responseProxy = VkRequest.Request(@"http://hideme.ru/api/proxylist.txt?maxtime=" + time_outBox.Value + "&type=hs&out=plain&lang=ru", XML: true, method: "POST", additionalHeaders: new HTTPHeaderItem("User-Agent", "Mozilla/5.0 (Windows NT 6.1; rv:19.0; WUID=ac3c3ec05351647f1b313c773359a48d; WTB=2938) Gecko/20100101 Firefox/19.0")).Content;
                            goodsproxybox.AppendText(responseProxy);
                            System.IO.File.AppendAllText("HideMe[" + time + "].txt", responseProxy);
                            MessageBox.Show(this, "Успешно спарсили прокси.", "Прокси граббер by SuicideSilence | Xcalibur", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
                        }
                        else
                        {
                            MessageBox.Show(this, "Не верно введен премиум ключ.", "Прокси граббер by SuicideSilence | Xcalibur", MessageBoxButtons.OK, MessageBoxIcon.Stop);
                        }
                    }
                    else
                        if (bestproxy.Checked)
                        {
                            string response = VkRequest.Request(@"http://best-proxies.ru/feeds/proxylist.txt?key=" + keybox.Text + "&type=http&post=1&limit=0&response=" + time_outBox.Value).ContentUTF8;
                            if (response.Contains("Ошибка авторизации:"))
                            {
                                MessageBox.Show(this, "Не верно введен премиум ключ.", "Прокси граббер by SuicideSilence | Xcalibur", MessageBoxButtons.OK, MessageBoxIcon.Stop);
                            }
                            else
                            {
                                goodsproxybox.AppendText(response);
                                System.IO.File.AppendAllText("best-proxies[" + time + "].txt", response);
                                MessageBox.Show(this, "Успешно спарсили прокси.", "Прокси граббер by SuicideSilence | Xcalibur", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
                            }
                        }
                }
                catch
                {
                    MessageBox.Show(this, "Произошла неизвестная ошибка.", "Прокси граббер by SuicideSilence | Xcalibur", MessageBoxButtons.OK, MessageBoxIcon.Stop);
                    return;
                }
            }
        }
    }
    Если, что-то не получается - стучите в скайп, скажу как сделать. Лучше конечно, чтобы вы сами разобрались.
     
  2. monk11115

    monk11115

    Статус:
    Оффлайн
    Регистрация:
    20.10.13
    Сообщения:
    928
    Репутация:
    700 +/-
    Webmoney: 258659835800
    Ну спасибо, что ещё сказать-то,держи + за старания.